Lines Matching refs:mDecodedFrame
76 if (ptr->mDecodedFrame) { in videoToolboxDecompressCallback()
77 CVPixelBufferRelease(ptr->mDecodedFrame); in videoToolboxDecompressCallback()
78 ptr->mDecodedFrame = nullptr; in videoToolboxDecompressCallback()
87 ptr->mDecodedFrame = CVPixelBufferRetain(image_buffer); in videoToolboxDecompressCallback()
267 if (mDecodedFrame) { in destroyH264Context()
268 CVPixelBufferRelease(mDecodedFrame); in destroyH264Context()
269 mDecodedFrame = nullptr; in destroyH264Context()
490 int imgWidth = CVPixelBufferGetWidth(mDecodedFrame); in copyFrame()
491 int imgHeight = CVPixelBufferGetHeight(mDecodedFrame); in copyFrame()
492 int imageSize = CVPixelBufferGetDataSize(mDecodedFrame); in copyFrame()
493 int stride = CVPixelBufferGetBytesPerRow(mDecodedFrame); in copyFrame()
505 CVPixelBufferLockBaseAddress(mDecodedFrame, kCVPixelBufferLock_ReadOnly); in copyFrame()
506 if (CVPixelBufferIsPlanar(mDecodedFrame)) { in copyFrame()
508 int planes = CVPixelBufferGetPlaneCount(mDecodedFrame); in copyFrame()
510 void* planeData = CVPixelBufferGetBaseAddressOfPlane(mDecodedFrame, i); in copyFrame()
511 int linesize = CVPixelBufferGetBytesPerRowOfPlane(mDecodedFrame, i); in copyFrame()
512 int planeWidth = CVPixelBufferGetWidthOfPlane(mDecodedFrame, i); in copyFrame()
513 int planeHeight = CVPixelBufferGetHeightOfPlane(mDecodedFrame, i); in copyFrame()
550 void* data = CVPixelBufferGetBaseAddress(mDecodedFrame); in copyFrame()
553 CVPixelBufferUnlockBaseAddress(mDecodedFrame, kCVPixelBufferLock_ReadOnly); in copyFrame()
573 if (!mDecodedFrame) { in getImage()
630 if (mDecodedFrame) { in recreateDecompressionSession()
631 CVPixelBufferRelease(mDecodedFrame); in recreateDecompressionSession()
632 mDecodedFrame = nullptr; in recreateDecompressionSession()