mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[media] exynos4-is: Correct colorspace handling at FIMC-LITE
Ensure the colorspace is properly adjusted by the driver for YUV and Bayer image formats. The subdev try_fmt helper is simplified. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
3ad8624524
commit
1c26190a8d
2 changed files with 15 additions and 4 deletions
|
|
@ -116,6 +116,7 @@ struct s5p_platform_fimc {
|
|||
* @color: the driver's private color format id
|
||||
* @memplanes: number of physically non-contiguous data planes
|
||||
* @colplanes: number of physically contiguous data planes
|
||||
* @colorspace: v4l2 colorspace (V4L2_COLORSPACE_*)
|
||||
* @depth: per plane driver's private 'number of bits per pixel'
|
||||
* @mdataplanes: bitmask indicating meta data plane(s), (1 << plane_no)
|
||||
* @flags: flags indicating which operation mode format applies to
|
||||
|
|
@ -127,6 +128,7 @@ struct fimc_fmt {
|
|||
u32 color;
|
||||
u16 memplanes;
|
||||
u16 colplanes;
|
||||
u8 colorspace;
|
||||
u8 depth[FIMC_MAX_PLANES];
|
||||
u16 mdataplanes;
|
||||
u16 flags;
|
||||
|
|
|
|||
Loading…
Reference in a new issue