aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoEncoderBase.h
diff options
context:
space:
mode:
authorLiu Bolun <bolunx.liu@intel.com>2013-02-27 18:44:33 -0500
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:50 -0700
commitb75614ed7b576e521db3bd442837e5ac1e1d741d (patch)
tree555d869d2f5cc408dc9bba0a57d47f879b261fd7 /videocodec/OMXVideoEncoderBase.h
parentd140f2905e74a1bdf86caf02b462204f6fde6f01 (diff)
downloadandroid_hardware_intel_common_omx-components-b75614ed7b576e521db3bd442837e5ac1e1d741d.tar.gz
android_hardware_intel_common_omx-components-b75614ed7b576e521db3bd442837e5ac1e1d741d.tar.bz2
android_hardware_intel_common_omx-components-b75614ed7b576e521db3bd442837e5ac1e1d741d.zip
TARGET_DEVICE should not be used in Android.mk
BZ: 88258 Remove TARGET_DEVICE/TARGET_PRODUCT from Android.mk Add a feature (USE_VIDEO_EFFECT) to enable/disable video effect in BoardConfig.mk Using feature selection rather than TARGET_DEVICE selection. If set USE_VIDEO_EFFECT as true, it support video effect and OMX_INPUT_BUFFER_COUNT is 5; If not, it was 2. Refine marco define code. Change-Id: I46d87bb7763c58b936864e525b5f0864a41f0ada Signed-off-by: Liu Bolun <bolunx.liu@intel.com> Reviewed-on: http://android.intel.com:8080/94207 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Zhao, Leo <leo.zhao@intel.com> Reviewed-by: Shi, PingX <pingx.shi@intel.com> Tested-by: Shi, PingX <pingx.shi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'videocodec/OMXVideoEncoderBase.h')
-rw-r--r--videocodec/OMXVideoEncoderBase.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/videocodec/OMXVideoEncoderBase.h b/videocodec/OMXVideoEncoderBase.h
index cf52290..d14d69d 100644
--- a/videocodec/OMXVideoEncoderBase.h
+++ b/videocodec/OMXVideoEncoderBase.h
@@ -94,10 +94,10 @@ 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
+#ifdef USE_VIDEO_EFFECT
INPORT_ACTUAL_BUFFER_COUNT = 5,
+#else
+ INPORT_ACTUAL_BUFFER_COUNT = 2,
#endif
INPORT_BUFFER_SIZE = 1382400,