Home
last modified time | relevance | path

Searched refs:renderBuffer (Results 1 – 25 of 28) sorted by relevance

12

/hardware/intel/common/libmix/videodecoder/
DVideoDecoderBase.cpp221 if (p->renderBuffer.flag & IS_RESOLUTION_CHANGE) { in flush()
311 …vaSetTimestampForSurface(mVADisplay, outputByPos->renderBuffer.surface, outputByPos->renderBuffer.… in getOutput()
313 vaSyncSurface(mVADisplay, outputByPos->renderBuffer.surface); in getOutput()
314 fillDecodingErrors(&(outputByPos->renderBuffer)); in getOutput()
317 outputByPos->renderBuffer.flag |= IS_EOS; in getOutput()
319 drainDecodingErrors(outErrBuf, &(outputByPos->renderBuffer)); in getOutput()
321 return &(outputByPos->renderBuffer); in getOutput()
356 …vaSetTimestampForSurface(mVADisplay, output->renderBuffer.surface, output->renderBuffer.timeStamp); in getOutput()
359 vaSyncSurface(mVADisplay, output->renderBuffer.surface); in getOutput()
360 fillDecodingErrors(&(output->renderBuffer)); in getOutput()
[all …]
DVideoDecoderMPEG4.cpp243 mLastReference->renderBuffer.timeStamp = mCurrentPTS; in beginDecodingFrame()
253 mAcquiredBuffer->renderBuffer.timeStamp = mCurrentPTS; in beginDecodingFrame()
254 mAcquiredBuffer->renderBuffer.flag = 0; in beginDecodingFrame()
255 mAcquiredBuffer->renderBuffer.scanFormat = mLastReference->renderBuffer.scanFormat; in beginDecodingFrame()
256 mAcquiredBuffer->renderBuffer.surface = mLastReference->renderBuffer.surface; in beginDecodingFrame()
352 mAcquiredBuffer->renderBuffer.timeStamp += increment; in continueDecodingFrame()
355 mCurrentPTS = mAcquiredBuffer->renderBuffer.timeStamp; in continueDecodingFrame()
412 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD | VA_TOP_FIELD; in continueDecodingFrame()
414 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; in continueDecodingFrame()
417 mAcquiredBuffer->renderBuffer.flag = 0; in continueDecodingFrame()
[all …]
DVideoDecoderWMV.cpp174 mAcquiredBuffer->renderBuffer.timeStamp = mCurrentPTS; in decodeFrame()
175 mAcquiredBuffer->renderBuffer.flag = 0; in decodeFrame()
176 mAcquiredBuffer->renderBuffer.scanFormat = mLastReference->renderBuffer.scanFormat; in decodeFrame()
177 mAcquiredBuffer->renderBuffer.surface = mLastReference->renderBuffer.surface; in decodeFrame()
190 mAcquiredBuffer->renderBuffer.timeStamp = buffer->timeStamp; in decodeFrame()
192 mAcquiredBuffer->renderBuffer.flag |= HAS_DISCONTINUITY; in decodeFrame()
195 mAcquiredBuffer->renderBuffer.flag |= WANT_DECODE_ONLY; in decodeFrame()
199 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; in decodeFrame()
204 mAcquiredBuffer->renderBuffer.scanFormat = VA_TOP_FIELD; in decodeFrame()
206 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD; in decodeFrame()
[all …]
DVideoDecoderVP8.cpp228 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; in decodeFrame()
229 mAcquiredBuffer->renderBuffer.timeStamp = buffer->timeStamp; in decodeFrame()
230 mAcquiredBuffer->renderBuffer.flag = 0; in decodeFrame()
232 mAcquiredBuffer->renderBuffer.flag |= WANT_DECODE_ONLY; in decodeFrame()
236 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; in decodeFrame()
270 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodePicture()
359 mAcquiredBuffer->renderBuffer.errBuf.errorNumber = 1; in setReference()
360 mAcquiredBuffer->renderBuffer.errBuf.errorArray[0].type = DecodeRefMissing; in setReference()
364 picParam->last_ref_frame = mRFBs[0][VP8_LAST_REF_PIC].surfaceBuffer->renderBuffer.surface; in setReference()
365 picParam->alt_ref_frame = mRFBs[0][VP8_ALT_REF_PIC].surfaceBuffer->renderBuffer.surface; in setReference()
[all …]
DVideoDecoderMPEG2.cpp174 mAcquiredBuffer->renderBuffer.scanFormat = VA_TOP_FIELD; in decodeFrame()
176 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD; in decodeFrame()
179 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; in decodeFrame()
182 mAcquiredBuffer->renderBuffer.timeStamp = buffer->timeStamp; in decodeFrame()
183 mAcquiredBuffer->renderBuffer.flag = 0; in decodeFrame()
185 mAcquiredBuffer->renderBuffer.flag |= WANT_DECODE_ONLY; in decodeFrame()
189 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; in decodeFrame()
221 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodePicture()
298 picParam->forward_reference_picture = mLastReference->renderBuffer.surface; in setReference()
309 picParam->forward_reference_picture = mForwardReference->renderBuffer.surface; in setReference()
[all …]
DVideoDecoderAVC.cpp231 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD | VA_TOP_FIELD; in beginDecodingFrame()
233 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; in beginDecodingFrame()
237 mAcquiredBuffer->renderBuffer.flag = 0; in beginDecodingFrame()
238 mAcquiredBuffer->renderBuffer.timeStamp = mCurrentPTS; in beginDecodingFrame()
242 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; in beginDecodingFrame()
257 if (mAcquiredBuffer == NULL || mAcquiredBuffer->renderBuffer.surface == VA_INVALID_SURFACE) { in continueDecodingFrame()
333 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()
430 mAcquiredBuffer->renderBuffer.errBuf.errorNumber = 1; in setReference()
431 mAcquiredBuffer->renderBuffer.errBuf.errorArray[0].type = DecodeRefMissing; in setReference()
435 ref->picture_id = mLastReference->renderBuffer.surface; in setReference()
[all …]
DVideoDecoderInterface.h36 …virtual Decode_Status getRawDataFromSurface(VideoRenderBuffer *renderBuffer = NULL, uint8_t *pRawD…
DVideoDecoderDefs.h195 VideoRenderBuffer renderBuffer; member
DVideoDecoderBase.h103 …virtual Decode_Status getRawDataFromSurface(VideoRenderBuffer *renderBuffer = NULL, uint8_t *pRawD…
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_copybit.cpp453 private_handle_t *renderBuffer = in drawUsingAppBufferComposition() local
462 &(list->hwLayers[i]),renderBuffer, 0); in drawUsingAppBufferComposition()
484 private_handle_t *renderBuffer; in draw() local
497 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; in draw()
499 renderBuffer = getCurrentRenderBuffer(); in draw()
501 if (!renderBuffer) { in draw()
524 clear(renderBuffer,layer->dirtyRect); in draw()
526 clear(renderBuffer,layer->displayFrame); in draw()
531 clear(renderBuffer, clearRegion); in draw()
556 renderBuffer, !i); in draw()
[all …]
Dhwc_copybit.h87 private_handle_t *renderBuffer, bool isFG);
90 private_handle_t *renderBuffer, hwc_rect_t overlap,
93 private_handle_t *renderBuffer);
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_copybit.cpp273 private_handle_t *renderBuffer; in draw() local
281 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; in draw()
283 renderBuffer = getCurrentRenderBuffer(); in draw()
285 if (!renderBuffer) { in draw()
307 clear(renderBuffer, clearRegion); in draw()
332 renderBuffer, !i); in draw()
353 private_handle_t *renderBuffer, bool isFG) in drawLayerUsingCopybit() argument
365 return fillColorUsingCopybit(layer, renderBuffer); in drawLayerUsingCopybit()
371 private_handle_t *fbHandle = (private_handle_t *)renderBuffer; in drawLayerUsingCopybit()
566 renderBuffer->width); in drawLayerUsingCopybit()
[all …]
Dhwc_copybit.h57 private_handle_t *renderBuffer, bool isFG);
59 private_handle_t *renderBuffer);
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_copybit.cpp462 private_handle_t *renderBuffer = in drawUsingAppBufferComposition() local
471 &(list->hwLayers[i]),renderBuffer, 0); in drawUsingAppBufferComposition()
493 private_handle_t *renderBuffer; in draw() local
507 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; in draw()
509 renderBuffer = getCurrentRenderBuffer(); in draw()
511 if (!renderBuffer) { in draw()
534 clear(renderBuffer,layer->dirtyRect); in draw()
536 clear(renderBuffer,layer->displayFrame); in draw()
541 clear(renderBuffer, clearRegion); in draw()
569 renderBuffer, !i); in draw()
[all …]
Dhwc_copybit.h87 private_handle_t *renderBuffer, bool isFG);
90 private_handle_t *renderBuffer, hwc_rect_t overlap,
93 private_handle_t *renderBuffer);
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_copybit.cpp559 private_handle_t *renderBuffer = in drawUsingAppBufferComposition() local
569 &(list->hwLayers[i]),renderBuffer, 0); in drawUsingAppBufferComposition()
591 private_handle_t *renderBuffer; in draw() local
611 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; in draw()
613 renderBuffer = getCurrentRenderBuffer(); in draw()
615 if (!renderBuffer) { in draw()
643 mDirtyRect, mEngine, renderBuffer)){ in draw()
670 renderBuffer, !i); in draw()
704 private_handle_t *renderBuffer = getCurrentRenderBuffer(); in drawOverlap() local
706 if (!renderBuffer) { in drawOverlap()
[all …]
Dhwc_copybit.h94 private_handle_t *renderBuffer, bool isFG);
97 private_handle_t *renderBuffer, hwc_rect_t overlap,
100 private_handle_t *renderBuffer);
/hardware/qcom/display/msm8909/libqdutils/
Dcb_utils.cpp60 copybit_device_t *copybit, private_handle_t *renderBuffer) { in uiClearRegion() argument
121 clear(copybit, renderBuffer, fbFrame); in uiClearRegion()
124 clear(copybit, renderBuffer, tmpWormRect); in uiClearRegion()
127 clear(copybit, renderBuffer, tmpWormRect); in uiClearRegion()
Dcb_utils.h42 copybit_device_t *copybit, private_handle_t *renderBuffer);
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_copybit.cpp240 private_handle_t *renderBuffer = getCurrentRenderBuffer(); in draw() local
241 if (!renderBuffer) { in draw()
257 clear(renderBuffer, clearRegion); in draw()
276 renderBuffer, dpy); in draw()
292 private_handle_t *renderBuffer, int dpy) in drawLayerUsingCopybit() argument
307 private_handle_t *fbHandle = (private_handle_t *)renderBuffer; in drawLayerUsingCopybit()
463 renderBuffer->width); in drawLayerUsingCopybit()
465 renderBuffer->height); in drawLayerUsingCopybit()
Dhwc_copybit.h52 private_handle_t *renderBuffer, int dpy);
/hardware/intel/common/libmix/videodecoder/securevideo/merrifield/
DVideoDecoderAVCSecure.cpp421 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD | VA_TOP_FIELD; in beginDecodingFrame()
423 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; in beginDecodingFrame()
426 mAcquiredBuffer->renderBuffer.flag = 0; in beginDecodingFrame()
427 mAcquiredBuffer->renderBuffer.timeStamp = mCurrentPTS; in beginDecodingFrame()
431 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; in beginDecodingFrame()
444 if (mAcquiredBuffer == NULL || mAcquiredBuffer->renderBuffer.surface == VA_INVALID_SURFACE) { in continueDecodingFrame()
484 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in parseClassicSliceHeader()
591 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in parseModularSliceHeader()
/hardware/intel/common/libmix/videodecoder/securevideo/moorefield/
DVideoDecoderAVCSecure.cpp439 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD | VA_TOP_FIELD; in beginDecodingFrame()
441 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; in beginDecodingFrame()
444 mAcquiredBuffer->renderBuffer.flag = 0; in beginDecodingFrame()
445 mAcquiredBuffer->renderBuffer.timeStamp = mCurrentPTS; in beginDecodingFrame()
449 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; in beginDecodingFrame()
462 if (mAcquiredBuffer == NULL || mAcquiredBuffer->renderBuffer.surface == VA_INVALID_SURFACE) { in continueDecodingFrame()
504 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in parseClassicSliceHeader()
611 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in parseModularSliceHeader()
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderBase.cpp698 const VideoRenderBuffer *renderBuffer = NULL; in FillRenderBuffer() local
708 renderBuffer = mVideoDecoder->getOutput(true, ErrBufPtr); in FillRenderBuffer()
710 renderBuffer = mVideoDecoder->getOutput(draining, ErrBufPtr); in FillRenderBuffer()
712 if (renderBuffer == NULL) { in FillRenderBuffer()
723 buffer = *pBuffer = mOMXBufferHeaderTypePtrArray[renderBuffer->graphicBufferIndex]; in FillRenderBuffer()
728 if (renderBuffer->scanFormat & (VA_TOP_FIELD | VA_BOTTOM_FIELD)) in FillRenderBuffer()
731 buffer->nTimeStamp = renderBuffer->timeStamp; in FillRenderBuffer()
733 if (renderBuffer->flag & IS_EOS) { in FillRenderBuffer()
736 *isResolutionChange = (renderBuffer->flag & IS_RESOLUTION_CHANGE)? OMX_TRUE: OMX_FALSE; in FillRenderBuffer()
751 … mVideoDecoder->getRawDataFromSurface(const_cast<VideoRenderBuffer *>(renderBuffer), buffer->pBuff… in FillRenderBuffer()
[all …]
/hardware/intel/common/libmix/videodecoder/securevideo/baytrail/
DVideoDecoderAVCSecure.cpp243 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()

12