Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-12 Thread Hans Verkuil
On 12/11/2013 03:53 PM, Wade Farnsworth wrote: Hi Hans, Hans Verkuil wrote: On 12/11/13 13:44, Mauro Carvalho Chehab wrote: Em Wed, 11 Dec 2013 12:53:55 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, On 12/11/13 11:44, Mauro Carvalho Chehab wrote: Hans, Em Wed, 11 Dec 2013

[PATCH 7/8] v4l: ti-vpe: enable CSC support for VPE

2013-12-12 Thread Archit Taneja
Use the csc library functions to configure the CSC block in VPE. Some changes are required in try_fmt to handle the pix-colorspace parameter more correctly. Previously, we copied the source queue colorspace to the destination queue colorspace as we didn't support RGB formats. Now, we configure

[PATCH 1/8] v4l: ti-vpe: create a scaler block library

2013-12-12 Thread Archit Taneja
VPE and VIP IPs in DAR7x contain a scaler(SC) sub block. Create a library which will perform scaler block related configurations and hold SC register definitions. The functions provided by this library will be called by the vpe and vip drivers using a sc_data handle. The vpe_dev holds the sc_data

[PATCH 5/8] v4l: ti-vpe: create a color space converter block library

2013-12-12 Thread Archit Taneja
VPE and VIP IPs in DAR7x contain a color space converter(CSC) sub block. Create a library which will perform CSC related configurations and hold CSC register definitions. The functions provided by this library will be called by the vpe and vip drivers using a csc_data handle. The vpe_dev holds

[PATCH 8/8] v4l: ti-vpe: Add a type specifier to describe vpdma data format type

2013-12-12 Thread Archit Taneja
The struct vpdma_data_format holds the color format depth and the data_type value needed to be programmed in the data descriptors. However, it doesn't tell what type of color format is it, i.e, whether it is RGB, YUV or Misc. This information is needed when by vpdma library when forming

[PATCH 4/8] v4l: ti-vpe: enable basic scaler support

2013-12-12 Thread Archit Taneja
Add the required SC register configurations which lets us perform linear scaling for the supported range of horizontal and vertical scaling ratios. The horizontal scaler performs polyphase scaling using it's 8 tap 32 phase filter, decimation is performed when downscaling passes beyond 2x or 4x.

[PATCH 0/8] v4l: ti-vpe: Add support for scaling and color conversion

2013-12-12 Thread Archit Taneja
The VPE and VIP IPs in DRA7x contain common scaler and color conversion hardware blocks. We create libraries for these components such that the vpe driver and the vip driver(in future) can use these library funcs to configure the blocks. There are some points for which I would like comments: -

[PATCH 3/8] v4l: ti-vpe: make vpe driver load scaler coefficients

2013-12-12 Thread Archit Taneja
Make the driver allocate dma buffers to store horizontal and scaler coeffs. Use the scaler library api to choose and copy scaler coefficients to a the above buffers based on the scaling ratio. Since the SC block comes after the de-interlacer, make sure that the source height is doubled if

[PATCH 6/8] v4l: ti-vpe: Add helper to perform color conversion

2013-12-12 Thread Archit Taneja
The CSC block can be used for color space conversion between YUV and RGB formats. It is configurable via a programmable set of coefficients. Add functionality to choose the appropriate CSC coefficients and program them in the CSC registers. We take the source and destination colorspace formats as

[RFC PATCH 0/2] Move sn9c102 and omap24xx/tcm825x to staging.

2013-12-12 Thread Hans Verkuil
This RFC patch series moves sn9c102 and omap24xx/tcm825x to staging. The sn9c102 driver has been deprecated for quite some time and most of the supported webcams are now part of gspca. Nobody has the hardware for the remaining webcams and nobody is actively maintaining this driver. Converting

[RFCv2 PATCH 2/2] omap24xx/tcm825x: move to staging for future removal.

2013-12-12 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The omap24xx driver and the tcm825x sensor driver are the only two remaining drivers to still use the old deprecated v4l2-int-device API. Nobody maintains these drivers anymore. But unfortunately the v4l2-int-device API is used by out-of-tree drivers

[RFCv2 PATCH 1/2] sn9c102: prepare for removal by moving it to staging.

2013-12-12 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com During the last media summit meeting it was decided to move this driver to staging as the first step to removing it altogether. Most webcams covered by this driver are now supported by gspca. Nobody has the hardware to convert the remaining devices to

[RFCv2 PATCH 0/2] Move sn9c102 and omap24xx/tcm825x to staging.

2013-12-12 Thread Hans Verkuil
[Repost, this time with rename-detection turned on...] This RFC patch series moves sn9c102 and omap24xx/tcm825x to staging. The sn9c102 driver has been deprecated for quite some time and most of the supported webcams are now part of gspca. Nobody has the hardware for the remaining webcams and

Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2013-12-12 Thread Hans Verkuil
Sakari asked me to reply to this old thread... On 09/06/13 13:05, Laurent Pinchart wrote: Hi Sakari, On Thursday 05 September 2013 19:31:30 Sakari Ailus wrote: On Sat, Aug 31, 2013 at 11:43:18PM +0200, Laurent Pinchart wrote: On Friday 30 August 2013 19:08:48 Sakari Ailus wrote: On Fri,

Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-12 Thread Wade Farnsworth
Hans Verkuil wrote: On 12/11/2013 03:53 PM, Wade Farnsworth wrote: Hi Hans, Hans Verkuil wrote: On 12/11/13 13:44, Mauro Carvalho Chehab wrote: Em Wed, 11 Dec 2013 12:53:55 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, On 12/11/13 11:44, Mauro Carvalho Chehab wrote: Hans,

v4l-utils-1.0.0 bug report

2013-12-12 Thread David Binderman
Hello there, I just ran the static analysis tool cppcheck over the source code of v4l-utils-1.0.0. It said many things, including 1. [rds-saa6588.c:119]: (style) Expression '(X 0x8) == 0x1' is always false. Source code is     if (1 == (b[0] 0x08)) { Maybe the programmer intended     if (0

Re: [PATCH v11 1/2] [media] exynos5-is: Adds DT binding documentation

2013-12-12 Thread Sylwester Nawrocki
Hi Arun, (Adding Mark and Mauro to Cc) On 05/11/13 12:19, Arun Kumar K wrote: From: Shaik Ameer Basha shaik.am...@samsung.com The patch adds the DT binding doc for exynos5 SoC camera subsystem. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com Signed-off-by: Arun Kumar K

FW: problems with larger raw video images

2013-12-12 Thread Brown Patrick-PMH786
Hans, My name is pat brown. I work for motorola solutions. I am using a 8 megapixel camera and the lib4vl2 library is giving me an error: libv4l2: error converting / decoding frame data: v4l-convert: error destination buffer too small (16777216 23970816) VIDIOC_DQBUF: Bad address

[PATCH RFC 0/2] V4L2 SDR stream format

2013-12-12 Thread Antti Palosaari
I think that needs device capability flag too (struct v4l2_capability) but bits on that struct are quite short. Add it after V4L2_CAP_MODULATOR ? OK, now all the API pieces seems to be there, so I am converting my existing SDR drivers to that API and make some tests. Antti Palosaari (2):

[PATCH RFC 1/2] v4l2: add stream format for SDR receiver

2013-12-12 Thread Antti Palosaari
Add new V4L2 stream format definition, named V4L2_BUF_TYPE_SDR_RX, for SDR receiver. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/trace/events/v4l2.h | 1 + include/uapi/linux/videodev2.h | 11 +++ 3 files changed,

[PATCH RFC 2/2] v4l2: enable FMT IOCTLs for SDR

2013-12-12 Thread Antti Palosaari
Enable format IOCTLs for SDR use. There are used for negotiate used data stream format. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/v4l2-core/v4l2-dev.c | 12 drivers/media/v4l2-core/v4l2-ioctl.c | 26 ++ 2 files changed, 38 insertions(+)

Re: [PATCH RFC 3/4] v4l: add new tuner types for SDR

2013-12-12 Thread Antti Palosaari
On 12.12.2013 09:50, Hans Verkuil wrote: On 12/12/2013 12:54 AM, Antti Palosaari wrote: Define tuner types V4L2_TUNER_ADC and V4L2_TUNER_SDR for SDR usage. ADC is used for setting sampling rate (sampling frequency) to SDR device. Another tuner type, SDR, is possible RF tuner. Is is used to

Re: [PATCH RFC 4/4] v4l: 1 Hz resolution flag for tuners

2013-12-12 Thread Antti Palosaari
Hi Hans! On 12.12.2013 09:55, Hans Verkuil wrote: On 12/12/2013 12:54 AM, Antti Palosaari wrote: Add V4L2_TUNER_CAP_1HZ for 1 Hz resolution. Signed-off-by: Antti Palosaari cr...@iki.fi --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH RFC 3/4] v4l: add new tuner types for SDR

2013-12-12 Thread Antti Palosaari
On 12.12.2013 19:12, Antti Palosaari wrote: On 12.12.2013 09:50, Hans Verkuil wrote: On 12/12/2013 12:54 AM, Antti Palosaari wrote: diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index bc10684..ee91a9f 100644 ---

[PATCH] it913x: Add support for Avermedia H335 id 0x0335

2013-12-12 Thread Malcolm Priestley
Signed-off-by: Malcolm Priestley tvbox...@gmail.com Cc: sta...@vger.kernel.org # v3.11+ --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb-v2/it913x.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/media/dvb-core/dvb-usb-ids.h

[PATCH 0/2] cx231xx: Small cleanups

2013-12-12 Thread Matthias Schwarzott
Hi, I am resending these patches in the hope that git send-email does keep the whitespace correct unlike Thunderbird. Regards Matthias -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 1/2] cx231xx: Add missing selects for MEDIA_SUBDRV_AUTOSELECT

2013-12-12 Thread Matthias Schwarzott
The two drivers LGDT3305 and TDA18271C2DD were not autoselected, so the cx231xx_dvb module could not be loaded when MEDIA_SUBDRV_AUTOSELECT=y. Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/2] cx231xx: fix i2c debug prints

2013-12-12 Thread Matthias Schwarzott
Do not shift the already 7bit i2c address. Print a message also for write+read transactions. For write+read, print the read buffer correctly instead of using the write buffer. Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 16 1

[PATCH] anysee: fix non-working E30 Combo Plus DVB-T

2013-12-12 Thread Antti Palosaari
PLL was attached twice to frontend0 leaving frontend1 without a tuner. frontend0 is DVB-C and frontend1 is DVB-T. Power also demods properly in order to provide gated I2C for tuner during attach. dvb-pll attaches PLL even probing fails, but correct it still... Signed-off-by: Antti Palosaari

Re: [PATCH v11 1/2] [media] exynos5-is: Adds DT binding documentation

2013-12-12 Thread Arun Kumar K
Hi Sylwester, On Thu, Dec 12, 2013 at 9:02 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi Arun, (Adding Mark and Mauro to Cc) On 05/11/13 12:19, Arun Kumar K wrote: From: Shaik Ameer Basha shaik.am...@samsung.com The patch adds the DT binding doc for exynos5 SoC camera

cron job: media_tree daily build: ERRORS

2013-12-12 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Fri Dec 13 04:00:34 CET 2013 git branch: test git hash: 989af88339db26345e23271dae1089d949c4a0f1 gcc

[PATCH v10 2/2] [media] exynos5-is: Add media device driver for exynos5 SoCs camera subsystem

2013-12-12 Thread Arun Kumar K
From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds a top level media device driver for the Exynos5 SoC series camera subsystem. The driver currently supports processing pipelines involving following IP blocks: * MIPI-CSIS MIPI CSI-2 bus front-end to the FIMC-LITE, image sensors

[PATCH v10 1/2] [media] exynos5-is: Adds DT binding documentation

2013-12-12 Thread Arun Kumar K
From: Shaik Ameer Basha shaik.am...@samsung.com The patch adds the DT binding doc for exynos5 SoC camera subsystem. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com Signed-off-by: Arun Kumar K arun...@samsung.com --- .../bindings/media/exynos5250-camera.txt | 136

[PATCH v10 0/2] Exynos5 Camera driver

2013-12-12 Thread Arun Kumar K
This is part of Exynos5 IS driver series with review comments from Mark Rutland addressed for media device driver DT binding part. Only the media driver part of the full series is included in this patchset. Changes from v9 --- - Addressed review comments from Mark Rutland

Loans

2013-12-12 Thread mrenziehausen
We offer short and long term loans to customers at a rate of 3%, i.e car loans, personal loans, business loans, etc. If you are interested in obtaining a loan from us, please contact us via this email: sigmalo...@cash4u.com Thanks for your anticipated patronage Sigma Financial -- To

[RFC PATCH 1/3] cx231xx: Add entry for wintv 930c-hd (pid=b130) with eeprom, no dvb support

2013-12-12 Thread Matthias Schwarzott
Reading eeprom works Analog is untested Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/cx231xx-avcore.c | 1 + drivers/media/usb/cx231xx/cx231xx-cards.c | 92 ++ drivers/media/usb/cx231xx/cx231xx-core.c | 3 +

[RFC PATCH 0/3] wintv hvr 930c-hd: Add limited support for DVB-C and DVB-T

2013-12-12 Thread Matthias Schwarzott
This patch series is the current state of my si2165 driver. It works on some DVB-T channels and on some DVB-C channels. Lot of stuff is missing, see patch description. Maybe the si2165 driver also works on other si2165/si2163/si2161 based cards. For DVB-C/DVB-T only cards it must be detected

[RFC PATCH 3/3] cx231xx: add wintv 930c hd dvb support

2013-12-12 Thread Matthias Schwarzott
Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/Kconfig | 1 + drivers/media/usb/cx231xx/cx231xx-cards.c | 2 +- drivers/media/usb/cx231xx/cx231xx-dvb.c | 25 + 3 files changed, 27 insertions(+), 1 deletion(-) diff --git