Home
last modified time | relevance | path

Searched refs:video_dec_ctx (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/doc/examples/
H A Ddemuxing_decoding.c39 static AVCodecContext *video_dec_ctx = NULL, *audio_dec_ctx; variable
257 if (open_codec_context(&video_stream_idx, &video_dec_ctx, fmt_ctx, AVMEDIA_TYPE_VIDEO) >= 0) { in main()
268 width = video_dec_ctx->width; in main()
269 height = video_dec_ctx->height; in main()
270 pix_fmt = video_dec_ctx->pix_fmt; in main()
323 ret = decode_packet(video_dec_ctx, pkt); in main()
332 if (video_dec_ctx) in main()
333 decode_packet(video_dec_ctx, NULL); in main()
370 avcodec_free_context(&video_dec_ctx); in main()
H A Dextract_mvs.c29 static AVCodecContext *video_dec_ctx = NULL; variable
39 int ret = avcodec_send_packet(video_dec_ctx, pkt); in decode_packet()
46 ret = avcodec_receive_frame(video_dec_ctx, frame); in decode_packet()
118 video_dec_ctx = dec_ctx; in open_codec_context()
184 avcodec_free_context(&video_dec_ctx); in main()

Completed in 2 milliseconds