Home
last modified time | relevance | path

Searched refs:video_stream (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/tests/api/
Dapi-h264-test.c43 int video_stream; in video_decode_example() local
60 video_stream = av_find_best_stream(fmt_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); in video_decode_example()
61 if (video_stream < 0) { in video_decode_example()
66 origin_par = fmt_ctx->streams[video_stream]->codecpar; in video_decode_example()
111 …printf("#tb %d: %d/%d\n", video_stream, fmt_ctx->streams[video_stream]->time_base.num, fmt_ctx->st… in video_decode_example()
117 if (result >= 0 && pkt->stream_index != video_stream) { in video_decode_example()
156 printf("%d, %s, %s, %8"PRId64", %8d, 0x%08lx\n", video_stream, in video_decode_example()
Dapi-seek-test.c75 static int compute_crc_of_packets(AVFormatContext *fmt_ctx, int video_stream, in compute_crc_of_packets() argument
93 result = av_seek_frame(fmt_ctx, video_stream, ts_start, AVSEEK_FLAG_ANY); in compute_crc_of_packets()
104 if (result >= 0 && pkt->stream_index != video_stream) { in compute_crc_of_packets()
193 int video_stream; in seek_test() local
223 video_stream = av_find_best_stream(fmt_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); in seek_test()
224 if (video_stream < 0) { in seek_test()
226 result = video_stream; in seek_test()
230 origin_par = fmt_ctx->streams[video_stream]->codecpar; in seek_test()
272 result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, pkt, fr, 0, 0, 1); in seek_test()
278 result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, pkt, fr, i, j, 0); in seek_test()
Dapi-band-test.c77 int video_stream; in video_decode() local
95 video_stream = av_find_best_stream(fmt_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); in video_decode()
96 if (video_stream < 0) { in video_decode()
101 origin_par = fmt_ctx->streams[video_stream]->codecpar; in video_decode()
165 if (result >= 0 && pkt->stream_index != video_stream) { in video_decode()
/third_party/ffmpeg/libavformat/
Dyop.c62 AVStream *audio_stream, *video_stream; in yop_read_header() local
67 video_stream = avformat_new_stream(s, NULL); in yop_read_header()
68 if (!audio_stream || !video_stream) in yop_read_header()
80 video_par = video_stream->codecpar; in yop_read_header()
91 video_stream->sample_aspect_ratio = (AVRational){1, 2}; in yop_read_header()
111 avpriv_set_pts_info(video_stream, 32, 1, frame_rate); in yop_read_header()
Dlibmodplug.c53 int video_stream; ///< 1 if the user want a video stream, otherwise 0 member
95 …{"video_stream", "Make demuxer output a video stream", OFFSET(video_stream), AV…
247 if (modplug->video_stream) { in modplug_read_header()
294 if (modplug->video_stream) { in modplug_read_packet()
344 if (modplug->video_stream) in modplug_read_packet()
358 if (modplug->video_stream) in modplug_read_seek()
Drmenc.c41 StreamInfo *audio_stream, *video_stream; member
348 rm->video_stream = stream; in rm_write_header()
392 StreamInfo *stream = rm->video_stream; in rm_write_video()
/third_party/ffmpeg/doc/examples/
Dhw_decode.c152 int video_stream, ret; in main() local
192 video_stream = ret; in main()
211 video = input_ctx->streams[video_stream]; in main()
221 fprintf(stderr, "Failed to open codec for stream #%u\n", video_stream); in main()
233 if (video_stream == packet.stream_index) in main()
Dvaapi_transcode.c44 static int video_stream = -1; variable
86 video_stream = ret; in open_input_file()
91 video = ifmt_ctx->streams[video_stream]; in open_input_file()
128 av_packet_rescale_ts(enc_pkt, ifmt_ctx->streams[video_stream]->time_base, in encode_write()
284 if (video_stream == dec_pkt->stream_index) in main()
Ddemuxing_decoding.c41 static AVStream *video_stream = NULL, *audio_stream = NULL; variable
258 video_stream = fmt_ctx->streams[video_stream_idx]; in main()
293 if (!audio_stream && !video_stream) { in main()
313 if (video_stream) in main()
339 if (video_stream) { in main()
Dextract_mvs.c29 static AVStream *video_stream = NULL; variable
114 video_stream = fmt_ctx->streams[video_stream_idx]; in open_codec_context()
146 if (!video_stream) { in main()
/third_party/gstreamer/gstplugins_base/ext/ogg/
Dgstoggparse.c76 GstOggStream *video_stream; /* Stream used to construct delta_unit flags */ member
143 parser->video_stream = stream; in gst_ogg_parse_new_stream()
413 if (ogg->video_stream) { in gst_ogg_parse_chain()
414 if (stream == ogg->video_stream) { in gst_ogg_parse_chain()
/third_party/ffmpeg/fftools/
Dffplay.c284 int video_stream; member
1251 is->video_stream = -1; in stream_component_close()
1271 if (is->video_stream >= 0) in stream_close()
1272 stream_component_close(is, is->video_stream); in stream_close()
1459 if (is->video_stream >= 0 && is->videoq.nb_packets <= EXTERNAL_CLOCK_MIN_FRAMES || in check_external_clock_speed()
1462 } else if ((is->video_stream < 0 || is->videoq.nb_packets > EXTERNAL_CLOCK_MAX_FRAMES) && in check_external_clock_speed()
2694 is->video_stream = stream_index; in stream_component_open()
2925 if (is->video_stream < 0 && is->audio_stream < 0) { in read_thread()
2971 if (is->video_stream >= 0) in read_thread()
2990 packet_queue_put_nullpacket(&is->videoq, pkt, is->video_stream); in read_thread()
[all …]
/third_party/ffmpeg/doc/
Ddemuxers.texi565 @item video_stream