diff options
author | Benny Wong <Benny.Wong@motorola.com> | 2009-09-03 17:14:00 -0500 |
---|---|---|
committer | James Dong <jdong@google.com> | 2009-09-08 21:52:20 -0700 |
commit | 221a7f397de8e84a36f8f5c93a9a5b175e9053fd (patch) | |
tree | 65f987ca6e5595f7868fda64c6cd7f62d55454a4 /omx | |
parent | e972d06c10872e553c829a77e28fac4ea412e70d (diff) | |
download | omap3-221a7f397de8e84a36f8f5c93a9a5b175e9053fd.tar.gz |
Make hi-res video playback smoother by increasing the overlay buffers
from 4 to 6. 6 is the number of buffers actually being
supported already in the kernel.
Originally from: https://partner.source.android.com/g/#change,928
Removed all changes to the LOGE so that we keep the failure log
messages for now.
Diffstat (limited to 'omx')
-rw-r--r-- | omx/video/src/openmax_il/video_decode/inc/OMX_VideoDec_Utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/omx/video/src/openmax_il/video_decode/inc/OMX_VideoDec_Utils.h b/omx/video/src/openmax_il/video_decode/inc/OMX_VideoDec_Utils.h index fb19cb0..257ea9e 100644 --- a/omx/video/src/openmax_il/video_decode/inc/OMX_VideoDec_Utils.h +++ b/omx/video/src/openmax_il/video_decode/inc/OMX_VideoDec_Utils.h @@ -159,9 +159,9 @@ typedef enum VIDDEC_ENUM_MEMLEVELS{ #endif #define __STD_COMPONENT__ -#define MAX_PRIVATE_IN_BUFFERS 4 -#define MAX_PRIVATE_OUT_BUFFERS 4 -#define MAX_PRIVATE_BUFFERS 4 +#define MAX_PRIVATE_IN_BUFFERS 6 +#define MAX_PRIVATE_OUT_BUFFERS 6 +#define MAX_PRIVATE_BUFFERS 6 #define NUM_OF_PORTS 2 #define VIDDEC_MAX_NAMESIZE 128 #define VIDDEC_NOPORT 0xfffffffe |