aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoEncoderH263.cpp
diff options
context:
space:
mode:
authorZhao Liang <leo.zhao@intel.com>2012-09-24 16:08:15 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:49 -0700
commit0d275ff362298b443c828f09f593bfb674112bbd (patch)
treef966f44e9ea31fe014b6dfbcfefd1897eae534b9 /videocodec/OMXVideoEncoderH263.cpp
parentab82a0fd294f033d336bc53cdffe8d1708d947cc (diff)
downloadandroid_hardware_intel_common_omx-components-0d275ff362298b443c828f09f593bfb674112bbd.tar.gz
android_hardware_intel_common_omx-components-0d275ff362298b443c828f09f593bfb674112bbd.tar.bz2
android_hardware_intel_common_omx-components-0d275ff362298b443c828f09f593bfb674112bbd.zip
MRFLD highprofile encoding support
BZ: 76824 enable HiP Video Encode support in omx-componment 1) infrastructure 2) Cache implementation / operation 3) EOS/EOE processing 4) Adapt with new encode/getOutput model 5) Frame status analysis / set according to parameters like Profile/B frame etc 6) Use pPlatformPrivate to store NSTOP info 7) add the unsupport setting return info Change-Id: I8cc469dd7ea37b1c9989a55adec3b1834c4aa905 Signed-off-by: Zhao Liang <leo.zhao@intel.com> Reviewed-on: http://android.intel.com:8080/67485 Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Shi, PingX <pingx.shi@intel.com> Tested-by: Shi, PingX <pingx.shi@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
Diffstat (limited to 'videocodec/OMXVideoEncoderH263.cpp')
-rw-r--r--videocodec/OMXVideoEncoderH263.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/videocodec/OMXVideoEncoderH263.cpp b/videocodec/OMXVideoEncoderH263.cpp
index 00d66e7..8bbe4b6 100644
--- a/videocodec/OMXVideoEncoderH263.cpp
+++ b/videocodec/OMXVideoEncoderH263.cpp
@@ -114,6 +114,9 @@ OMX_ERRORTYPE OMXVideoEncoderH263::ProcessorProcess(
inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset;
inBuf.size = buffers[INPORT_INDEX]->nFilledLen;
+ inBuf.type = FTYPE_UNKNOWN;
+ inBuf.flag = 0;
+ inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp;
LOGV("buffer_in.data=%x, data_size=%d",
(unsigned)inBuf.data, inBuf.size);
@@ -148,7 +151,7 @@ OMX_ERRORTYPE OMXVideoEncoderH263::ProcessorProcess(
LOGV("output data size = %d", outBuf.dataSize);
outfilledlen = outBuf.dataSize;
- outtimestamp = buffers[INPORT_INDEX]->nTimeStamp;
+ outtimestamp = outBuf.timeStamp;
if (outBuf.flag & ENCODE_BUFFERFLAG_SYNCFRAME) {