Home
last modified time | relevance | path

Searched refs:mode_count (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvorbis_parser.c79 int got_framing_bit, mode_count, got_mode_header, last_mode_count = 0; in parse_setup_header() local
127 mode_count = 0; in parse_setup_header()
133 mode_count++; in parse_setup_header()
134 if (mode_count > 64) in parse_setup_header()
137 if (get_bits(&gb0, 6) + 1 == mode_count) { in parse_setup_header()
139 last_mode_count = mode_count; in parse_setup_header()
165 s->mode_count = mode_count = last_mode_count; in parse_setup_header()
168 s->mode_mask = ((1 << (av_log2(mode_count - 1) + 1)) - 1) << 1; in parse_setup_header()
174 for (i = mode_count - 1; i >= 0; i--) { in parse_setup_header()
244 if (s->mode_count == 1) in av_vorbis_parse_frame_flags()
[all …]
Dvorbis_parser_internal.h41 int mode_count; ///< number of modes member
Dvorbisdec.c149 uint8_t mode_count; member
890 vc->mode_count = get_bits(gb, 6) + 1; in vorbis_parse_setup_hdr_modes()
891 vc->modes = av_mallocz(vc->mode_count * sizeof(*vc->modes)); in vorbis_parse_setup_hdr_modes()
895 ff_dlog(NULL, " There are %d modes.\n", vc->mode_count); in vorbis_parse_setup_hdr_modes()
897 for (i = 0; i < vc->mode_count; ++i) { in vorbis_parse_setup_hdr_modes()
1626 if (vc->mode_count == 1) { in vorbis_parse_audio_packet()
1629 GET_VALIDATED_INDEX(mode_number, ilog(vc->mode_count-1), vc->mode_count) in vorbis_parse_audio_packet()