linux/drivers/media/platform/coda
Philipp Zabel 8e428d5040 [media] coda: add coda_estimate_sizeimage and use it in set_defaults
Call coda_estimate_sizeimage from both try_fmt and set_defaults to
avoid this v4l2-compliance warning on the h.264 decoder video device:

    G_FMT:     1920x1088, 32315559, 1, 1920, 1048576, 3, 0, 0, feedcafe
    TRY/S_FMT: 1920x1088, 32315559, 1, 1920, 3133440, 3, 0, 0, feedcafe
    fail: v4l2-test-formats.cpp(948): Video Capture: S_FMT(G_FMT) != G_FMT

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-02-02 10:31:10 -02:00
..
coda_regs.h [media] coda: fix encoder rate control parameter masks 2015-02-02 09:58:49 -02:00
coda-bit.c [media] coda: don't ever use subsampling ping-pong buffers as reconstructed reference buffers 2015-02-02 10:26:31 -02:00
coda-common.c [media] coda: add coda_estimate_sizeimage and use it in set_defaults 2015-02-02 10:31:10 -02:00
coda-h264.c [media] coda: include header for memcpy 2014-08-21 15:25:23 -05:00
coda-jpeg.c [media] coda: drop JPEG buffers not framed by SOI and EOI markers 2014-10-28 15:41:07 -02:00
coda.h [media] coda: remove unused isequence, reset qsequence in stop_streaming 2015-02-02 10:25:14 -02:00
Makefile [media] coda: add CODA7541 JPEG support 2014-10-28 15:03:16 -02:00