[media] coda: bump maximum number of internal framebuffers to 17
Commit Message
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>
---
drivers/media/platform/coda/coda.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, 2017-04-05 at 15:11 +0200, Lucas Stach wrote:
> 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>
regards
Philipp
> ---
> drivers/media/platform/coda/coda.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h
> index 799ffca72203..2a5bbe0050bb 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 8
> +#define CODA_MAX_FRAMEBUFFERS 17
> #define FMO_SLICE_SAVE_BUF_SIZE (32)
>
> enum {
@@ -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 {