mirror of https://gitee.com/openkylin/linux.git
[media] s5p-jpeg: Fix NV12 format entry related to S5C2120 SoC
S5PC210 SoC doesn't support encoding NV12 raw images. Remove relavant flag from the respective entry in the sjpeg_formats array. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
79a38a8c53
commit
8fae379aa5
|
@ -192,8 +192,7 @@ static struct s5p_jpeg_fmt sjpeg_formats[] = {
|
|||
.colplanes = 2,
|
||||
.h_align = 4,
|
||||
.v_align = 4,
|
||||
.flags = SJPEG_FMT_FLAG_ENC_OUTPUT |
|
||||
SJPEG_FMT_FLAG_DEC_CAPTURE |
|
||||
.flags = SJPEG_FMT_FLAG_DEC_CAPTURE |
|
||||
SJPEG_FMT_FLAG_S5P |
|
||||
SJPEG_FMT_NON_RGB,
|
||||
.subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420,
|
||||
|
|
Loading…
Reference in New Issue