/hardware/intel/common/libmix/videodecoder/ |
D | VideoDecoderVP8.cpp | 226 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 …]
|
D | VideoDecoderWMV.cpp | 174 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 …]
|
D | VideoDecoderBase.cpp | 41 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 …]
|
D | VideoDecoderMPEG4.cpp | 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() 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 …]
|
D | VideoDecoderMPEG2.cpp | 169 …mAcquiredBuffer->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()
|
D | VideoDecoderAVC.cpp | 224 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 …]
|
D | VideoDecoderBase.h | 136 VideoSurfaceBuffer *mAcquiredBuffer; variable
|
/hardware/intel/common/libmix/videodecoder/securevideo/merrifield/ |
D | VideoDecoderAVCSecure.cpp | 415 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/ |
D | VideoDecoderAVCSecure.cpp | 433 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/ |
D | VideoDecoderAVCSecure.cpp | 220 mAcquiredBuffer->pictureOrder= picParam->CurrPic.TopFieldOrderCnt; in decodeSlice() 227 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()
|
/hardware/intel/common/libmix/videodecoder/securevideo/baytrail/ |
D | VideoDecoderAVCSecure.cpp | 236 mAcquiredBuffer->pictureOrder= picParam->CurrPic.TopFieldOrderCnt; in decodeSlice() 243 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()
|
/hardware/intel/common/libmix/videodecoder/securevideo/merrplus/ |
D | VideoDecoderAVCSecure.cpp | 234 mAcquiredBuffer->pictureOrder= picParam->CurrPic.TopFieldOrderCnt; in decodeSlice() 247 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()
|
/hardware/intel/common/libmix/videodecoder/securevideo/clovertrail/ |
D | VideoDecoderAVCSecure.cpp | 230 mAcquiredBuffer->pictureOrder= picParam->CurrPic.TopFieldOrderCnt; in decodeSlice() 243 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); in decodeSlice()
|