Lines Matching refs:video_dec_ctx
50 AVCodecContext * video_dec_ctx; member
183 int width = player->ffmpeg_ctx->video_dec_ctx->width; in lv_ffmpeg_player_set_src()
184 int height = player->ffmpeg_ctx->video_dec_ctx->height; in lv_ffmpeg_player_set_src()
384 int width = ffmpeg_ctx->video_dec_ctx->width; in ffmpeg_output_video_frame()
385 int height = ffmpeg_ctx->video_dec_ctx->height; in ffmpeg_output_video_frame()
390 || frame->format != ffmpeg_ctx->video_dec_ctx->pix_fmt) { in ffmpeg_output_video_frame()
402 av_get_pix_fmt_name(ffmpeg_ctx->video_dec_ctx->pix_fmt), in ffmpeg_output_video_frame()
415 ffmpeg_ctx->video_dec_ctx->pix_fmt, width, height); in ffmpeg_output_video_frame()
420 if(ffmpeg_pix_fmt_is_yuv(ffmpeg_ctx->video_dec_ctx->pix_fmt)) { in ffmpeg_output_video_frame()
439 width, height, ffmpeg_ctx->video_dec_ctx->pix_fmt, in ffmpeg_output_video_frame()
577 AVCodecContext * video_dec_ctx = NULL; in ffmpeg_get_image_header() local
607 if(ffmpeg_open_codec_context(&video_stream_idx, &video_dec_ctx, in ffmpeg_get_image_header()
610 bool has_alpha = ffmpeg_pix_fmt_has_alpha(video_dec_ctx->pix_fmt); in ffmpeg_get_image_header()
613 header->w = video_dec_ctx->width; in ffmpeg_get_image_header()
614 header->h = video_dec_ctx->height; in ffmpeg_get_image_header()
622 avcodec_free_context(&video_dec_ctx); in ffmpeg_get_image_header()
657 ret = ffmpeg_decode_packet(ffmpeg_ctx->video_dec_ctx, in ffmpeg_update_next_frame()
773 &(ffmpeg_ctx->video_dec_ctx), in ffmpeg_open_file()
778 ffmpeg_ctx->has_alpha = ffmpeg_pix_fmt_has_alpha(ffmpeg_ctx->video_dec_ctx->pix_fmt); in ffmpeg_open_file()
808 ffmpeg_ctx->video_dec_ctx->width, in ffmpeg_image_allocate()
809 ffmpeg_ctx->video_dec_ctx->height, in ffmpeg_image_allocate()
810 ffmpeg_ctx->video_dec_ctx->pix_fmt, in ffmpeg_image_allocate()
823 ffmpeg_ctx->video_dec_ctx->width, in ffmpeg_image_allocate()
824 ffmpeg_ctx->video_dec_ctx->height, in ffmpeg_image_allocate()
857 avcodec_free_context(&(ffmpeg_ctx->video_dec_ctx)); in ffmpeg_close_src_ctx()