Lines Matching refs:frame
50 AVFrame * frame; member
392 AVFrame * frame = ffmpeg_ctx->frame; in ffmpeg_output_video_frame() local
394 if(frame->width != width in ffmpeg_output_video_frame()
395 || frame->height != height in ffmpeg_output_video_frame()
396 || frame->format != ffmpeg_ctx->video_dec_ctx->pix_fmt) { in ffmpeg_output_video_frame()
409 frame->width, frame->height, in ffmpeg_output_video_frame()
410 av_get_pix_fmt_name(frame->format)); in ffmpeg_output_video_frame()
414 LV_LOG_TRACE("video_frame coded_n:%d", frame->coded_picture_number); in ffmpeg_output_video_frame()
420 (const uint8_t **)(frame->data), frame->linesize, in ffmpeg_output_video_frame()
490 ret = avcodec_receive_frame(dec, ffmpeg_ctx->frame); in ffmpeg_decode_packet()
510 av_frame_unref(ffmpeg_ctx->frame); in ffmpeg_decode_packet()
763 ffmpeg_ctx->frame = av_frame_alloc(); in ffmpeg_image_allocate()
765 if(ffmpeg_ctx->frame == NULL) { in ffmpeg_image_allocate()
782 av_frame_free(&(ffmpeg_ctx->frame)); in ffmpeg_close_src_ctx()