diff options
author | Yang Liang <liang.l.yang@intel.com> | 2012-12-04 22:29:07 +0800 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:02:49 -0700 |
commit | 7ac0b6c4ed773c7f43dfb35f098f6f989a52d6e2 (patch) | |
tree | bd07d5b20928b515f0d0830b4e1b4df98dbeacbd /videocodec/OMXVideoEncoderBase.h | |
parent | e4876b874be60356322ca55b467fd0ee096ee7ab (diff) | |
download | android_hardware_intel_common_omx-components-7ac0b6c4ed773c7f43dfb35f098f6f989a52d6e2.tar.gz android_hardware_intel_common_omx-components-7ac0b6c4ed773c7f43dfb35f098f6f989a52d6e2.tar.bz2 android_hardware_intel_common_omx-components-7ac0b6c4ed773c7f43dfb35f098f6f989a52d6e2.zip |
[PORT FROM R4.1] Disable video effects feature for yukkabeach and lexington
BZ: 66003
Issue:
To enable the video feature: video effects feature, it needs more
video buffers in the camera HAL.
The video effects is not one POR for yukkabeach and lexington.
If we can disable this feature, we can reduce the video buffers number
in the camera HAL.
disable the feature in the video side.
Solution:
set the INPORT_ACTUAL_BUFFER_COUNT to 2 if we don't need the video effects feature.
Depends on:
None.
Change-Id: I799c915047cb4f942244b6ce810c85f777f945d7
Orig-Change-Id: Ib3ca3e3bd259a5e0fa4b1e3e15257a8ccba6bdba
Signed-off-by: Yang Liang <liang.l.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/78643
Reviewed-by: Chang, Ying <ying.chang@intel.com>
Reviewed-by: Hu, Gang A <gang.a.hu@intel.com>
Tested-by: Hu, Gang A <gang.a.hu@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
Signed-off-by: Yang Liang <liang.l.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/87002
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Diffstat (limited to 'videocodec/OMXVideoEncoderBase.h')
-rw-r--r-- | videocodec/OMXVideoEncoderBase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/videocodec/OMXVideoEncoderBase.h b/videocodec/OMXVideoEncoderBase.h index bb8cb1e..a9546ec 100644 --- a/videocodec/OMXVideoEncoderBase.h +++ b/videocodec/OMXVideoEncoderBase.h @@ -94,7 +94,11 @@ private: // OMX_PARAM_PORTDEFINITIONTYPE INPORT_MIN_BUFFER_COUNT = 1, // FIXME: increate input buffer count to 5 +#if (MFLD_GI || YUKKA) + INPORT_ACTUAL_BUFFER_COUNT = 2, +#else INPORT_ACTUAL_BUFFER_COUNT = 5, +#endif INPORT_BUFFER_SIZE = 1382400, // OMX_PARAM_PORTDEFINITIONTYPE |