Lines Matching refs:mFrame
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()
138 mFrame->data[1] + i * mFrame->linesize[1], w); in copyFrame()
145 mFrame->data[1] + i * mFrame->linesize[1], w / 2); in copyFrame()
149 mFrame->data[2] + i * mFrame->linesize[2], w / 2); in copyFrame()
153 (long long)(mFrame->pts)); in copyFrame()
165 int retframe = avcodec_receive_frame(mCodecCtx, mFrame); in fetchAllFrames()
182 (int)mFrame->width, (int)mFrame->height, (uint64_t)mFrame->pts, in fetchAllFrames()
183 ColorAspects{mFrame->color_primaries, mFrame->color_range, in fetchAllFrames()
184 mFrame->color_trc, mFrame->colorspace}}); in fetchAllFrames()