Home
last modified time | relevance | path

Searched refs:mDecodedFrame (Results 1 – 7 of 7) sorted by relevance

/hardware/google/aemu/host-common/
DMediaVideoToolBoxVideoHelper.cpp353 ptr->mDecodedFrame = CVPixelBufferRetain(image_buffer); in videoToolboxDecompressCallback()
362 CVPixelBufferRelease(ptr->mDecodedFrame); in videoToolboxDecompressCallback()
363 ptr->mDecodedFrame = nullptr; in videoToolboxDecompressCallback()
460 if (mDecodedFrame) { in resetDecoderSession()
461 CVPixelBufferRelease(mDecodedFrame); in resetDecoderSession()
462 mDecodedFrame = nullptr; in resetDecoderSession()
588 CVPixelBufferGetIOSurface(mDecodedFrame), mOutputWidth, in copyFrameToTextures()
591 CVPixelBufferGetIOSurface(mDecodedFrame), mOutputWidth, in copyFrameToTextures()
616 int imageSize = CVPixelBufferGetDataSize(mDecodedFrame); in copyFrameToCPU()
617 int stride = CVPixelBufferGetBytesPerRow(mDecodedFrame); in copyFrameToCPU()
[all …]
DMediaH264DecoderVideoToolBox.cpp76 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()
[all …]
DMediaFfmpegVideoHelper.cpp126 mDecodedFrame.resize(w * h * 3 / 2); in copyFrame()
130 memcpy(mDecodedFrame.data() + i * w, in copyFrame()
137 memcpy(w * h + mDecodedFrame.data() + i * w, in copyFrame()
141 convert8.UVInterleavedToPlanar(mDecodedFrame.data()); in copyFrame()
144 memcpy(w * h + mDecodedFrame.data() + i * w / 2, in copyFrame()
148 memcpy(w * h + w * h / 4 + mDecodedFrame.data() + i * w / 2, in copyFrame()
181 std::move(mDecodedFrame), std::vector<uint32_t>{}, in fetchAllFrames()
DMediaH264DecoderFfmpeg.cpp79 mDecodedFrame.resize(mOutBufferSize); in initH264ContextInternal()
304 mDecodedFrame.resize(mOutBufferSize); in copyFrame()
309 memcpy(mDecodedFrame.data() + i * w, in copyFrame()
316 memcpy(w * h + mDecodedFrame.data() + i * w, in copyFrame()
320 convert8.UVInterleavedToPlanar(mDecodedFrame.data()); in copyFrame()
323 memcpy(w * h + mDecodedFrame.data() + i * w / 2, in copyFrame()
327 memcpy(w * h + w * h / 4 + mDecodedFrame.data() + i * w / 2, in copyFrame()
410 memcpy(dst, mDecodedFrame.data(), mOutBufferSize); in getImage()
415 mDecodedFrame.data()); in getImage()
418 memcpy(dst, mDecodedFrame.data(), mOutBufferSize); in getImage()
[all …]
/hardware/google/aemu/host-common/include/host-common/
DMediaFfmpegVideoHelper.h66 std::vector<uint8_t> mDecodedFrame;
DMediaVideoToolBoxVideoHelper.h171 CVPixelBufferRef mDecodedFrame = nullptr; variable
DMediaH264DecoderVideoToolBox.h120 CVImageBufferRef mDecodedFrame = nullptr; variable