aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoEncoderBase.h
diff options
context:
space:
mode:
authorShuo Liu <shuo.liu@intel.com>2011-11-25 05:30:12 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:45 -0700
commit2bfa6ad0118934357b8eb42c85c5b8d075e0bf23 (patch)
tree73e484c98a2548fa78703938afd732c656fd0330 /videocodec/OMXVideoEncoderBase.h
parent3e9f7696ef75665a44a3f9542e10f7a6be4de464 (diff)
downloadandroid_hardware_intel_common_omx-components-2bfa6ad0118934357b8eb42c85c5b8d075e0bf23.tar.gz
android_hardware_intel_common_omx-components-2bfa6ad0118934357b8eb42c85c5b8d075e0bf23.tar.bz2
android_hardware_intel_common_omx-components-2bfa6ad0118934357b8eb42c85c5b8d075e0bf23.zip
CAMERA: modify hardware omx encoder to support avc capture
BZ: 15257 1. add setParameter() for storeMetaDataInBuffers 2. comment the prefixed length nalu format and restore the start code nalu format Change-Id: Ia3c239a7d1e8788e1acddd060245c37ee4040f7d Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: http://android.intel.com:8080/25226 Reviewed-by: Seibel, Eric <eric.seibel@intel.com> Tested-by: Seibel, Eric <eric.seibel@intel.com> Reviewed-by: Gross, Mark <mark.gross@intel.com> Tested-by: Gross, Mark <mark.gross@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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/videocodec/OMXVideoEncoderBase.h b/videocodec/OMXVideoEncoderBase.h
index 705b339..f4c3b3a 100644
--- a/videocodec/OMXVideoEncoderBase.h
+++ b/videocodec/OMXVideoEncoderBase.h
@@ -65,6 +65,7 @@ protected:
DECLARE_HANDLER(OMXVideoEncoderBase, ConfigVideoIntraVOPRefresh);
DECLARE_HANDLER(OMXVideoEncoderBase, ParamIntelAdaptiveSliceControl);
DECLARE_HANDLER(OMXVideoEncoderBase, ParamVideoProfileLevelQuerySupported);
+ DECLARE_HANDLER(OMXVideoEncoderBase, StoreMetaDataInBuffers);
protected:
virtual OMX_ERRORTYPE InitBSMode(void);
@@ -102,6 +103,7 @@ protected:
} mBsState;
SharedBufferType *mSharedBufArray;
+ OMX_BOOL mForceBufferSharing;
private:
@@ -120,7 +122,6 @@ private:
sp<BufferShareRegistry> mBsInstance;
OMX_U32 mSharedBufCnt;
OMX_U32 mPFrames;
-
};
#endif /* OMX_VIDEO_ENCODER_BASE_H_ */