mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
[media] exynos-gsc: Fix settings for input and output image RGB type
Macros used to set input and output RGB type aren't correct. Updating the macros as per register manual. Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
9868018045
commit
bca36481e6
1 changed files with 8 additions and 8 deletions
|
@ -40,10 +40,10 @@
|
|||
#define GSC_IN_ROT_YFLIP (2 << 16)
|
||||
#define GSC_IN_ROT_XFLIP (1 << 16)
|
||||
#define GSC_IN_RGB_TYPE_MASK (3 << 14)
|
||||
#define GSC_IN_RGB_HD_WIDE (3 << 14)
|
||||
#define GSC_IN_RGB_HD_NARROW (2 << 14)
|
||||
#define GSC_IN_RGB_SD_WIDE (1 << 14)
|
||||
#define GSC_IN_RGB_SD_NARROW (0 << 14)
|
||||
#define GSC_IN_RGB_HD_NARROW (3 << 14)
|
||||
#define GSC_IN_RGB_HD_WIDE (2 << 14)
|
||||
#define GSC_IN_RGB_SD_NARROW (1 << 14)
|
||||
#define GSC_IN_RGB_SD_WIDE (0 << 14)
|
||||
#define GSC_IN_YUV422_1P_ORDER_MASK (1 << 13)
|
||||
#define GSC_IN_YUV422_1P_ORDER_LSB_Y (0 << 13)
|
||||
#define GSC_IN_YUV422_1P_OEDER_LSB_C (1 << 13)
|
||||
|
@ -85,10 +85,10 @@
|
|||
#define GSC_OUT_GLOBAL_ALPHA_MASK (0xff << 24)
|
||||
#define GSC_OUT_GLOBAL_ALPHA(x) ((x) << 24)
|
||||
#define GSC_OUT_RGB_TYPE_MASK (3 << 10)
|
||||
#define GSC_OUT_RGB_HD_NARROW (3 << 10)
|
||||
#define GSC_OUT_RGB_HD_WIDE (2 << 10)
|
||||
#define GSC_OUT_RGB_SD_NARROW (1 << 10)
|
||||
#define GSC_OUT_RGB_SD_WIDE (0 << 10)
|
||||
#define GSC_OUT_RGB_HD_WIDE (3 << 10)
|
||||
#define GSC_OUT_RGB_HD_NARROW (2 << 10)
|
||||
#define GSC_OUT_RGB_SD_WIDE (1 << 10)
|
||||
#define GSC_OUT_RGB_SD_NARROW (0 << 10)
|
||||
#define GSC_OUT_YUV422_1P_ORDER_MASK (1 << 9)
|
||||
#define GSC_OUT_YUV422_1P_ORDER_LSB_Y (0 << 9)
|
||||
#define GSC_OUT_YUV422_1P_OEDER_LSB_C (1 << 9)
|
||||
|
|
Loading…
Reference in a new issue