summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/coda
diff options
context:
space:
mode:
authorPhilipp Zabel2018-01-04 16:58:55 +0100
committerMauro Carvalho Chehab2018-02-26 12:58:05 +0100
commit664878184f831c87031988a03078cb7bc0a990d2 (patch)
tree213b1db9b9dac326a252f405e11e7ed63a6773ce /drivers/media/platform/coda
parentmedia: au0828: fix VIDEO_V4L2 dependency (diff)
downloadkernel-qcow2-linux-664878184f831c87031988a03078cb7bc0a990d2.tar.gz
kernel-qcow2-linux-664878184f831c87031988a03078cb7bc0a990d2.tar.xz
kernel-qcow2-linux-664878184f831c87031988a03078cb7bc0a990d2.zip
media: coda: bump maximum number of internal framebuffers to 19
While the h.264 standard only allows up to 16 reference frames, the CODA firmware needs two more buffers: one to hold the currently decoded frame and one for the display frame. Adding the framebuffer needed by the driver for VDOA operation brings the total to a maximum of 19 internal framebuffers. Lift the current maximum of 17 internal framebuffers to allow playback of high profile streams that require more than 14 reference frames. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/coda')
-rw-r--r--drivers/media/platform/coda/coda.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h
index 12fab3f1dbfe..c70cfab2433f 100644
--- a/drivers/media/platform/coda/coda.h
+++ b/drivers/media/platform/coda/coda.h
@@ -28,7 +28,7 @@
#include "coda_regs.h"
-#define CODA_MAX_FRAMEBUFFERS 17
+#define CODA_MAX_FRAMEBUFFERS 19
#define FMO_SLICE_SAVE_BUF_SIZE (32)
enum {