Home
last modified time | relevance | path

Searched refs:video_stream (Results 1 - 11 of 11) sorted by relevance

/third_party/ffmpeg/tests/api/
H A 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->streams[video_stream]->time_base.den); 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%08"PRIx32"\n", video_stream, in video_decode_example()
H A 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, ct in seek_test()
[all...]
H A 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/
H A Dyop.c63 AVStream *audio_stream, *video_stream; in yop_read_header() local
68 video_stream = avformat_new_stream(s, NULL); in yop_read_header()
69 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()
H A 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_OPT_TYPE_INT, {.i64 = 0}, 0, 1, D},
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()
H A 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/
H A Dhw_decode.c152 int video_stream, ret; in main() local
198 video_stream = ret; in main()
217 video = input_ctx->streams[video_stream]; in main()
227 fprintf(stderr, "Failed to open codec for stream #%u\n", video_stream); in main()
239 if (video_stream == packet->stream_index) in main()
H A 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()
H A Ddemuxing_decoding.c42 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()
H A Dextract_mvs.c30 static AVStream *video_stream = NULL; variable
117 video_stream = fmt_ctx->streams[video_stream_idx]; in open_codec_context()
149 if (!video_stream) { in main()
/third_party/ffmpeg/fftools/
H A Dffplay.c283 int video_stream; member
1239 is->video_stream = -1; in stream_component_close()
1259 if (is->video_stream >= 0) in stream_close()
1260 stream_component_close(is, is->video_stream); in stream_close()
1447 if (is->video_stream >= 0 && is->videoq.nb_packets <= EXTERNAL_CLOCK_MIN_FRAMES || in check_external_clock_speed()
1450 } else if ((is->video_stream < 0 || is->videoq.nb_packets > EXTERNAL_CLOCK_MAX_FRAMES) && in check_external_clock_speed()
2680 is->video_stream = stream_index; in stream_component_open()
2914 if (is->video_stream < 0 && is->audio_stream < 0) { in read_thread()
2960 if (is->video_stream >= 0) in read_thread()
2979 packet_queue_put_nullpacket(&is->videoq, pkt, is->video_stream); in read_thread()
[all...]

Completed in 11 milliseconds