Home
last modified time | relevance | path

Searched refs:inBuffer (Results 1 – 15 of 15) sorted by relevance

/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9Hybrid.cpp218 OMX_BUFFERHEADERTYPE *inBuffer = *pBuffers[INPORT_INDEX]; in ProcessorProcess() local
220 bool eos = (inBuffer->nFlags & OMX_BUFFERFLAG_EOS)? true:false; in ProcessorProcess()
223 eos = eos && (inBuffer->nFilledLen == 0); in ProcessorProcess()
225 if (inBuffer->pBuffer == NULL) { in ProcessorProcess()
230 if (inBuffer->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in ProcessorProcess()
234 if (inBuffer->nFlags & OMX_BUFFERFLAG_DECODEONLY) { in ProcessorProcess()
243 …int res = mDecoderDecode(mCtx,mHybridCtx,inBuffer->pBuffer + inBuffer->nOffset,inBuffer->nFilledLe… in ProcessorProcess()
246 if (isReallocateNeeded(inBuffer->pBuffer + inBuffer->nOffset,inBuffer->nFilledLen)) { in ProcessorProcess()
274 mLastTimeStamp = inBuffer->nTimeStamp; in ProcessorProcess()
DOMXVideoDecoderVP9HWR.cpp403 OMX_BUFFERHEADERTYPE *inBuffer = *pBuffers[INPORT_INDEX]; in ProcessorProcess() local
407 if (inBuffer->pBuffer == NULL) { in ProcessorProcess()
412 if (inBuffer->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in ProcessorProcess()
416 if (inBuffer->nFlags & OMX_BUFFERFLAG_DECODEONLY) { in ProcessorProcess()
420 if (inBuffer->nFlags & OMX_BUFFERFLAG_EOS) { in ProcessorProcess()
421 if (inBuffer->nFilledLen == 0) { in ProcessorProcess()
429 inBuffer->pBuffer + inBuffer->nOffset, in ProcessorProcess()
430 inBuffer->nFilledLen, in ProcessorProcess()
443 (*pBuffers[OUTPORT_INDEX])->nTimeStamp = inBuffer->nTimeStamp; in ProcessorProcess()
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c709 audio_buffer_t *inBuffer, in visualizer_process() argument
717 if (inBuffer == NULL || inBuffer->raw == NULL || in visualizer_process()
719 inBuffer->frameCount != outBuffer->frameCount || in visualizer_process()
720 inBuffer->frameCount == 0) { in visualizer_process()
730 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()
731 if (inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
732 max_sample = inBuffer->s16[inIdx]; in visualizer_process()
733 } else if (-inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
734 max_sample = -inBuffer->s16[inIdx]; in visualizer_process()
736 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]); in visualizer_process()
[all …]
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderBase.cpp321 Encode_Status VideoEncoderBase::encode(VideoEncRawBuffer *inBuffer, uint32_t timeout) { in encode() argument
331 CHECK_NULL_RETURN_IFFAIL(inBuffer); in encode()
337 ret = manageSrcSurface(inBuffer, &sid); in encode()
375 task->timestamp = inBuffer->timeStamp; in encode()
376 task->priv = inBuffer->priv; in encode()
379 task->type = inBuffer->type; in encode()
380 task->flag = inBuffer->flag; in encode()
386 switch (inBuffer->type) { in encode()
1634 Encode_Status VideoEncoderBase::manageSrcSurface(VideoEncRawBuffer *inBuffer, VASurfaceID *sid) { in manageSrcSurface() argument
1650 LOG_V("in metadata mode, data=%p, size=%d\n", inBuffer->data, inBuffer->size); in manageSrcSurface()
[all …]
DPVSoftMPEG4Encoder.cpp383 Encode_Status PVSoftMPEG4Encoder::encode(VideoEncRawBuffer *inBuffer, uint32_t timeout) in encode() argument
389 if (mCurTimestampUs <= inBuffer->timeStamp) { in encode()
391 mCurTimestampUs = inBuffer->timeStamp; in encode()
414 CHECK(IMB_SUCCESS == imb.UnSerialize(inBuffer->data, inBuffer->size)); in encode()
435 memcpy(mTrimedInputData, inBuffer->data, in encode()
DVideoEncoderAVC.h43 …Encode_Status getOneNALUnit(uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, uint32_t *nalT…
44 …Encode_Status getHeader(uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize, uint32_t status…
DVideoEncoderMP4.cpp32 uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize) { in getHeaderPos() argument
37 CHECK_NULL_RETURN_IFFAIL(inBuffer); in getHeaderPos()
46 (memcmp("\x00\x00\x01\xB6", &inBuffer[bufSize - bytesLeft], 4) && in getHeaderPos()
47 memcmp("\x00\x00\x01\xB3", &inBuffer[bufSize - bytesLeft], 4))) { in getHeaderPos()
DVideoEncoderBase.h61 virtual Encode_Status encode(VideoEncRawBuffer *inBuffer, uint32_t timeout);
97 Encode_Status manageSrcSurface(VideoEncRawBuffer *inBuffer, VASurfaceID *sid);
DVideoEncoderInterface.h28 virtual Encode_Status encode(VideoEncRawBuffer *inBuffer, uint32_t timeout = FUNC_BLOCK) = 0;
DVideoEncoderMP4.h51 Encode_Status getHeaderPos(uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize);
DVideoEncoderAVC.cpp361 uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, in getOneNALUnit() argument
370 while ((inBuffer[pos++] == 0x00)) { in getOneNALUnit()
376 if (inBuffer[pos - 1] != 0x01 || zeroByteCount < 2) { in getOneNALUnit()
382 *nalType = (*(inBuffer + pos)) & 0x1F; in getOneNALUnit()
393 dataPtr = inBuffer + pos; in getOneNALUnit()
457 uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize, uint32_t status) { in getHeader() argument
463 uint8_t *buf = inBuffer; in getHeader()
467 CHECK_NULL_RETURN_IFFAIL(inBuffer); in getHeader()
DPVSoftMPEG4Encoder.h40 virtual Encode_Status encode(VideoEncRawBuffer *inBuffer, uint32_t timeout);
/hardware/libhardware/include/hardware/
Daudio_effect.h323 audio_buffer_t *inBuffer,
411 audio_buffer_t *inBuffer,
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c478 audio_buffer_t *inBuffer, in fx_process() argument
489 if (inBuffer == NULL || inBuffer->raw == NULL || in fx_process()
/hardware/qcom/audio/post_proc/
Dbundle.c509 audio_buffer_t *inBuffer __unused, in effect_process()