Home
last modified time | relevance | path

Searched refs:ilog (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvorbisenc.c514 put_bits(pb, ilog(cb->nentries - i), j); in put_codebook_header()
538 int bits = ilog(cb->quantlist[0]); in put_codebook_header()
541 bits = FFMAX(bits, ilog(cb->quantlist[i])); in put_codebook_header()
703 put_bits(&pb, ilog(venc->channels - 1), mc->magnitude[j]); in put_main_header()
704 put_bits(&pb, ilog(venc->channels - 1), mc->angle[j]); in put_main_header()
806 if (put_bits_left(pb) < 1 + 2 * ilog(range - 1)) in floor_encode()
809 put_bits(pb, ilog(range - 1), posts[0]); in floor_encode()
810 put_bits(pb, ilog(range - 1), posts[1]); in floor_encode()
1146 put_bits(&pb, ilog(venc->nmodes - 1), 1); // Mode for current frame in vorbis_encode_frame()
Dvorbis.h50 #define ilog(i) av_log2(2*(i)) macro
Dvorbisdec.c332 ff_dlog(NULL, " number bits: %u ", ilog(entries - current_entry)); in vorbis_parse_setup_hdr_codebooks()
334 number = get_bits(gb, ilog(entries - current_entry)); in vorbis_parse_setup_hdr_codebooks()
750 ff_dlog(NULL, " %u class cascade depth: %d\n", j, ilog(cascade[j])); in vorbis_parse_setup_hdr_residues()
815 … GET_VALIDATED_INDEX(mapping_setup->magnitude[j], ilog(vc->audio_channels - 1), vc->audio_channels) in vorbis_parse_setup_hdr_mappings()
816 … GET_VALIDATED_INDEX(mapping_setup->angle[j], ilog(vc->audio_channels - 1), vc->audio_channels) in vorbis_parse_setup_hdr_mappings()
1120 book_idx = get_bits(&vc->gb, ilog(vf->num_books)); in vorbis_floor0_decode()
1235 floor1_Y[0] = get_bits(gb, ilog(range - 1)); in vorbis_floor1_decode()
1236 floor1_Y[1] = get_bits(gb, ilog(range - 1)); in vorbis_floor1_decode()
1636 GET_VALIDATED_INDEX(mode_number, ilog(vc->mode_count-1), vc->mode_count) in vorbis_parse_audio_packet()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngimage.c1578 int option_end, ilog = 0; in main() local
1614 ilog = option_end; /* prevent display */ in main()
1689 for (j=1; j<option_end; ++j) if (j != ilog) in main()