[media] coda: bump maximum number of internal framebuffers to 17
authorLucas Stach <l.stach@pengutronix.de>
Wed, 5 Apr 2017 13:11:15 +0000 (10:11 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Apr 2017 10:44:50 +0000 (07:44 -0300)
The h.264 standard allows up to 16 reference frame for the high profile
and we need one additional internal framebuffer when the VDOA is in use.

Lift the current maximum of 8 internal framebuffers to allow playback
of those video streams.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda.h

index 5e762f5..20222be 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "coda_regs.h"
 
-#define CODA_MAX_FRAMEBUFFERS  8
+#define CODA_MAX_FRAMEBUFFERS  17
 #define FMO_SLICE_SAVE_BUF_SIZE        (32)
 
 enum {