Lines Matching refs:video_dec_ctx

45     AVCodecContext * video_dec_ctx;  member
174 int width = player->ffmpeg_ctx->video_dec_ctx->width; in lv_ffmpeg_player_set_src()
175 int height = player->ffmpeg_ctx->video_dec_ctx->height; in lv_ffmpeg_player_set_src()
390 int width = ffmpeg_ctx->video_dec_ctx->width; in ffmpeg_output_video_frame()
391 int height = ffmpeg_ctx->video_dec_ctx->height; in ffmpeg_output_video_frame()
396 || frame->format != ffmpeg_ctx->video_dec_ctx->pix_fmt) { in ffmpeg_output_video_frame()
408 av_get_pix_fmt_name(ffmpeg_ctx->video_dec_ctx->pix_fmt), in ffmpeg_output_video_frame()
421 ffmpeg_ctx->video_dec_ctx->pix_fmt, width, height); in ffmpeg_output_video_frame()
426 if(ffmpeg_pix_fmt_is_yuv(ffmpeg_ctx->video_dec_ctx->pix_fmt)) { in ffmpeg_output_video_frame()
445 width, height, ffmpeg_ctx->video_dec_ctx->pix_fmt, in ffmpeg_output_video_frame()
583 AVCodecContext * video_dec_ctx = NULL; in ffmpeg_get_img_header() local
598 if(ffmpeg_open_codec_context(&video_stream_idx, &video_dec_ctx, in ffmpeg_get_img_header()
601 bool has_alpha = ffmpeg_pix_fmt_has_alpha(video_dec_ctx->pix_fmt); in ffmpeg_get_img_header()
604 header->w = video_dec_ctx->width; in ffmpeg_get_img_header()
605 header->h = video_dec_ctx->height; in ffmpeg_get_img_header()
613 avcodec_free_context(&video_dec_ctx); in ffmpeg_get_img_header()
645 ret = ffmpeg_decode_packet(ffmpeg_ctx->video_dec_ctx, in ffmpeg_update_next_frame()
701 &(ffmpeg_ctx->video_dec_ctx), in ffmpeg_open_file()
706 ffmpeg_ctx->has_alpha = ffmpeg_pix_fmt_has_alpha(ffmpeg_ctx->video_dec_ctx->pix_fmt); in ffmpeg_open_file()
736 ffmpeg_ctx->video_dec_ctx->width, in ffmpeg_image_allocate()
737 ffmpeg_ctx->video_dec_ctx->height, in ffmpeg_image_allocate()
738 ffmpeg_ctx->video_dec_ctx->pix_fmt, in ffmpeg_image_allocate()
751 ffmpeg_ctx->video_dec_ctx->width, in ffmpeg_image_allocate()
752 ffmpeg_ctx->video_dec_ctx->height, in ffmpeg_image_allocate()
780 avcodec_free_context(&(ffmpeg_ctx->video_dec_ctx)); in ffmpeg_close_src_ctx()