Home
last modified time | relevance | path

Searched refs:mAcquiredBuffer (Results 1 – 13 of 13) sorted by relevance

/hardware/intel/common/libmix/videodecoder/
DVideoDecoderVP8.cpp226 mAcquiredBuffer->referenceFrame = (frameType == VP8_KEY_FRAME || frameType == VP8_INTER_FRAME); in decodeFrame()
228 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()
410 mRFBs[0][VP8_LAST_REF_PIC].surfaceBuffer = mAcquiredBuffer; in refreshLastReference()
[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()
180 mAcquiredBuffer->referenceFrame = true; 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()
[all …]
DVideoDecoderBase.cpp41 mAcquiredBuffer(NULL), in VideoDecoderBase()
186 mAcquiredBuffer = NULL; in stop()
232 mAcquiredBuffer = NULL; in flush()
435 if (mAcquiredBuffer && mAcquiredBuffer->asReferernce) {
591 if (mAcquiredBuffer != NULL) { in acquireSurfaceBuffer()
639 mAcquiredBuffer = acquiredBuffer; in acquireSurfaceBuffer()
644 mAcquiredBuffer->renderBuffer.surface = mSurfaces[mSurfaceAcquirePos]; in acquireSurfaceBuffer()
645 if (mSurfaceUserPtr && mAcquiredBuffer->mappedData) { in acquireSurfaceBuffer()
646 mAcquiredBuffer->mappedData->data = mSurfaceUserPtr[mSurfaceAcquirePos]; in acquireSurfaceBuffer()
648 mAcquiredBuffer->renderBuffer.timeStamp = INVALID_PTS; in acquireSurfaceBuffer()
[all …]
DVideoDecoderMPEG4.cpp253 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()
259 mAcquiredBuffer->referenceFrame = true; in beginDecodingFrame()
352 mAcquiredBuffer->renderBuffer.timeStamp += increment; in continueDecodingFrame()
355 mCurrentPTS = mAcquiredBuffer->renderBuffer.timeStamp; in continueDecodingFrame()
408 mAcquiredBuffer->referenceFrame = (codingType != MP4_VOP_TYPE_B); in continueDecodingFrame()
412 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD | VA_TOP_FIELD; in continueDecodingFrame()
414 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; in continueDecodingFrame()
[all …]
DVideoDecoderMPEG2.cpp169mAcquiredBuffer->referenceFrame = (frameType == MPEG2_PICTURE_TYPE_I || frameType == MPEG2_PICTURE… in decodeFrame()
174 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()
DVideoDecoderAVC.cpp224 mAcquiredBuffer->referenceFrame = true; in beginDecodingFrame()
226 mAcquiredBuffer->referenceFrame = false; in beginDecodingFrame()
231 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()
239 mAcquiredBuffer->pictureOrder = getPOC(picture); in beginDecodingFrame()
242 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; in beginDecodingFrame()
257 if (mAcquiredBuffer == NULL || mAcquiredBuffer->renderBuffer.surface == VA_INVALID_SURFACE) { in continueDecodingFrame()
317 if (poc < mAcquiredBuffer->pictureOrder) { in decodeSlice()
[all …]
DVideoDecoderBase.h136 VideoSurfaceBuffer *mAcquiredBuffer; variable
/hardware/intel/common/libmix/videodecoder/securevideo/merrifield/
DVideoDecoderAVCSecure.cpp415 mAcquiredBuffer->referenceFrame = true; in beginDecodingFrame()
417 mAcquiredBuffer->referenceFrame = false; in beginDecodingFrame()
421 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()
428 mAcquiredBuffer->pictureOrder = getPOC(picture); 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()
[all …]
/hardware/intel/common/libmix/videodecoder/securevideo/moorefield/
DVideoDecoderAVCSecure.cpp433 mAcquiredBuffer->referenceFrame = true; in beginDecodingFrame()
435 mAcquiredBuffer->referenceFrame = false; in beginDecodingFrame()
439 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()
446 mAcquiredBuffer->pictureOrder = getPOC(picture); 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()
[all …]
/hardware/intel/common/libmix/videodecoder/securevideo/cherrytrail/
DVideoDecoderAVCSecure.cpp220 mAcquiredBuffer->pictureOrder= picParam->CurrPic.TopFieldOrderCnt; in decodeSlice()
227 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()
/hardware/intel/common/libmix/videodecoder/securevideo/baytrail/
DVideoDecoderAVCSecure.cpp236 mAcquiredBuffer->pictureOrder= picParam->CurrPic.TopFieldOrderCnt; in decodeSlice()
243 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()
/hardware/intel/common/libmix/videodecoder/securevideo/merrplus/
DVideoDecoderAVCSecure.cpp234 mAcquiredBuffer->pictureOrder= picParam->CurrPic.TopFieldOrderCnt; in decodeSlice()
247 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()
/hardware/intel/common/libmix/videodecoder/securevideo/clovertrail/
DVideoDecoderAVCSecure.cpp230 mAcquiredBuffer->pictureOrder= picParam->CurrPic.TopFieldOrderCnt; in decodeSlice()
243 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()