From: Philipp Zabel
Date: Fri, 23 Jan 2015 16:51:29 +0000 (-0300)
Subject: [media] coda: add coda_estimate_sizeimage and use it in set_defaults
X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~131^2~130
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e428d5040629dbbdfd6610026cb0b15b93830e0;p=pandora-kernel.git
[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
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed