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.c230 …uint64_t nb_packets; ///< how many packets are there in the file, invalid if broad… member
475 avio_wl64(pb, asf->nb_packets); /* number of packets */ in asf_write_header1()
774 avio_wl64(pb, asf->nb_packets); /* nb packets */ in asf_write_header1()
786 asf->nb_packets = 0; in asf_write_header()
901 asf->nb_packets++; in flush_packet()
1082 packet_number = asf->nb_packets; in asf_write_packet()
1091 uint16_t packet_count = asf->nb_packets - packet_number; in asf_write_packet()
Drmdec.c60 int nb_packets; member
654 rm->nb_packets = avio_rb32(pb); /* number of packets */ in rm_read_header()
655 if (!rm->nb_packets && (flags & 4)) in rm_read_header()
656 rm->nb_packets = 3600 * 25; in rm_read_header()
Dasfdec_o.c100 uint64_t nb_packets; // ASF packets member
675 asf->nb_packets = avio_rl64(pb); in asf_read_properties()
950 if (size != asf->nb_packets) in asf_read_data()
954 size, asf->nb_packets); in asf_read_data()
Dmpegts.c2934 static int handle_packets(MpegTSContext *ts, int64_t nb_packets) in handle_packets() argument
2967 if (nb_packets != 0 && packet_num >= nb_packets || in handle_packets()
3106 int pcr_pid, pid, nb_packets, nb_pcrs, ret, pcr_l; in mpegts_read_header() local
3123 nb_packets = 0; in mpegts_read_header()
3148 nb_packets++; in mpegts_read_header()
3154 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.c454 static OSStatus ffat_encode_callback(AudioConverterRef converter, UInt32 *nb_packets, in ffat_encode_callback() argument
466 *nb_packets = 0; in ffat_encode_callback()
469 *nb_packets = 0; in ffat_encode_callback()
482 if (*nb_packets > frame->nb_samples) in ffat_encode_callback()
483 *nb_packets = frame->nb_samples; in ffat_encode_callback()
488 *nb_packets = 0; in ffat_encode_callback()
Daudiotoolboxdec.c416 static OSStatus ffat_decode_callback(AudioConverterRef converter, UInt32 *nb_packets, in ffat_decode_callback() argument
425 *nb_packets = 0; in ffat_decode_callback()
437 *nb_packets = 0; in ffat_decode_callback()
445 *nb_packets = 1; in ffat_decode_callback()
/third_party/ffmpeg/libavdevice/
Ddecklink_common.h79 int nb_packets; member
Ddecklink_dec.cpp496 q->nb_packets = 0; in avpacket_queue_flush()
550 q->nb_packets++; in avpacket_queue_put()
573 q->nb_packets--; in avpacket_queue_get()
/third_party/ffmpeg/fftools/
Dffplay.c121 int nb_packets; member
442 q->nb_packets++; in packet_queue_put_private()
508 q->nb_packets = 0; in packet_queue_flush()
558 q->nb_packets--; in packet_queue_get()
637 if (d->queue->nb_packets == 0) in decoder_decode_frame()
1459 if (is->video_stream >= 0 && is->videoq.nb_packets <= EXTERNAL_CLOCK_MIN_FRAMES || in check_external_clock_speed()
1460 is->audio_stream >= 0 && is->audioq.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()
1463 (is->audio_stream < 0 || is->audioq.nb_packets > EXTERNAL_CLOCK_MAX_FRAMES)) { in check_external_clock_speed()
1796 is->videoq.nb_packets) { in get_video_frame()
[all …]
Dffmpeg.h389 uint64_t nb_packets; member
Dffmpeg.c1637 total_packets += ist->nb_packets; in print_final_stats()
1642 ist->nb_packets, ist->data_size); in print_final_stats()
4431 ist->nb_packets++; in process_input()
4491 if (ist->nb_packets == 1) { in process_input()