diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2013-11-21 13:33:09 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-18 11:48:16 -0200 |
commit | f84339628d9224200e9145320da494da2d92cd50 (patch) | |
tree | dba10e8c6d503672d30a9b08fd48f6ecf557fa11 /fs/exec.c | |
parent | 80529ae5c13725e12ba0377e29b2160794ba6b25 (diff) |
[media] s5p-jpeg: Retrieve "YCbCr subsampling" field from the jpeg header
Make s5p_jpeg_parse_hdr function capable of parsing
"YCbCr subsampling" field of a jpeg file header. Store the
parsed value in the context.
The information about source JPEG subsampling is required to
make validation of destination format possible, which must be
conducted for exynos4x12 device as the decoding process will
not succeed if the destination format is set to YUV with
subsampling lower than the one of the source JPEG image.
With this knowledge the driver can adjust the destination format
appropriately.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions