65efeca0 | 29-Apr-2019 |
Maciej S. Szmigiero <mail@maciej.szmigiero.name> |
media: cx25840: set_fmt operation should clamp out-of-range picture sizes
According to V4L2 API set_fmt subdev operation should not return an error on out-of-range picture sizes, the values should b
media: cx25840: set_fmt operation should clamp out-of-range picture sizes
According to V4L2 API set_fmt subdev operation should not return an error on out-of-range picture sizes, the values should be clamped instead to the supported range.
The cx25840 datasheet says that the chip is capable of scaling down the picture width and height, respectively, 16 and 8 times. These values agree with what the old implementation enforced.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
show more ...
|
e81a9076 | 29-Apr-2019 |
Maciej S. Szmigiero <mail@maciej.szmigiero.name> |
media: cx25840: add pin to pad mapping and output format configuration
This commit adds pin to pad mapping and output format configuration support in CX2584x-series chips to cx25840 driver.
This fu
media: cx25840: add pin to pad mapping and output format configuration
This commit adds pin to pad mapping and output format configuration support in CX2584x-series chips to cx25840 driver.
This functionality is then used to allow disabling ivtv-specific hacks and configuration values (called a "generic mode"), so cx25840 driver can be used for other devices not needing them without risking compatibility problems.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
show more ...
|
763549a3 | 29-Apr-2019 |
Maciej S. Szmigiero <mail@maciej.szmigiero.name> |
media: cx25840: implement g_std operation
This commit implements g_std operation in cx25840 driver by returning the last set video standard.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigier
media: cx25840: implement g_std operation
This commit implements g_std operation in cx25840 driver by returning the last set video standard.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
show more ...
|
60acc4ab | 29-Apr-2019 |
Maciej S. Szmigiero <mail@maciej.szmigiero.name> |
media: cx25840: g_std operation really implements querystd operation
cx25840 driver g_std operation queries the currently detected video signal, however this is what querystd operation should do, so
media: cx25840: g_std operation really implements querystd operation
cx25840 driver g_std operation queries the currently detected video signal, however this is what querystd operation should do, so let's rename the handler.
None of the existing cx25840 driver users ever called the g_std operation, one of them calls querystd on each of its subdevs but then the result is only used to implement VIDIOC_QUERYSTD (as it should).
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
show more ...
|