Lines Matching refs:mFrame

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()
312 H264_DPRINT("format is %d and NV21 is %d 12 is %d", mFrame->format, (int)AV_PIX_FMT_NV21, in copyFrame()
314 if (mFrame->format == AV_PIX_FMT_NV12) { in copyFrame()
317 mFrame->data[1] + i * mFrame->linesize[1], w); in copyFrame()
324 mFrame->data[1] + i * mFrame->linesize[1], w / 2); in copyFrame()
328 mFrame->data[2] + i * mFrame->linesize[2], w / 2); in copyFrame()
331 mColorPrimaries = mFrame->color_primaries; in copyFrame()
332 mColorRange = mFrame->color_range; in copyFrame()
333 mColorTransfer = mFrame->color_trc; in copyFrame()
334 mColorSpace = mFrame->colorspace; in copyFrame()
335 mOutputPts = mFrame->pts; in copyFrame()
336 H264_DPRINT("copied Frame and it has presentation time at %lld", (long long)(mFrame->pts)); in copyFrame()
337 H264_DPRINT("Frame primary %d range %d transfer %d space %d", mFrame->color_primaries, in copyFrame()
338 mFrame->color_range, mFrame->color_trc, mFrame->colorspace); in copyFrame()
374 int retframe = avcodec_receive_frame(mCodecCtx, mFrame); in getImage()
458 avcodec_receive_frame(mCodecCtx, mFrame); in oneShotDecode()