Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbfc9811 authored by Maheshwar Ajja's avatar Maheshwar Ajja Committed by Connor O'Brien
Browse files

ANDROID: media: increase video max frame number



Few userspace clients and drivers need more frames and
hence increase video max frame number from 32 to 64.

Bug: 143356419
Change-Id: Ib5394b7b71d75177234333dae23ec30fea01450f
Signed-off-by: default avatarMaheshwar Ajja <majja@codeaurora.org>
(cherry picked from commit e81694723af1c2d89edcd1948e77a8d53126d5a5)
Bug: 154168148
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
parent 434446e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#include <linux/dma-buf.h>
#include <linux/bitops.h>

#define VB2_MAX_FRAME	(32)
#define VB2_MAX_FRAME	(64)
#define VB2_MAX_PLANES	(8)

/**
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@
 * Common stuff for both V4L1 and V4L2
 * Moved from videodev.h
 */
#define VIDEO_MAX_FRAME               32
#define VIDEO_MAX_FRAME               64
#define VIDEO_MAX_PLANES               8

/*