Home
last modified time | relevance | path

Searched refs:nb_streams (Results 1 – 25 of 181) sorted by relevance

12345678

/third_party/ffmpeg/libavformat/
Daixdec.c38 unsigned nb_streams, first_offset, nb_segments; in aix_read_header() local
55 nb_streams = avio_r8(s->pb); in aix_read_header()
56 if (nb_streams == 0) in aix_read_header()
59 for (i = 0; i < nb_streams; i++) { in aix_read_header()
73 for (i = 0; i < nb_streams; i++) { in aix_read_header()
99 for (i = 0; i < s->nb_streams; i++) { in aix_read_packet()
116 if (avio_r8(s->pb) != s->nb_streams || index >= s->nb_streams) in aix_read_packet()
Dwebmdashenc.c44 int nb_streams; member
70 for (i = 0; i < s->nb_streams; i++) { in get_duration()
133 for (i = 1; i < as->nb_streams; i++) { in subsegment_alignment()
149 for (i = 1; i < as->nb_streams; i++) { in bitstream_switching()
230 if (as->nb_streams < 2) return 1; in check_matching_width()
232 for (i = 1; i < as->nb_streams; i++) in check_matching_width()
244 if (as->nb_streams < 2) return 1; in check_matching_height()
246 for (i = 1; i < as->nb_streams; i++) in check_matching_height()
258 if (as->nb_streams < 2) return 1; in check_matching_sample_rate()
260 for (i = 1; i < as->nb_streams; i++) in check_matching_sample_rate()
[all …]
Dlvfdec.c41 unsigned size, nb_streams, id; in lvf_read_header() local
44 nb_streams = avio_rl32(s->pb); in lvf_read_header()
45 if (!nb_streams) in lvf_read_header()
47 if (nb_streams > 2) { in lvf_read_header()
48 avpriv_request_sample(s, "%d streams", nb_streams); in lvf_read_header()
126 if (stream_index >= s->nb_streams) in lvf_read_packet()
Dconcatdec.c54 int nb_streams; member
242 for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { in match_streams_one_to_one()
243 if (i < avf->nb_streams) { in match_streams_one_to_one()
262 for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { in match_streams_exact_id()
264 for (j = 0; j < avf->nb_streams; j++) { in match_streams_exact_id()
284 if (cat->cur_file->nb_streams >= cat->avf->nb_streams) in match_streams()
287 cat->avf->nb_streams * sizeof(*map)); in match_streams()
291 memset(map + cat->cur_file->nb_streams, 0, in match_streams()
292 (cat->avf->nb_streams - cat->cur_file->nb_streams) * sizeof(*map)); in match_streams()
294 for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { in match_streams()
[all …]
Dhdsenc.c76 int nb_streams; member
141 for (i = 0; i < s->nb_streams; i++) { in hds_free()
168 if (c->nb_streams > 0) in write_manifest()
186 for (i = 0; i < c->nb_streams; i++) { in write_manifest()
329 c->streams = av_mallocz_array(s->nb_streams, sizeof(*c->streams)); in hds_write_header()
334 for (i = 0; i < s->nb_streams; i++) { in hds_write_header()
335 OutputStream *os = &c->streams[c->nb_streams]; in hds_write_header()
345 c->nb_streams++; in hds_write_header()
351 c->nb_streams++; in hds_write_header()
381 s->streams[i]->id = c->nb_streams; in hds_write_header()
[all …]
Davidec.c196 if (stream_id >= s->nb_streams || stream_id < 0) in read_odml_index()
281 for (i = 0; i < s->nb_streams; i++) { in clean_index()
440 for (i = 0; i<s->nb_streams; i++) { in calculate_bitrate()
457 for (i = 0; i<s->nb_streams; i++) { in calculate_bitrate()
605 if (s->nb_streams != 1) in avi_read_header()
640 stream_index = s->nb_streams - 1; in avi_read_header()
645 av_assert0(stream_index < s->nb_streams); in avi_read_header()
736 if (stream_index >= (unsigned)s->nb_streams || avi->dv_demux) { in avi_read_header()
932 if (stream_index >= (unsigned)s->nb_streams in avi_read_header()
969 if (stream_index < (unsigned)s->nb_streams && size > 9 * 4) { in avi_read_header()
[all …]
Dmov.c583 if (c->fc->nb_streams < 1) in mov_read_dref()
585 st = c->fc->streams[c->fc->nb_streams-1]; in mov_read_dref()
745 st = c->fc->streams[c->fc->nb_streams-1]; in mov_read_hdlr()
796 if (c->fc->nb_streams < 1) in mov_read_dac3()
798 st = c->fc->streams[c->fc->nb_streams-1]; in mov_read_dac3()
832 if (c->fc->nb_streams < 1) in mov_read_dec3()
834 st = c->fc->streams[c->fc->nb_streams-1]; in mov_read_dec3()
881 if (c->fc->nb_streams < 1) { in mov_read_ddts()
884 st = c->fc->streams[c->fc->nb_streams-1]; in mov_read_ddts()
924 if (c->fc->nb_streams < 1) in mov_read_chan()
[all …]
Dluodatdec.c84 for (stream_index = 0; stream_index < s->nb_streams; stream_index++) { in dat_read_packet()
89 if (stream_index == s->nb_streams) { in dat_read_packet()
103 if (index >= s->nb_streams) in dat_read_packet()
Dmov_esds.c28 if (fc->nb_streams < 1) in ff_mov_read_esds()
30 st = fc->streams[fc->nb_streams-1]; in ff_mov_read_esds()
Dswfdec.c242 for (i=0; i<s->nb_streams; i++) { in swf_read_packet()
264 for (i=0; i<s->nb_streams; i++) { in swf_read_packet()
281 for (i=0; i<s->nb_streams; i++) { in swf_read_packet()
308 for(i=0; i<s->nb_streams; i++) { in swf_read_packet()
403 for (i = 0; i < s->nb_streams; i++) { in swf_read_packet()
408 if (i == s->nb_streams) { in swf_read_packet()
479 for (i = 0; i < s->nb_streams; i++) { in swf_read_packet()
501 for (i=0; i<s->nb_streams; i++) { in swf_read_packet()
506 if (i == s->nb_streams) { in swf_read_packet()
Dsapenc.c47 for (i = 0; i < s->nb_streams; i++) { in sap_write_close()
136 contexts = av_mallocz_array(s->nb_streams, sizeof(AVFormatContext*)); in sap_write_header()
144 for (i = 0; i < s->nb_streams; i++) { in sap_write_header()
172 if (s->nb_streams > 0 && title) in sap_write_header()
229 if (av_sdp_create(contexts, s->nb_streams, &sap->ann[pos], in sap_write_header()
Drtpdec_qt.c140 int nb_streams = s->nb_streams; in qt_rtp_parse_packet() local
153 s->nb_streams = st->index + 1; in qt_rtp_parse_packet()
159 s->nb_streams = nb_streams; in qt_rtp_parse_packet()
Dsapdec.c175 for (i = 0; i < sap->sdp_ctx->nb_streams; i++) { in sap_read_header()
223 while (sap->sdp_ctx->nb_streams > s->nb_streams) { in sap_fetch_packet()
224 int i = s->nb_streams; in sap_fetch_packet()
Drmenc.c85 avio_wb32(s,4 + ctx->nb_streams); /* num headers */ in rv10_write_header()
95 for(i=0;i<ctx->nb_streams;i++) { in rv10_write_header()
122 avio_wb16(s, ctx->nb_streams); /* num streams */ in rv10_write_header()
143 for(i=0;i<ctx->nb_streams;i++) { in rv10_write_header()
320 if (s->nb_streams > 2) { in rm_write_header()
325 for(n=0;n<s->nb_streams;n++) { in rm_write_header()
455 for(i=0;i<s->nb_streams;i++) in rm_write_trailer()
Dtee.c135 for (i = 0; i < avf->nb_streams; ++i) in close_slave()
246 tee_slave->stream_map = av_calloc(avf->nb_streams, sizeof(*tee_slave->stream_map)); in open_slave()
253 for (i = 0; i < avf->nb_streams; i++) { in open_slave()
312 tee_slave->bsfs = av_calloc(avf2->nb_streams, sizeof(*tee_slave->bsfs)); in open_slave()
332 for (i = 0; i < avf2->nb_streams; i++) { in open_slave()
363 for (i = 0; i < avf->nb_streams; i++){ in open_slave()
417 for (i = 0; i < slave->avf->nb_streams; i++) { in log_slave()
500 for (i = 0; i < avf->nb_streams; i++) { in tee_write_header()
Davienc.c167 for (i = 0; i < s->nb_streams; i++) { in avi_start_new_riff()
208 for (n = 0; n < s->nb_streams; n++) { in avi_write_counters()
272 if (s->nb_streams > AVI_MAX_STREAM_COUNT) { in avi_write_header()
282 for (n = 0; n < s->nb_streams; n++) { in avi_write_header()
298 for (n = 0; n < s->nb_streams; n++) { in avi_write_header()
345 avio_wl32(pb, s->nb_streams); /* nb streams */ in avi_write_header()
642 for (i = 0; i < s->nb_streams; i++) { in avi_write_ix()
657 for (i = 0; i < s->nb_streams; i++) { in avi_write_ix()
704 for (i = 0; i < s->nb_streams; i++) { in avi_write_idx1()
711 for (i = 0; i < s->nb_streams; i++) { in avi_write_idx1()
[all …]
Dframehash.c27 if (s->nb_streams && !(s->flags & AVFMT_FLAG_BITEXACT)) in ff_framehash_write_header()
29 for (i = 0; i < s->nb_streams; i++) { in ff_framehash_write_header()
Driffdec.c157 int nb_streams, i; in ff_get_wav_header() local
162 nb_streams = AV_RL16(par->extradata + 4); in ff_get_wav_header()
166 if (size < 8 + nb_streams * 20) in ff_get_wav_header()
168 for (i = 0; i < nb_streams; i++) in ff_get_wav_header()
Dasfdec_o.c120 int nb_streams; member
538 for (i = 0; i < asf->nb_streams; i++) { in find_stream()
727 if (asf->nb_streams >= ASF_MAX_STREAMS) in asf_read_stream_properties()
753 for (i = 0; i < asf->nb_streams; i++) in asf_read_stream_properties()
766 asf->asf_st[asf->nb_streams] = av_mallocz(sizeof(*asf_st)); in asf_read_stream_properties()
767 if (!asf->asf_st[asf->nb_streams]) in asf_read_stream_properties()
769 asf_st = asf->asf_st[asf->nb_streams]; in asf_read_stream_properties()
770 asf->nb_streams++; in asf_read_stream_properties()
852 for (i = 0; i < asf->nb_streams; i++) { in asf_read_ext_stream_properties()
939 for (i = 0; i < asf->nb_streams; i++) { in asf_read_data()
[all …]
/third_party/ffmpeg/tools/
Duncoded_frame.c44 int nb_out_dev = 0, nb_streams = 0; in main() local
80 nb_streams = 0; in main()
92 nb_streams++; in main()
94 if (!nb_streams) { in main()
99 if (nb_out_dev != 1 && nb_out_dev != nb_streams) { in main()
102 nb_streams, nb_out_dev); in main()
107 if (!(streams = av_calloc(nb_streams, sizeof(*streams)))) { in main()
121 av_assert0(st - streams == nb_streams); in main()
151 for (; i < nb_streams; i++) in main()
155 for (i = 0; i < nb_streams; i++) { in main()
[all …]
/third_party/ffmpeg/libavcodec/
Dlibopusdec.c53 int ret, channel_map = 0, gain_db = 0, nb_streams, nb_coupled; in libopus_decode_init() local
75 nb_streams = avc->extradata[OPUS_HEAD_SIZE + 0]; in libopus_decode_init()
77 if (nb_streams + nb_coupled != avc->channels) in libopus_decode_init()
86 nb_streams = 1; in libopus_decode_init()
102 nb_streams, nb_coupled, in libopus_decode_init()
Dopusdec.c427 for (i = 0; i < c->nb_streams; i++) { in opus_decode_packet()
438 ret = ff_opus_parse_packet(pkt, buf, buf_size, c->nb_streams > 1); in opus_decode_packet()
468 for (i = 0; i < c->nb_streams; i++) { in opus_decode_packet()
500 for (i = 0; i < c->nb_streams; i++) { in opus_decode_packet()
504 ret = ff_opus_parse_packet(&s->packet, buf, buf_size, i != c->nb_streams - 1); in opus_decode_packet()
530 for (i = 0; i < c->nb_streams; i++) { in opus_decode_packet()
574 for (i = 0; i < c->nb_streams; i++) { in opus_decode_flush()
595 for (i = 0; i < c->nb_streams; i++) { in opus_decode_close()
611 c->nb_streams = 0; in opus_decode_close()
637 c->streams = av_mallocz_array(c->nb_streams, sizeof(*c->streams)); in opus_decode_init()
[all …]
/third_party/ffmpeg/libavfilter/
Davf_concat.c40 unsigned nb_streams[TYPE_ALL]; /**< number of out streams of each type */ member
62 OFFSET(nb_streams[AVMEDIA_TYPE_VIDEO]),
65 OFFSET(nb_streams[AVMEDIA_TYPE_AUDIO]),
84 nb_str = cat->nb_streams[type]; in query_formats()
293 str = cat->nb_streams[AVMEDIA_TYPE_VIDEO]; in flush_segment()
294 str_max = str + cat->nb_streams[AVMEDIA_TYPE_AUDIO]; in flush_segment()
314 for (str = 0; str < cat->nb_streams[type]; str++) { in init()
330 for (str = 0; str < cat->nb_streams[type]; str++) { in init()
Dsrc_movie.c117 for (i = 0; i < avf->nb_streams; i++) { in find_stream()
210 int nb_streams = 1, ret, i; in movie_common_init() local
230 nb_streams++; in movie_common_init()
232 if (movie->loop_count != 1 && nb_streams != 1) { in movie_common_init()
270 for (i = 0; i < movie->format_ctx->nb_streams; i++) in movie_common_init()
273 movie->st = av_calloc(nb_streams, sizeof(*movie->st)); in movie_common_init()
277 for (i = 0; i < nb_streams; i++) { in movie_common_init()
300 for (i = 0; i < nb_streams; i++) { in movie_common_init()
/third_party/ffmpeg/doc/examples/
Dtranscoding.c74 stream_ctx = av_mallocz_array(ifmt_ctx->nb_streams, sizeof(*stream_ctx)); in open_input_file()
78 for (i = 0; i < ifmt_ctx->nb_streams; i++) { in open_input_file()
137 for (i = 0; i < ifmt_ctx->nb_streams; i++) { in open_output_file()
389 filter_ctx = av_malloc_array(ifmt_ctx->nb_streams, sizeof(*filter_ctx)); in init_filters()
393 for (i = 0; i < ifmt_ctx->nb_streams; i++) { in init_filters()
577 for (i = 0; i < ifmt_ctx->nb_streams; i++) { in main()
598 for (i = 0; i < ifmt_ctx->nb_streams; i++) { in main()
600 if (ofmt_ctx && ofmt_ctx->nb_streams > i && ofmt_ctx->streams[i] && stream_ctx[i].enc_ctx) in main()

12345678