[PATCH for v3.17] v4l2-ioctl: don't set PRIV_MAGIC unconditionally in g_fmt()

2014-07-20 Thread Hans Verkuil
Regression fix: V4L2_PIX_FMT_PRIV_MAGIC should only be set for the VIDEO_CAPTURE and VIDEO_OUTPUT buffer types, and not for any others. In the case of the win format this overwrites a pointer value that is passed in from userspace. Since it is already set for the VIDEO_CAPTURE and VIDEO_OUTPUT

Re: libv4lconvert: fix RGB32 conversion

2014-07-20 Thread Hans de Goede
Hi, On 07/19/2014 03:38 PM, Hans Verkuil wrote: On 07/19/2014 02:37 PM, Hans de Goede wrote: Hi, On 07/19/2014 09:18 AM, Hans Verkuil wrote: The RGB32 formats start with an alpha byte in memory. So before calling the v4lconvert_rgb32_to_rgb24 or v4lconvert_rgb24_to_yuv420 function skip that

Re: [GIT PULL] SDR stuff

2014-07-20 Thread Antti Palosaari
On 07/18/2014 04:14 AM, Antti Palosaari wrote: * AirSpy SDR driver * all SDR drivers moved out of staging * few new SDR stream formats Added few patches more. Antti The following changes since commit 3445857b22eafb70a6ac258979e955b116bfd2c6: [media] hdpvr: fix two audio bugs (2014-07-04

[PATCH] DocBook media typo

2014-07-20 Thread Hans Verkuil
V4L2_CID_BASE_LASTP1 should be V4L2_CID_LASTP1. This has probably been wrong since the earliest days of this documentation until I did a copy-and-paste and found out that V4L2_CID_BASE_LASTP1 doesn't actually exist :-) Signed-off-by: Hans Verkuil hans.verk...@cisco.com diff --git

cron job: media_tree daily build: WARNINGS

2014-07-20 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: Mon Jul 21 04:00:21 CEST 2014 git branch: test git hash: 0ca1ba2aac5f6b26672099b13040c5b40db93486 gcc

[linuxtv-media:master 497/499] rtl2832_sdr.c:undefined reference to `__udivdi3'

2014-07-20 Thread Fengguang Wu
Hi Hans, The same error type has been reported, however these look easier to locate. tree: git://linuxtv.org/media_tree.git master head: 2181d142707a2cf5df44840ac7112ac4568b03c9 commit: 0ba2aeb6dab80920edd9cf5b93b1ea4d6913b8f3 [497/499] [media] v4l2-ctrls: increase internal min/max/step/def

[PATCH] [media] exynos-gsc: Remove PM_RUNTIME dependency

2014-07-20 Thread Shaik Ameer Basha
1] Currently Gscaler clock is enabled only inside pm_runtime callbacks. If PM_RUNTIME is disabled, driver hangs. This patch removes the PM_RUNTIME dependency by keeping the clock enable/disable functions in m2m start/stop streaming callbacks. 2] For Exynos5420/5800, Gscaler clock has to