Home
last modified time | relevance | path

Searched refs:inBuf (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/common/omx-components/videocodec/
DOMXVideoEncoderH263.cpp94 VideoEncRawBuffer inBuf; in ProcessorProcess() local
112 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; in ProcessorProcess()
113 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; in ProcessorProcess()
114 inBuf.type = FTYPE_UNKNOWN; in ProcessorProcess()
115 inBuf.flag = 0; in ProcessorProcess()
116 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
119 (unsigned)inBuf.data, inBuf.size); in ProcessorProcess()
128 ret = mVideoEncoder->encode(&inBuf); in ProcessorProcess()
DOMXVideoEncoderMPEG4.cpp86 VideoEncRawBuffer inBuf; in ProcessorProcess() local
103 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; in ProcessorProcess()
104 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; in ProcessorProcess()
105 inBuf.type = FTYPE_UNKNOWN; in ProcessorProcess()
106 inBuf.flag = 0; in ProcessorProcess()
107 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
109 LOGV("inBuf.data=%x, size=%d", (unsigned)inBuf.data, inBuf.size); in ProcessorProcess()
120 ret = mVideoEncoder->encode(&inBuf); in ProcessorProcess()
DOMXVideoEncoderVP8.cpp79 VideoEncRawBuffer inBuf; in ProcessorProcess() local
98 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; in ProcessorProcess()
99 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; in ProcessorProcess()
100 inBuf.type = FTYPE_UNKNOWN; in ProcessorProcess()
101 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
103 if (inBuf.timeStamp > mLastTimestamp) { in ProcessorProcess()
104 frameDuration = (OMX_U32)(inBuf.timeStamp - mLastTimestamp); in ProcessorProcess()
132 ret = mVideoEncoder->encode(&inBuf); in ProcessorProcess()
163 mLastTimestamp = inBuf.timeStamp; in ProcessorProcess()
DOMXVideoEncoderAVC.cpp603 VideoEncRawBuffer inBuf; in ProcessorProcess() local
605 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; in ProcessorProcess()
606 inBuf.size = buffers[INPORT_INDEX]->nFilledLen; in ProcessorProcess()
607 inBuf.flag = 0; in ProcessorProcess()
608 inBuf.timeStamp = buffers[INPORT_INDEX]->nTimeStamp; in ProcessorProcess()
610 if (inBuf.size == 0 && buffers[INPORT_INDEX]->nFlags & OMX_BUFFERFLAG_EOS) { in ProcessorProcess()
619 inBuf.flag |= ENCODE_BUFFERFLAG_ENDOFSTREAM; in ProcessorProcess()
621 inBuf.flag |= ENCODE_BUFFERFLAG_NSTOPFRAME; in ProcessorProcess()
622 inBuf.type = (FrameType) eInfo.FrameType; in ProcessorProcess()
627 ret = mVideoEncoder->encode(&inBuf, FUNC_NONBLOCK); in ProcessorProcess()