Searched refs:mFrame (Results 1 – 3 of 3) sorted by relevance
/hardware/google/aemu/host-common/ |
D | MediaFfmpegVideoHelper.cpp | 92 mFrame = av_frame_alloc(); in init() 117 if (mFrame) { in deInit() 118 av_frame_free(&mFrame); in deInit() 119 mFrame = NULL; in deInit() 124 int w = mFrame->width; in copyFrame() 125 int h = mFrame->height; in copyFrame() 128 mFrame->linesize[0], mFrame->linesize[1], mFrame->linesize[2]); in copyFrame() 131 mFrame->data[0] + i * mFrame->linesize[0], w); in copyFrame() 133 MEDIA_DPRINT("format is %d and NV21 is %d NV12 is %d", mFrame->format, in copyFrame() 135 if (mFrame->format == AV_PIX_FMT_NV12) { in copyFrame() [all …]
|
D | MediaH264DecoderFfmpeg.cpp | 118 mFrame = av_frame_alloc(); in initH264ContextInternal() 142 if (mFrame) { in destroyH264Context() 143 av_frame_free(&mFrame); in destroyH264Context() 144 mFrame = NULL; in destroyH264Context() 270 int retframe = avcodec_receive_frame(mCodecCtx, mFrame); in decodeFrameInternal() 288 mFrame->width, mFrame->height, in decodeFrameInternal() 298 int w = mFrame->width; in copyFrame() 299 int h = mFrame->height; in copyFrame() 307 mFrame->linesize[0], mFrame->linesize[1], mFrame->linesize[2]); in copyFrame() 310 mFrame->data[0] + i * mFrame->linesize[0], w); in copyFrame() [all …]
|
/hardware/google/aemu/host-common/include/host-common/ |
D | MediaFfmpegVideoHelper.h | 74 AVFrame* mFrame = nullptr; variable
|