Home
last modified time | relevance | path

Searched refs:nb_packets (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavformat/
Dsupdec.c75 int nb_packets; in sup_probe() local
77 for (nb_packets = 0; nb_packets < 10; nb_packets++) { in sup_probe()
89 if (!nb_packets) in sup_probe()
91 if (nb_packets < 2) in sup_probe()
93 if (nb_packets < 4) in sup_probe()
95 if (nb_packets < 10) in sup_probe()
Drmenc.c27 int nb_packets; member
76 int nb_packets, packet_total_size, packet_max_size, size, packet_avg_size, i; in rv10_write_header() local
92 nb_packets = 0; in rv10_write_header()
100 nb_packets += stream->nb_packets; in rv10_write_header()
110 if (nb_packets > 0) in rv10_write_header()
111 packet_avg_size = packet_total_size / nb_packets; in rv10_write_header()
115 avio_wb32(s, nb_packets); /* num packets */ in rv10_write_header()
167 if (stream->nb_packets > 0) in rv10_write_header()
169 stream->nb_packets; in rv10_write_header()
288 avio_wb32(s, nb_packets); /* number of packets */ in rv10_write_header()
[all …]
Dasfenc.c208 …uint64_t nb_packets; ///< how many packets are there in the file, invalid if broad… member
444 avio_wl64(pb, asf->nb_packets); /* number of packets */ in asf_write_header1()
737 avio_wl64(pb, asf->nb_packets); /* nb packets */ in asf_write_header1()
753 asf->nb_packets = 0; in asf_write_header()
864 asf->nb_packets++; in flush_packet()
1043 packet_number = asf->nb_packets; in asf_write_packet()
1052 uint16_t packet_count = asf->nb_packets - packet_number; in asf_write_packet()
Drmdec.c60 int nb_packets; member
650 rm->nb_packets = avio_rb32(pb); /* number of packets */ in rm_read_header()
651 if (!rm->nb_packets && (flags & 4)) in rm_read_header()
652 rm->nb_packets = 3600 * 25; in rm_read_header()
Dasfdec_o.c96 uint64_t nb_packets; // ASF packets member
567 asf->nb_packets = avio_rl64(pb); in asf_read_properties()
842 if (size != asf->nb_packets) in asf_read_data()
846 size, asf->nb_packets); in asf_read_data()
Dmpegts.c3605 static int handle_packets(MpegTSContext *ts, int64_t nb_packets) in handle_packets() argument
3638 if (nb_packets != 0 && packet_num >= nb_packets || in handle_packets()
3777 int pcr_pid, pid, nb_packets, nb_pcrs, ret, pcr_l; in mpegts_read_header() local
3794 nb_packets = 0; in mpegts_read_header()
3819 nb_packets++; in mpegts_read_header()
3825 ts->cur_pcr = pcrs[0] - ts->pcr_incr * (nb_packets - 1); in mpegts_read_header()
/third_party/ffmpeg/libavcodec/
Dxma_parser.c37 int duration = 0, packet, nb_packets = buf_size / 2048; in xma_parse() local
39 for (packet = 0; packet < nb_packets; packet++) { in xma_parse()
Daudiotoolboxenc.c451 static OSStatus ffat_encode_callback(AudioConverterRef converter, UInt32 *nb_packets, in ffat_encode_callback() argument
463 *nb_packets = 0; in ffat_encode_callback()
466 *nb_packets = 0; in ffat_encode_callback()
479 if (*nb_packets > frame->nb_samples) in ffat_encode_callback()
480 *nb_packets = frame->nb_samples; in ffat_encode_callback()
485 *nb_packets = 0; in ffat_encode_callback()
Daudiotoolboxdec.c427 static OSStatus ffat_decode_callback(AudioConverterRef converter, UInt32 *nb_packets, in ffat_decode_callback() argument
436 *nb_packets = 0; in ffat_decode_callback()
448 *nb_packets = 0; in ffat_decode_callback()
456 *nb_packets = 1; in ffat_decode_callback()
/third_party/ffmpeg/libavdevice/
Ddecklink_common.h82 int nb_packets; member
Ddecklink_dec.cpp496 q->nb_packets = 0; in avpacket_queue_flush()
550 q->nb_packets++; in avpacket_queue_put()
572 q->nb_packets--; in avpacket_queue_get()
/third_party/ffmpeg/fftools/
Dffplay.c121 int nb_packets; member
431 q->nb_packets++; in packet_queue_put_private()
495 q->nb_packets = 0; in packet_queue_flush()
544 q->nb_packets--; in packet_queue_get()
623 if (d->queue->nb_packets == 0) in decoder_decode_frame()
1447 if (is->video_stream >= 0 && is->videoq.nb_packets <= EXTERNAL_CLOCK_MIN_FRAMES || in check_external_clock_speed()
1448 is->audio_stream >= 0 && is->audioq.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()
1451 (is->audio_stream < 0 || is->audioq.nb_packets > EXTERNAL_CLOCK_MAX_FRAMES)) { in check_external_clock_speed()
1784 is->videoq.nb_packets) { in get_video_frame()
[all …]
Dffmpeg.h393 uint64_t nb_packets; member
Dffmpeg.c1442 total_packets += ist->nb_packets; in print_final_stats()
1447 ist->nb_packets, ist->data_size); in print_final_stats()
3774 if (!ist->nb_packets || (ist->decoding_needed && !ist->got_output)) continue; in get_input_packet()
3989 ist->nb_packets++; in process_input()
4050 if (ist->nb_packets == 1) { in process_input()