Lines Matching refs:o_frame
120 AVFrame *o_frame;
289 o_frame = avcodec_alloc_frame();
291 if (!i_frame || !o_frame)
312 avpicture_fill((AVPicture *)o_frame, buf, dst->pix_fmt, src->width, src->height);
359 sws_scale(swsctx, (const uint8_t * const *)i_frame->data, i_frame->linesize, 0, src->height, o_frame->data, o_frame->linesize);
361 sws_scale(swsctx, i_frame->data, i_frame->linesize, 0, src->height, o_frame->data, o_frame->linesize);
401 ret = avcodec_encode_video(dst, outbuf, outbuf_len, o_frame);
477 if (o_frame)
478 av_free(o_frame);