Commit c97ba28b authored by Jacek Anaszewski's avatar Jacek Anaszewski Committed by Mauro Carvalho Chehab

[media] s5p-jpeg: Fix output YUV 4:2:0 fourcc for decoder

Output samples during decoding phase for the YUV 4:2:0 format
are arranged in the manner compatible with 2-planar NV12,
not 3-planar YUV420 fourcc.
Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 78e5a3ce
...@@ -58,7 +58,7 @@ static struct s5p_jpeg_fmt formats_enc[] = { ...@@ -58,7 +58,7 @@ static struct s5p_jpeg_fmt formats_enc[] = {
static struct s5p_jpeg_fmt formats_dec[] = { static struct s5p_jpeg_fmt formats_dec[] = {
{ {
.name = "YUV 4:2:0 planar, YCbCr", .name = "YUV 4:2:0 planar, YCbCr",
.fourcc = V4L2_PIX_FMT_YUV420, .fourcc = V4L2_PIX_FMT_NV12,
.depth = 12, .depth = 12,
.colplanes = 3, .colplanes = 3,
.h_align = 4, .h_align = 4,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment