put_bits 99 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 5, hdr.object_type); put_bits 100 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 4, hdr.sampling_index); put_bits 101 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 4, hdr.chan_config); put_bits 102 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 1, 0); //frame length - 1024 samples put_bits 103 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 1, 0); //does not depend on core coder put_bits 104 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 1, 0); //is not extension put_bits 186 libavcodec/aaccoder.c put_bits(pb, ff_aac_spectral_bits[cb-1][curidx], ff_aac_spectral_codes[cb-1][curidx]); put_bits 190 libavcodec/aaccoder.c put_bits(pb, 1, in[i+j] < 0.0f); put_bits 197 libavcodec/aaccoder.c put_bits(pb, len - 4 + 1, (1 << (len - 4 + 1)) - 2); put_bits 198 libavcodec/aaccoder.c put_bits(pb, len, coef & ((1 << len) - 1)); put_bits 397 libavcodec/aaccoder.c put_bits(&s->pb, 4, stackcb[i]); put_bits 406 libavcodec/aaccoder.c put_bits(&s->pb, run_bits, run_esc); put_bits 409 libavcodec/aaccoder.c put_bits(&s->pb, run_bits, count); put_bits 520 libavcodec/aaccoder.c put_bits(&s->pb, 4, stackcb[i]); put_bits 529 libavcodec/aaccoder.c put_bits(&s->pb, run_bits, run_esc); put_bits 532 libavcodec/aaccoder.c put_bits(&s->pb, run_bits, count); put_bits 176 libavcodec/aacenc.c put_bits(&pb, 5, 2); //object type - AAC-LC put_bits 177 libavcodec/aacenc.c put_bits(&pb, 4, s->samplerate_index); //sample rate index put_bits 178 libavcodec/aacenc.c put_bits(&pb, 4, s->channels); put_bits 180 libavcodec/aacenc.c put_bits(&pb, 1, 0); //frame length - 1024 samples put_bits 181 libavcodec/aacenc.c put_bits(&pb, 1, 0); //does not depend on core coder put_bits 182 libavcodec/aacenc.c put_bits(&pb, 1, 0); //is not extension put_bits 185 libavcodec/aacenc.c put_bits(&pb, 11, 0x2b7); //sync extension put_bits 186 libavcodec/aacenc.c put_bits(&pb, 5, AOT_SBR); put_bits 187 libavcodec/aacenc.c put_bits(&pb, 1, 0); put_bits 281 libavcodec/aacenc.c put_bits(&s->pb, 1, 0); // ics_reserved bit put_bits 282 libavcodec/aacenc.c put_bits(&s->pb, 2, info->window_sequence[0]); put_bits 283 libavcodec/aacenc.c put_bits(&s->pb, 1, info->use_kb_window[0]); put_bits 285 libavcodec/aacenc.c put_bits(&s->pb, 6, info->max_sfb); put_bits 286 libavcodec/aacenc.c put_bits(&s->pb, 1, 0); // no prediction put_bits 288 libavcodec/aacenc.c put_bits(&s->pb, 4, info->max_sfb); put_bits 290 libavcodec/aacenc.c put_bits(&s->pb, 1, !info->group_len[w]); put_bits 302 libavcodec/aacenc.c put_bits(pb, 2, cpe->ms_mode); put_bits 306 libavcodec/aacenc.c put_bits(pb, 1, cpe->ms_mask[w*16 + i]); put_bits 400 libavcodec/aacenc.c put_bits(&s->pb, ff_aac_scalefactor_bits[diff], ff_aac_scalefactor_code[diff]); put_bits 413 libavcodec/aacenc.c put_bits(&s->pb, 1, !!pulse->num_pulse); put_bits 417 libavcodec/aacenc.c put_bits(&s->pb, 2, pulse->num_pulse - 1); put_bits 418 libavcodec/aacenc.c put_bits(&s->pb, 6, pulse->start); put_bits 420 libavcodec/aacenc.c put_bits(&s->pb, 5, pulse->pos[i]); put_bits 421 libavcodec/aacenc.c put_bits(&s->pb, 4, pulse->amp[i]); put_bits 457 libavcodec/aacenc.c put_bits(&s->pb, 8, sce->sf_idx[0]); put_bits 463 libavcodec/aacenc.c put_bits(&s->pb, 1, 0); //tns put_bits 464 libavcodec/aacenc.c put_bits(&s->pb, 1, 0); //ssr put_bits 477 libavcodec/aacenc.c put_bits(&s->pb, 3, TYPE_FIL); put_bits 478 libavcodec/aacenc.c put_bits(&s->pb, 4, FFMIN(namelen, 15)); put_bits 480 libavcodec/aacenc.c put_bits(&s->pb, 8, namelen - 14); put_bits 481 libavcodec/aacenc.c put_bits(&s->pb, 4, 0); //extension type - filler put_bits 485 libavcodec/aacenc.c put_bits(&s->pb, 8, name[i]); put_bits 486 libavcodec/aacenc.c put_bits(&s->pb, 12 - padbits, 0); put_bits 605 libavcodec/aacenc.c put_bits(&s->pb, 3, tag); put_bits 606 libavcodec/aacenc.c put_bits(&s->pb, 4, chan_el_counter[tag]++); put_bits 640 libavcodec/aacenc.c put_bits(&s->pb, 1, cpe->common_window); put_bits 673 libavcodec/aacenc.c put_bits(&s->pb, 3, TYPE_END); put_bits 1332 libavcodec/ac3enc.c put_bits(&s->pb, 16, 0x0b77); /* frame header */ put_bits 1333 libavcodec/ac3enc.c put_bits(&s->pb, 16, 0); /* crc1: will be filled later */ put_bits 1334 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->bit_alloc.sr_code); put_bits 1335 libavcodec/ac3enc.c put_bits(&s->pb, 6, s->frame_size_code + (s->frame_size - s->frame_size_min) / 2); put_bits 1336 libavcodec/ac3enc.c put_bits(&s->pb, 5, s->bitstream_id); put_bits 1337 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->bitstream_mode); put_bits 1338 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->channel_mode); put_bits 1340 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->center_mix_level); put_bits 1342 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->surround_mix_level); put_bits 1344 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->dolby_surround_mode); put_bits 1345 libavcodec/ac3enc.c put_bits(&s->pb, 1, s->lfe_on); /* LFE */ put_bits 1346 libavcodec/ac3enc.c put_bits(&s->pb, 5, -opt->dialogue_level); put_bits 1347 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no compression control word */ put_bits 1348 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no lang code */ put_bits 1349 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->audio_production_info); put_bits 1351 libavcodec/ac3enc.c put_bits(&s->pb, 5, opt->mixing_level - 80); put_bits 1352 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->room_type); put_bits 1354 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->copyright); put_bits 1355 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->original); put_bits 1358 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->extended_bsi_1); put_bits 1360 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->preferred_stereo_downmix); put_bits 1361 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->ltrt_center_mix_level); put_bits 1362 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->ltrt_surround_mix_level); put_bits 1363 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->loro_center_mix_level); put_bits 1364 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->loro_surround_mix_level); put_bits 1366 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->extended_bsi_2); put_bits 1368 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->dolby_surround_ex_mode); put_bits 1369 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->dolby_headphone_mode); put_bits 1370 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->ad_converter_type); put_bits 1371 libavcodec/ac3enc.c put_bits(&s->pb, 9, 0); /* xbsi2 and encinfo : reserved */ put_bits 1374 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no time code 1 */ put_bits 1375 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no time code 2 */ put_bits 1377 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no additional bit stream info */ put_bits 1392 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); put_bits 1398 libavcodec/ac3enc.c put_bits(&s->pb, 1, 1); put_bits 1402 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); put_bits 1406 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); put_bits 1410 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_cpl_strategy); put_bits 1413 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->cpl_in_use); put_bits 1417 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* enhanced coupling */ put_bits 1420 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->channel_in_cpl[ch]); put_bits 1423 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* phase flags in use */ put_bits 1426 libavcodec/ac3enc.c put_bits(&s->pb, 4, start_sub); put_bits 1427 libavcodec/ac3enc.c put_bits(&s->pb, 4, end_sub - 3); put_bits 1430 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* use default */ put_bits 1433 libavcodec/ac3enc.c put_bits(&s->pb, 1, ff_eac3_default_cpl_band_struct[bnd]); put_bits 1443 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_cpl_coords[ch]); put_bits 1445 libavcodec/ac3enc.c put_bits(&s->pb, 2, block->cpl_master_exp[ch]); put_bits 1447 libavcodec/ac3enc.c put_bits(&s->pb, 4, block->cpl_coord_exp [ch][bnd]); put_bits 1448 libavcodec/ac3enc.c put_bits(&s->pb, 4, block->cpl_coord_mant[ch][bnd]); put_bits 1458 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_rematrixing_strategy); put_bits 1462 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->rematrixing_flags[bnd]); put_bits 1469 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); put_bits 1471 libavcodec/ac3enc.c put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); put_bits 1477 libavcodec/ac3enc.c put_bits(&s->pb, 6, s->bandwidth_code); put_bits 1489 libavcodec/ac3enc.c put_bits(&s->pb, 4, block->grouped_exp[ch][0] >> cpl); put_bits 1494 libavcodec/ac3enc.c put_bits(&s->pb, 7, block->grouped_exp[ch][i]); put_bits 1498 libavcodec/ac3enc.c put_bits(&s->pb, 2, 0); put_bits 1504 libavcodec/ac3enc.c put_bits(&s->pb, 1, baie); put_bits 1506 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->slow_decay_code); put_bits 1507 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->fast_decay_code); put_bits 1508 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->slow_gain_code); put_bits 1509 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->db_per_bit_code); put_bits 1510 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->floor_code); put_bits 1516 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_snr_offsets); put_bits 1518 libavcodec/ac3enc.c put_bits(&s->pb, 6, s->coarse_snr_offset); put_bits 1520 libavcodec/ac3enc.c put_bits(&s->pb, 4, s->fine_snr_offset[ch]); put_bits 1521 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->fast_gain_code[ch]); put_bits 1525 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no converter snr offset */ put_bits 1531 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_cpl_leak); put_bits 1533 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->bit_alloc.cpl_fast_leak); put_bits 1534 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->bit_alloc.cpl_slow_leak); put_bits 1539 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no delta bit allocation */ put_bits 1540 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no data to skip */ put_bits 1558 libavcodec/ac3enc.c case 1: if (q != 128) put_bits (&s->pb, 5, q); break; put_bits 1559 libavcodec/ac3enc.c case 2: if (q != 128) put_bits (&s->pb, 7, q); break; put_bits 1561 libavcodec/ac3enc.c case 4: if (q != 128) put_bits (&s->pb, 7, q); break; put_bits 548 libavcodec/adpcmenc.c put_bits(&pb, 9, (status->prev_sample & 0xFFFF) >> 7); put_bits 549 libavcodec/adpcmenc.c put_bits(&pb, 7, status->step_index); put_bits 555 libavcodec/adpcmenc.c put_bits(&pb, 4, buf[i ^ 1]); put_bits 562 libavcodec/adpcmenc.c put_bits(&pb, 4, t2); put_bits 563 libavcodec/adpcmenc.c put_bits(&pb, 4, t1); put_bits 579 libavcodec/adpcmenc.c put_bits(&pb, 2, 2); // set 4-bit flash adpcm format put_bits 586 libavcodec/adpcmenc.c put_bits(&pb, 6, c->status[i].step_index); put_bits 599 libavcodec/adpcmenc.c put_bits(&pb, 4, buf[i]); put_bits 601 libavcodec/adpcmenc.c put_bits(&pb, 4, buf[n + i]); put_bits 606 libavcodec/adpcmenc.c put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[0], put_bits 609 libavcodec/adpcmenc.c put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[1], put_bits 114 libavcodec/alacenc.c put_bits(&s->pbctx, 9, ALAC_ESCAPE_CODE); put_bits 115 libavcodec/alacenc.c put_bits(&s->pbctx, write_sample_size, x); put_bits 118 libavcodec/alacenc.c put_bits(&s->pbctx, q, (1<<q) - 1); put_bits 119 libavcodec/alacenc.c put_bits(&s->pbctx, 1, 0); put_bits 123 libavcodec/alacenc.c put_bits(&s->pbctx, k, r+1); put_bits 125 libavcodec/alacenc.c put_bits(&s->pbctx, k-1, 0); put_bits 139 libavcodec/alacenc.c put_bits(&s->pbctx, 3, element); // element type put_bits 140 libavcodec/alacenc.c put_bits(&s->pbctx, 4, instance); // element instance put_bits 141 libavcodec/alacenc.c put_bits(&s->pbctx, 12, 0); // unused header bits put_bits 142 libavcodec/alacenc.c put_bits(&s->pbctx, 1, encode_fs); // Sample count is in the header put_bits 143 libavcodec/alacenc.c put_bits(&s->pbctx, 2, s->extra_bits >> 3); // Extra bytes (for 24-bit) put_bits 144 libavcodec/alacenc.c put_bits(&s->pbctx, 1, s->verbatim); // Audio block is verbatim put_bits 414 libavcodec/alacenc.c put_bits(pb, 8, s->interlacing_shift); put_bits 415 libavcodec/alacenc.c put_bits(pb, 8, s->interlacing_leftweight); put_bits 420 libavcodec/alacenc.c put_bits(pb, 4, prediction_type); put_bits 421 libavcodec/alacenc.c put_bits(pb, 4, s->lpc[i].lpc_quant); put_bits 423 libavcodec/alacenc.c put_bits(pb, 3, s->rc.rice_modifier); put_bits 424 libavcodec/alacenc.c put_bits(pb, 5, s->lpc[i].lpc_order); put_bits 434 libavcodec/alacenc.c put_bits(pb, s->extra_bits, s->predictor_buf[j][i]); put_bits 480 libavcodec/alacenc.c put_bits(pb, 3, TYPE_END); put_bits 40 libavcodec/asvenc.c put_bits(pb, n, ff_reverse[v << (8 - n)]); put_bits 48 libavcodec/asvenc.c put_bits(pb, ff_asv_level_tab[index][1], ff_asv_level_tab[index][0]); put_bits 50 libavcodec/asvenc.c put_bits(pb, ff_asv_level_tab[3][1], ff_asv_level_tab[3][0]); put_bits 60 libavcodec/asvenc.c put_bits(pb, ff_asv2_level_tab[index][1], ff_asv2_level_tab[index][0]); put_bits 62 libavcodec/asvenc.c put_bits(pb, ff_asv2_level_tab[31][1], ff_asv2_level_tab[31][0]); put_bits 76 libavcodec/asvenc.c put_bits(&a->pb, 8, (block[0] + 32) >> 6); put_bits 98 libavcodec/asvenc.c put_bits(&a->pb, ff_asv_ccp_tab[0][1], ff_asv_ccp_tab[0][0]); put_bits 100 libavcodec/asvenc.c put_bits(&a->pb, ff_asv_ccp_tab[ccp][1], ff_asv_ccp_tab[ccp][0]); put_bits 114 libavcodec/asvenc.c put_bits(&a->pb, ff_asv_ccp_tab[16][1], ff_asv_ccp_tab[16][0]); put_bits 153 libavcodec/asvenc.c put_bits(&a->pb, ff_asv_ac_ccp_tab[ccp][1], ff_asv_ac_ccp_tab[ccp][0]); put_bits 155 libavcodec/asvenc.c put_bits(&a->pb, ff_asv_dc_ccp_tab[ccp][1], ff_asv_dc_ccp_tab[ccp][0]); put_bits 299 libavcodec/asvenc.c put_bits(&a->pb, 8, 0); put_bits 49 libavcodec/bitstream.c put_bits(s, s->bit_left & 7, 0); put_bits 56 libavcodec/bitstream.c put_bits(pb, 8, *string); put_bits 60 libavcodec/bitstream.c put_bits(pb, 8, 0); put_bits 74 libavcodec/bitstream.c put_bits(pb, 16, AV_RB16(src + 2 * i)); put_bits 77 libavcodec/bitstream.c put_bits(pb, 8, src[i]); put_bits 83 libavcodec/bitstream.c put_bits(pb, bits, AV_RB16(src + 2 * words) >> (16 - bits)); put_bits 88 libavcodec/cabac.c put_bits(&c->pb, 1, b); put_bits 90 libavcodec/cabac.c put_bits(&c->pb, 1, 1-b); put_bits 165 libavcodec/cabac.c put_bits(&c->pb, 2, ((c->low>>7)&3)|1); put_bits 80 libavcodec/cljrenc.c put_bits(&pb, 5, (249*(luma[3] + (dither>>29) )) >> 11); put_bits 81 libavcodec/cljrenc.c put_bits(&pb, 5, (249*(luma[2] + ((dither>>26)&7))) >> 11); put_bits 82 libavcodec/cljrenc.c put_bits(&pb, 5, (249*(luma[1] + ((dither>>23)&7))) >> 11); put_bits 83 libavcodec/cljrenc.c put_bits(&pb, 5, (249*(luma[0] + ((dither>>20)&7))) >> 11); put_bits 85 libavcodec/cljrenc.c put_bits(&pb, 6, (253*(*(cb++) + ((dither>>18)&3))) >> 10); put_bits 86 libavcodec/cljrenc.c put_bits(&pb, 6, (253*(*(cr++) + ((dither>>16)&3))) >> 10); put_bits 65 libavcodec/dca.c put_bits(&pb, 14, tmp); put_bits 707 libavcodec/dcaenc.c put_bits(&c->pb, 16, 0x7ffe); put_bits 708 libavcodec/dcaenc.c put_bits(&c->pb, 16, 0x8001); put_bits 711 libavcodec/dcaenc.c put_bits(&c->pb, 1, 1); put_bits 714 libavcodec/dcaenc.c put_bits(&c->pb, 5, 31); put_bits 717 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 720 libavcodec/dcaenc.c put_bits(&c->pb, 7, SUBBAND_SAMPLES - 1); put_bits 723 libavcodec/dcaenc.c put_bits(&c->pb, 14, c->frame_size - 1); put_bits 726 libavcodec/dcaenc.c put_bits(&c->pb, 6, c->channel_config); put_bits 729 libavcodec/dcaenc.c put_bits(&c->pb, 4, bitstream_sfreq[c->samplerate_index]); put_bits 732 libavcodec/dcaenc.c put_bits(&c->pb, 5, c->bitrate_index); put_bits 735 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 738 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 741 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 744 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 747 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 750 libavcodec/dcaenc.c put_bits(&c->pb, 3, 0); put_bits 753 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 756 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 759 libavcodec/dcaenc.c put_bits(&c->pb, 2, c->lfe_channel ? 2 : 0); put_bits 762 libavcodec/dcaenc.c put_bits(&c->pb, 1, 1); put_bits 766 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 769 libavcodec/dcaenc.c put_bits(&c->pb, 4, 7); put_bits 772 libavcodec/dcaenc.c put_bits(&c->pb, 2, 0); put_bits 775 libavcodec/dcaenc.c put_bits(&c->pb, 3, 0); put_bits 778 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 781 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 784 libavcodec/dcaenc.c put_bits(&c->pb, 4, 0); put_bits 794 libavcodec/dcaenc.c put_bits(&c->pb, 4, SUBFRAMES - 1); put_bits 797 libavcodec/dcaenc.c put_bits(&c->pb, 3, c->fullband_channels - 1); put_bits 801 libavcodec/dcaenc.c put_bits(&c->pb, 5, DCAENC_SUBBANDS - 2); put_bits 805 libavcodec/dcaenc.c put_bits(&c->pb, 5, DCAENC_SUBBANDS - 1); put_bits 809 libavcodec/dcaenc.c put_bits(&c->pb, 3, 0); put_bits 813 libavcodec/dcaenc.c put_bits(&c->pb, 2, 0); put_bits 817 libavcodec/dcaenc.c put_bits(&c->pb, 3, 6); put_bits 821 libavcodec/dcaenc.c put_bits(&c->pb, 3, 6); put_bits 827 libavcodec/dcaenc.c put_bits(&c->pb, bitlen[i], thr[i]); put_bits 844 libavcodec/dcaenc.c put_bits(&c->pb, bit_consumption[c->abits[band][ch]] / 4, sum); put_bits 851 libavcodec/dcaenc.c put_bits(&c->pb, bits, c->quantized[ss * 8 + i][band][ch] & mask); put_bits 861 libavcodec/dcaenc.c put_bits(&c->pb, 2, SUBSUBFRAMES -1); put_bits 864 libavcodec/dcaenc.c put_bits(&c->pb, 3, 0); put_bits 869 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 875 libavcodec/dcaenc.c put_bits(&c->pb, 5, c->abits[band][ch]); put_bits 881 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); /* codebook A4 */ put_bits 887 libavcodec/dcaenc.c put_bits(&c->pb, 7, c->scale_factor[band][ch]); put_bits 899 libavcodec/dcaenc.c put_bits(&c->pb, 8, quantize_value(c->downsampled_lfe[i], c->lfe_quant) & 0xff); put_bits 900 libavcodec/dcaenc.c put_bits(&c->pb, 8, c->lfe_scale_factor); put_bits 910 libavcodec/dcaenc.c put_bits(&c->pb, 16, 0xffff); put_bits 451 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, ctx->cid_table->dc_bits[nbits] + nbits, put_bits 472 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, ctx->vlc_bits[rlevel], ctx->vlc_codes[rlevel]); put_bits 474 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, ctx->run_bits[run_level], put_bits 479 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, ctx->vlc_bits[0], ctx->vlc_codes[0]); // EOB put_bits 684 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, 12, qscale << 1); put_bits 699 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, 32 - (put_bits_count(&ctx->m.pb) & 31), 0); put_bits 267 libavcodec/dvdec.c put_bits(pb, MIN_CACHE_BITS, get_bits(gb, MIN_CACHE_BITS)); put_bits 271 libavcodec/dvdec.c put_bits(pb, bits_left, get_bits(gb, bits_left)); put_bits 178 libavcodec/dvenc.c put_bits(pb, bits_left, vlc >> size); put_bits 189 libavcodec/dvenc.c put_bits(pb, size, vlc); put_bits 519 libavcodec/dvenc.c put_bits(&pbs[j], 1, enc_blks[j].dct_mode); put_bits 520 libavcodec/dvenc.c put_bits(&pbs[j], 2, enc_blks[j].cno); put_bits 133 libavcodec/eac3enc.c put_bits(&s->pb, 16, 0x0b77); /* sync word */ put_bits 136 libavcodec/eac3enc.c put_bits(&s->pb, 2, 0); /* stream type = independent */ put_bits 137 libavcodec/eac3enc.c put_bits(&s->pb, 3, 0); /* substream id = 0 */ put_bits 138 libavcodec/eac3enc.c put_bits(&s->pb, 11, (s->frame_size / 2) - 1); /* frame size */ put_bits 140 libavcodec/eac3enc.c put_bits(&s->pb, 2, 0x3); /* fscod2 */ put_bits 141 libavcodec/eac3enc.c put_bits(&s->pb, 2, s->bit_alloc.sr_code); /* sample rate code */ put_bits 143 libavcodec/eac3enc.c put_bits(&s->pb, 2, s->bit_alloc.sr_code); /* sample rate code */ put_bits 144 libavcodec/eac3enc.c put_bits(&s->pb, 2, s->num_blks_code); /* number of blocks */ put_bits 146 libavcodec/eac3enc.c put_bits(&s->pb, 3, s->channel_mode); /* audio coding mode */ put_bits 147 libavcodec/eac3enc.c put_bits(&s->pb, 1, s->lfe_on); /* LFE channel indicator */ put_bits 148 libavcodec/eac3enc.c put_bits(&s->pb, 5, s->bitstream_id); /* bitstream id (EAC3=16) */ put_bits 149 libavcodec/eac3enc.c put_bits(&s->pb, 5, -opt->dialogue_level); /* dialogue normalization level */ put_bits 150 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* no compression gain */ put_bits 152 libavcodec/eac3enc.c put_bits(&s->pb, 1, opt->eac3_mixing_metadata); put_bits 155 libavcodec/eac3enc.c put_bits(&s->pb, 2, opt->preferred_stereo_downmix); put_bits 157 libavcodec/eac3enc.c put_bits(&s->pb, 3, s->ltrt_center_mix_level); put_bits 158 libavcodec/eac3enc.c put_bits(&s->pb, 3, s->loro_center_mix_level); put_bits 161 libavcodec/eac3enc.c put_bits(&s->pb, 3, s->ltrt_surround_mix_level); put_bits 162 libavcodec/eac3enc.c put_bits(&s->pb, 3, s->loro_surround_mix_level); put_bits 165 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); put_bits 166 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* no program scale */ put_bits 167 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* no ext program scale */ put_bits 168 libavcodec/eac3enc.c put_bits(&s->pb, 2, 0); /* no mixing parameters */ put_bits 170 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* no pan info */ put_bits 171 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* no frame mix config info */ put_bits 174 libavcodec/eac3enc.c put_bits(&s->pb, 1, opt->eac3_info_metadata); put_bits 176 libavcodec/eac3enc.c put_bits(&s->pb, 3, s->bitstream_mode); put_bits 177 libavcodec/eac3enc.c put_bits(&s->pb, 1, opt->copyright); put_bits 178 libavcodec/eac3enc.c put_bits(&s->pb, 1, opt->original); put_bits 180 libavcodec/eac3enc.c put_bits(&s->pb, 2, opt->dolby_surround_mode); put_bits 181 libavcodec/eac3enc.c put_bits(&s->pb, 2, opt->dolby_headphone_mode); put_bits 184 libavcodec/eac3enc.c put_bits(&s->pb, 2, opt->dolby_surround_ex_mode); put_bits 185 libavcodec/eac3enc.c put_bits(&s->pb, 1, opt->audio_production_info); put_bits 187 libavcodec/eac3enc.c put_bits(&s->pb, 5, opt->mixing_level - 80); put_bits 188 libavcodec/eac3enc.c put_bits(&s->pb, 2, opt->room_type); put_bits 189 libavcodec/eac3enc.c put_bits(&s->pb, 1, opt->ad_converter_type); put_bits 191 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); put_bits 194 libavcodec/eac3enc.c put_bits(&s->pb, 1, !(s->avctx->frame_number % 6)); /* converter sync flag */ put_bits 195 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* no additional bit stream info */ put_bits 199 libavcodec/eac3enc.c put_bits(&s->pb, 1, !s->use_frame_exp_strategy);/* exponent strategy syntax */ put_bits 200 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* aht enabled = no */ put_bits 202 libavcodec/eac3enc.c put_bits(&s->pb, 2, 0); /* snr offset strategy = 1 */ put_bits 203 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* transient pre-noise processing enabled = no */ put_bits 204 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* block switch syntax enabled = no */ put_bits 205 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* dither flag syntax enabled = no */ put_bits 206 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* bit allocation model syntax enabled = no */ put_bits 207 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* fast gain codes enabled = no */ put_bits 208 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* dba syntax enabled = no */ put_bits 209 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* skip field syntax enabled = no */ put_bits 210 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); /* spx enabled = no */ put_bits 213 libavcodec/eac3enc.c put_bits(&s->pb, 1, s->blocks[0].cpl_in_use); put_bits 216 libavcodec/eac3enc.c put_bits(&s->pb, 1, block->new_cpl_strategy); put_bits 218 libavcodec/eac3enc.c put_bits(&s->pb, 1, block->cpl_in_use); put_bits 224 libavcodec/eac3enc.c put_bits(&s->pb, 5, s->frame_exp_strategy[ch]); put_bits 228 libavcodec/eac3enc.c put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); put_bits 232 libavcodec/eac3enc.c put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); put_bits 236 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); put_bits 240 libavcodec/eac3enc.c put_bits(&s->pb, 5, s->frame_exp_strategy[ch]); put_bits 242 libavcodec/eac3enc.c put_bits(&s->pb, 5, 0); put_bits 246 libavcodec/eac3enc.c put_bits(&s->pb, 6, s->coarse_snr_offset); put_bits 247 libavcodec/eac3enc.c put_bits(&s->pb, 4, s->fine_snr_offset[1]); put_bits 250 libavcodec/eac3enc.c put_bits(&s->pb, 1, 0); put_bits 330 libavcodec/ffv1enc.c put_bits(&s->pb, 1, 1); put_bits 333 libavcodec/ffv1enc.c put_bits(&s->pb, 1 + ff_log2_run[run_index], run_count); put_bits 357 libavcodec/ffv1enc.c put_bits(&s->pb, 1, 1); put_bits 361 libavcodec/ffv1enc.c put_bits(&s->pb, 1, 1); put_bits 135 libavcodec/flacenc.c put_bits(&pb, 16, s->max_blocksize); put_bits 136 libavcodec/flacenc.c put_bits(&pb, 16, s->max_blocksize); put_bits 137 libavcodec/flacenc.c put_bits(&pb, 24, s->min_framesize); put_bits 138 libavcodec/flacenc.c put_bits(&pb, 24, s->max_framesize); put_bits 139 libavcodec/flacenc.c put_bits(&pb, 20, s->samplerate); put_bits 140 libavcodec/flacenc.c put_bits(&pb, 3, s->channels-1); put_bits 141 libavcodec/flacenc.c put_bits(&pb, 5, s->avctx->bits_per_raw_sample - 1); put_bits 143 libavcodec/flacenc.c put_bits(&pb, 24, (s->sample_count & 0xFFFFFF000LL) >> 12); put_bits 144 libavcodec/flacenc.c put_bits(&pb, 12, s->sample_count & 0x000000FFFLL); put_bits 1076 libavcodec/flacenc.c PUT_UTF8(val, tmp, put_bits(pb, 8, tmp);) put_bits 1087 libavcodec/flacenc.c put_bits(&s->pb, 16, 0xFFF8); put_bits 1088 libavcodec/flacenc.c put_bits(&s->pb, 4, frame->bs_code[0]); put_bits 1089 libavcodec/flacenc.c put_bits(&s->pb, 4, s->sr_code[0]); put_bits 1092 libavcodec/flacenc.c put_bits(&s->pb, 4, s->channels-1); put_bits 1094 libavcodec/flacenc.c put_bits(&s->pb, 4, frame->ch_mode + FLAC_MAX_CHANNELS - 1); put_bits 1096 libavcodec/flacenc.c put_bits(&s->pb, 3, s->bps_code); put_bits 1097 libavcodec/flacenc.c put_bits(&s->pb, 1, 0); put_bits 1101 libavcodec/flacenc.c put_bits(&s->pb, 8, frame->bs_code[1]); put_bits 1103 libavcodec/flacenc.c put_bits(&s->pb, 16, frame->bs_code[1]); put_bits 1106 libavcodec/flacenc.c put_bits(&s->pb, 8, s->sr_code[1]); put_bits 1108 libavcodec/flacenc.c put_bits(&s->pb, 16, s->sr_code[1]); put_bits 1113 libavcodec/flacenc.c put_bits(&s->pb, 8, crc); put_bits 1129 libavcodec/flacenc.c put_bits(&s->pb, 1, 0); put_bits 1130 libavcodec/flacenc.c put_bits(&s->pb, 6, sub->type_code); put_bits 1131 libavcodec/flacenc.c put_bits(&s->pb, 1, !!sub->wasted); put_bits 1133 libavcodec/flacenc.c put_bits(&s->pb, sub->wasted, 1); put_bits 1149 libavcodec/flacenc.c put_bits( &s->pb, 4, cbits-1); put_bits 1156 libavcodec/flacenc.c put_bits(&s->pb, 2, sub->rc.coding_mode - 4); put_bits 1161 libavcodec/flacenc.c put_bits(&s->pb, 4, porder); put_bits 1167 libavcodec/flacenc.c put_bits(&s->pb, sub->rc.coding_mode, k); put_bits 1183 libavcodec/flacenc.c put_bits(&s->pb, 16, crc); put_bits 292 libavcodec/flashsv2enc.c put_bits(&pb, 4, (s->block_width >> 4) - 1); put_bits 293 libavcodec/flashsv2enc.c put_bits(&pb, 12, s->image_width); put_bits 294 libavcodec/flashsv2enc.c put_bits(&pb, 4, (s->block_height >> 4) - 1); put_bits 295 libavcodec/flashsv2enc.c put_bits(&pb, 12, s->image_height); put_bits 156 libavcodec/flashsvenc.c put_bits(&pb, 4, block_width / 16 - 1); put_bits 157 libavcodec/flashsvenc.c put_bits(&pb, 12, s->image_width); put_bits 158 libavcodec/flashsvenc.c put_bits(&pb, 4, block_height / 16 - 1); put_bits 159 libavcodec/flashsvenc.c put_bits(&pb, 12, s->image_height); put_bits 31 libavcodec/flvenc.c put_bits(&s->pb, 17, 1); put_bits 33 libavcodec/flvenc.c put_bits(&s->pb, 5, (s->h263_flv - 1)); put_bits 34 libavcodec/flvenc.c put_bits(&s->pb, 8, put_bits 51 libavcodec/flvenc.c put_bits(&s->pb, 3, format); /* PictureSize */ put_bits 53 libavcodec/flvenc.c put_bits(&s->pb, 8, s->width); put_bits 54 libavcodec/flvenc.c put_bits(&s->pb, 8, s->height); put_bits 56 libavcodec/flvenc.c put_bits(&s->pb, 16, s->width); put_bits 57 libavcodec/flvenc.c put_bits(&s->pb, 16, s->height); put_bits 59 libavcodec/flvenc.c put_bits(&s->pb, 2, s->pict_type == AV_PICTURE_TYPE_P); /* PictureType */ put_bits 60 libavcodec/flvenc.c put_bits(&s->pb, 1, 1); /* DeblockingFlag: on */ put_bits 61 libavcodec/flvenc.c put_bits(&s->pb, 5, s->qscale); /* Quantizer */ put_bits 62 libavcodec/flvenc.c put_bits(&s->pb, 1, 0); /* ExtraInformation */ put_bits 77 libavcodec/flvenc.c put_bits(pb, 1, 0); put_bits 78 libavcodec/flvenc.c put_bits(pb, 1, last); put_bits 79 libavcodec/flvenc.c put_bits(pb, 6, run); put_bits 84 libavcodec/flvenc.c put_bits(pb, 1, 1); put_bits 85 libavcodec/flvenc.c put_bits(pb, 1, last); put_bits 86 libavcodec/flvenc.c put_bits(pb, 6, run); put_bits 2287 libavcodec/g723_1.c put_bits(&pb, 2, info_bits); put_bits 2291 libavcodec/g723_1.c put_bits(&pb, 8, p->lsp_index[2]); put_bits 2292 libavcodec/g723_1.c put_bits(&pb, 8, p->lsp_index[1]); put_bits 2293 libavcodec/g723_1.c put_bits(&pb, 8, p->lsp_index[0]); put_bits 2295 libavcodec/g723_1.c put_bits(&pb, 7, p->pitch_lag[0] - PITCH_MIN); put_bits 2296 libavcodec/g723_1.c put_bits(&pb, 2, p->subframe[1].ad_cb_lag); put_bits 2297 libavcodec/g723_1.c put_bits(&pb, 7, p->pitch_lag[1] - PITCH_MIN); put_bits 2298 libavcodec/g723_1.c put_bits(&pb, 2, p->subframe[3].ad_cb_lag); put_bits 2306 libavcodec/g723_1.c put_bits(&pb, 12, temp); put_bits 2309 libavcodec/g723_1.c put_bits(&pb, 1, p->subframe[0].grid_index); put_bits 2310 libavcodec/g723_1.c put_bits(&pb, 1, p->subframe[1].grid_index); put_bits 2311 libavcodec/g723_1.c put_bits(&pb, 1, p->subframe[2].grid_index); put_bits 2312 libavcodec/g723_1.c put_bits(&pb, 1, p->subframe[3].grid_index); put_bits 2322 libavcodec/g723_1.c put_bits(&pb, 13, temp); put_bits 2324 libavcodec/g723_1.c put_bits(&pb, 16, p->subframe[0].pulse_pos & 0xffff); put_bits 2325 libavcodec/g723_1.c put_bits(&pb, 14, p->subframe[1].pulse_pos & 0x3fff); put_bits 2326 libavcodec/g723_1.c put_bits(&pb, 16, p->subframe[2].pulse_pos & 0xffff); put_bits 2327 libavcodec/g723_1.c put_bits(&pb, 14, p->subframe[3].pulse_pos & 0x3fff); put_bits 2329 libavcodec/g723_1.c put_bits(&pb, 6, p->subframe[0].pulse_sign); put_bits 2330 libavcodec/g723_1.c put_bits(&pb, 5, p->subframe[1].pulse_sign); put_bits 2331 libavcodec/g723_1.c put_bits(&pb, 6, p->subframe[2].pulse_sign); put_bits 2332 libavcodec/g723_1.c put_bits(&pb, 5, p->subframe[3].pulse_sign); put_bits 356 libavcodec/g726.c put_bits(&pb, c->code_size, g726_encode(c, *samples++)); put_bits 178 libavcodec/gif.c 12, FF_LZW_GIF, put_bits); put_bits 469 libavcodec/golomb.h put_bits(pb, 1, 1); put_bits 474 libavcodec/golomb.h put_bits(pb, ff_ue_golomb_len[i], i + 1); put_bits 477 libavcodec/golomb.h put_bits(pb, 2 * e + 1, i + 1); put_bits 490 libavcodec/golomb.h put_bits(pb, 1, i ^ 1); put_bits 528 libavcodec/golomb.h put_bits(pb, e + k + 1, (1 << k) + (i & ((1 << k) - 1))); put_bits 530 libavcodec/golomb.h put_bits(pb, limit + esc_len, i - limit + 1); put_bits 546 libavcodec/golomb.h put_bits(pb, 31, 0); put_bits 549 libavcodec/golomb.h put_bits(pb, e, 1); put_bits 554 libavcodec/golomb.h put_bits(pb, 31, 0); put_bits 557 libavcodec/golomb.h put_bits(pb, limit, 1); put_bits 558 libavcodec/golomb.h put_bits(pb, esc_len, i - 1); put_bits 62 libavcodec/h261enc.c put_bits(&s->pb, 20, 0x10); /* PSC */ put_bits 68 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* split screen off */ put_bits 69 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* camera off */ put_bits 70 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* freeze picture release off */ put_bits 74 libavcodec/h261enc.c put_bits(&s->pb, 1, format); /* 0 == QCIF, 1 == CIF */ put_bits 76 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* still image mode */ put_bits 77 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* reserved */ put_bits 79 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* no PEI */ put_bits 98 libavcodec/h261enc.c put_bits(&s->pb, 16, 1); /* GBSC */ put_bits 99 libavcodec/h261enc.c put_bits(&s->pb, 4, h->gob_number); /* GN */ put_bits 100 libavcodec/h261enc.c put_bits(&s->pb, 5, s->qscale); /* GQUANT */ put_bits 101 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* no GEI */ put_bits 140 libavcodec/h261enc.c put_bits(&s->pb, ff_h261_mv_tab[code][1], ff_h261_mv_tab[code][0]); put_bits 148 libavcodec/h261enc.c put_bits(&s->pb, ff_h261_mv_tab[code][1], ff_h261_mv_tab[code][0]); put_bits 149 libavcodec/h261enc.c put_bits(&s->pb, 1, sign); put_bits 189 libavcodec/h261enc.c put_bits(&s->pb, 8, 0xff); put_bits 191 libavcodec/h261enc.c put_bits(&s->pb, 8, level); put_bits 196 libavcodec/h261enc.c put_bits(&s->pb, 2, block[0] > 0 ? 2 : 3); put_bits 220 libavcodec/h261enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 222 libavcodec/h261enc.c put_bits(&s->pb, 6, run); put_bits 227 libavcodec/h261enc.c put_bits(&s->pb, 1, sign); put_bits 233 libavcodec/h261enc.c put_bits(&s->pb, rl->table_vlc[0][1], rl->table_vlc[0][0]); // EOB put_bits 265 libavcodec/h261enc.c put_bits(&s->pb, put_bits 288 libavcodec/h261enc.c put_bits(&s->pb, put_bits 296 libavcodec/h261enc.c put_bits(&s->pb, 5, s->qscale); put_bits 310 libavcodec/h261enc.c put_bits(&s->pb, put_bits 471 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y0], s->bits[0][y0]); put_bits 473 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[1][u0], s->bits[1][u0]); put_bits 475 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y1], s->bits[0][y1]); put_bits 477 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[2][v0], s->bits[2][v0]); put_bits 482 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y0], s->bits[0][y0]); put_bits 483 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[1][u0], s->bits[1][u0]); put_bits 484 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y1], s->bits[0][y1]); put_bits 485 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[2][v0], s->bits[2][v0]); put_bits 511 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y0], s->bits[plane][y0]); put_bits 513 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y0>>2], s->bits[plane][y0>>2]);\ put_bits 514 libavcodec/huffyuvenc.c put_bits(&s->pb, 2, y0&3); put_bits 532 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y0], s->bits[plane][y0]);\ put_bits 533 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y1], s->bits[plane][y1]); put_bits 535 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y0>>2], s->bits[plane][y0>>2]);\ put_bits 536 libavcodec/huffyuvenc.c put_bits(&s->pb, 2, y0&3);\ put_bits 537 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y1>>2], s->bits[plane][y1>>2]);\ put_bits 538 libavcodec/huffyuvenc.c put_bits(&s->pb, 2, y1&3); put_bits 669 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y0], s->bits[0][y0]);\ put_bits 670 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y1], s->bits[0][y1]); put_bits 722 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[1][g], s->bits[1][g]); \ put_bits 723 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][b], s->bits[0][b]); \ put_bits 724 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[2][r], s->bits[2][r]); \ put_bits 726 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[2][a], s->bits[2][a]); put_bits 781 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftv = p->data[2][0]); put_bits 782 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, lefty = p->data[0][1]); put_bits 783 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftu = p->data[1][0]); put_bits 784 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, p->data[0][0]); put_bits 889 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, lefta = data[A]); put_bits 890 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftr = data[R]); put_bits 891 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftg = data[G]); put_bits 892 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftb = data[B]); put_bits 917 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftr = data[0]); put_bits 918 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftg = data[1]); put_bits 919 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftb = data[2]); put_bits 920 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, 0); put_bits 998 libavcodec/huffyuvenc.c put_bits(&s->pb, 16, 0); put_bits 999 libavcodec/huffyuvenc.c put_bits(&s->pb, 15, 0); put_bits 130 libavcodec/ituh263enc.c put_bits(&s->pb, 22, 0x20); /* PSC */ put_bits 135 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); /* marker */ put_bits 136 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* h263 id */ put_bits 137 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* split screen off */ put_bits 138 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* camera off */ put_bits 139 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* freeze picture release off */ put_bits 144 libavcodec/ituh263enc.c put_bits(&s->pb, 3, format); put_bits 145 libavcodec/ituh263enc.c put_bits(&s->pb, 1, (s->pict_type == AV_PICTURE_TYPE_P)); put_bits 149 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* Unrestricted Motion Vector: off */ put_bits 150 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* SAC: off */ put_bits 151 libavcodec/ituh263enc.c put_bits(&s->pb, 1, s->obmc); /* Advanced Prediction */ put_bits 152 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* only I/P frames, no PB frame */ put_bits 153 libavcodec/ituh263enc.c put_bits(&s->pb, 5, s->qscale); put_bits 154 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* Continuous Presence Multipoint mode: off */ put_bits 160 libavcodec/ituh263enc.c put_bits(&s->pb, 3, 7); put_bits 161 libavcodec/ituh263enc.c put_bits(&s->pb,3,ufep); /* Update Full Extended PTYPE */ put_bits 163 libavcodec/ituh263enc.c put_bits(&s->pb,3,6); /* Custom Source Format */ put_bits 165 libavcodec/ituh263enc.c put_bits(&s->pb, 3, format); put_bits 167 libavcodec/ituh263enc.c put_bits(&s->pb,1, s->custom_pcf); put_bits 168 libavcodec/ituh263enc.c put_bits(&s->pb,1, s->umvplus); /* Unrestricted Motion Vector */ put_bits 169 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* SAC: off */ put_bits 170 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->obmc); /* Advanced Prediction Mode */ put_bits 171 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->h263_aic); /* Advanced Intra Coding */ put_bits 172 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->loop_filter); /* Deblocking Filter */ put_bits 173 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->h263_slice_structured); /* Slice Structured */ put_bits 174 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* Reference Picture Selection: off */ put_bits 175 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* Independent Segment Decoding: off */ put_bits 176 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->alt_inter_vlc); /* Alternative Inter VLC */ put_bits 177 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->modified_quant); /* Modified Quantization: */ put_bits 178 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); /* "1" to prevent start code emulation */ put_bits 179 libavcodec/ituh263enc.c put_bits(&s->pb,3,0); /* Reserved */ put_bits 181 libavcodec/ituh263enc.c put_bits(&s->pb, 3, s->pict_type == AV_PICTURE_TYPE_P); put_bits 183 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* Reference Picture Resampling: off */ put_bits 184 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* Reduced-Resolution Update: off */ put_bits 185 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->no_rounding); /* Rounding Type */ put_bits 186 libavcodec/ituh263enc.c put_bits(&s->pb,2,0); /* Reserved */ put_bits 187 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); /* "1" to prevent start code emulation */ put_bits 190 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* Continuous Presence Multipoint mode: off */ put_bits 196 libavcodec/ituh263enc.c put_bits(&s->pb,4,s->aspect_ratio_info); put_bits 197 libavcodec/ituh263enc.c put_bits(&s->pb,9,(s->width >> 2) - 1); put_bits 198 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); /* "1" to prevent start code emulation */ put_bits 199 libavcodec/ituh263enc.c put_bits(&s->pb,9,(s->height >> 2)); put_bits 201 libavcodec/ituh263enc.c put_bits(&s->pb, 8, s->avctx->sample_aspect_ratio.num); put_bits 202 libavcodec/ituh263enc.c put_bits(&s->pb, 8, s->avctx->sample_aspect_ratio.den); put_bits 207 libavcodec/ituh263enc.c put_bits(&s->pb, 1, best_clock_code); put_bits 208 libavcodec/ituh263enc.c put_bits(&s->pb, 7, best_divisor); put_bits 217 libavcodec/ituh263enc.c put_bits(&s->pb,2,1); /* unlimited */ put_bits 219 libavcodec/ituh263enc.c put_bits(&s->pb,2,0); /* no weird submodes */ put_bits 221 libavcodec/ituh263enc.c put_bits(&s->pb, 5, s->qscale); put_bits 224 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* no PEI */ put_bits 227 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 232 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 241 libavcodec/ituh263enc.c put_bits(&s->pb, 17, 1); /* GBSC */ put_bits 244 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 249 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 250 libavcodec/ituh263enc.c put_bits(&s->pb, 5, s->qscale); /* GQUANT */ put_bits 251 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 252 libavcodec/ituh263enc.c put_bits(&s->pb, 2, s->pict_type == AV_PICTURE_TYPE_I); /* GFID */ put_bits 256 libavcodec/ituh263enc.c put_bits(&s->pb, 5, gob_number); /* GN */ put_bits 257 libavcodec/ituh263enc.c put_bits(&s->pb, 2, s->pict_type == AV_PICTURE_TYPE_I); /* GFID */ put_bits 258 libavcodec/ituh263enc.c put_bits(&s->pb, 5, s->qscale); /* GQUANT */ put_bits 318 libavcodec/ituh263enc.c put_bits(&s->pb, 8, 0xff); put_bits 320 libavcodec/ituh263enc.c put_bits(&s->pb, 8, level); put_bits 382 libavcodec/ituh263enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 385 libavcodec/ituh263enc.c put_bits(&s->pb, 1, last); put_bits 386 libavcodec/ituh263enc.c put_bits(&s->pb, 6, run); put_bits 393 libavcodec/ituh263enc.c put_bits(&s->pb, 8, 128); put_bits 401 libavcodec/ituh263enc.c put_bits(&s->pb, 1, sign); put_bits 419 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 421 libavcodec/ituh263enc.c put_bits(&s->pb, 3, 0); put_bits 423 libavcodec/ituh263enc.c put_bits(&s->pb, 3, 2); put_bits 442 libavcodec/ituh263enc.c put_bits(&s->pb, (2*n_bits)+1, code); put_bits 462 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 471 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 479 libavcodec/ituh263enc.c put_bits(&s->pb, put_bits 483 libavcodec/ituh263enc.c put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 485 libavcodec/ituh263enc.c put_bits(&s->pb, 2, dquant_code[s->dquant+2]); put_bits 503 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); put_bits 506 libavcodec/ituh263enc.c put_bits(&s->pb, put_bits 509 libavcodec/ituh263enc.c put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 511 libavcodec/ituh263enc.c put_bits(&s->pb, 2, dquant_code[s->dquant+2]); put_bits 532 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); put_bits 599 libavcodec/ituh263enc.c put_bits(&s->pb, put_bits 604 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 605 libavcodec/ituh263enc.c put_bits(&s->pb, put_bits 611 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* no AC prediction */ put_bits 614 libavcodec/ituh263enc.c put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 616 libavcodec/ituh263enc.c put_bits(&s->pb, 2, dquant_code[s->dquant+2]); put_bits 652 libavcodec/ituh263enc.c put_bits(&s->pb, ff_mvtab[code][1], ff_mvtab[code][0]); put_bits 666 libavcodec/ituh263enc.c put_bits(&s->pb, ff_mvtab[code][1] + 1, (ff_mvtab[code][0] << 1) | sign); put_bits 668 libavcodec/ituh263enc.c put_bits(&s->pb, bit_size, bits); put_bits 832 libavcodec/ituh263enc.c put_bits(&s->pb, ff_mba_length[i], mb_pos); put_bits 176 libavcodec/j2kenc.c put_bits(s, (num >> n) & 1, 1); put_bits 209 libavcodec/j2kenc.c put_bits(s, 0, threshold - curval); put_bits 212 libavcodec/j2kenc.c put_bits(s, 0, stack[sp]->val - curval); put_bits 213 libavcodec/j2kenc.c put_bits(s, 1, 1); put_bits 668 libavcodec/j2kenc.c put_bits(s, !empty, 1); put_bits 717 libavcodec/j2kenc.c put_bits(s, 1, llen); put_bits 718 libavcodec/j2kenc.c put_bits(s, 0, 1); put_bits 105 libavcodec/jpeglsenc.c put_bits(pb, 1, 1); put_bits 112 libavcodec/jpeglsenc.c put_bits(pb, 1, 1); put_bits 114 libavcodec/jpeglsenc.c put_bits(pb, 1, 0); put_bits 116 libavcodec/jpeglsenc.c put_bits(pb, ff_log2_run[state->run_index[comp]], run); put_bits 240 libavcodec/jpeglsenc.c put_bits(pb, 16, 13); put_bits 241 libavcodec/jpeglsenc.c put_bits(pb, 8, 1); put_bits 242 libavcodec/jpeglsenc.c put_bits(pb, 16, state->maxval); put_bits 243 libavcodec/jpeglsenc.c put_bits(pb, 16, state->T1); put_bits 244 libavcodec/jpeglsenc.c put_bits(pb, 16, state->T2); put_bits 245 libavcodec/jpeglsenc.c put_bits(pb, 16, state->T3); put_bits 246 libavcodec/jpeglsenc.c put_bits(pb, 16, state->reset); put_bits 282 libavcodec/jpeglsenc.c put_bits(&pb, 16, 8 + comps * 3); // header size depends on components put_bits 283 libavcodec/jpeglsenc.c put_bits(&pb, 8, (avctx->pix_fmt == AV_PIX_FMT_GRAY16) ? 16 : 8); // bpp put_bits 284 libavcodec/jpeglsenc.c put_bits(&pb, 16, avctx->height); put_bits 285 libavcodec/jpeglsenc.c put_bits(&pb, 16, avctx->width); put_bits 286 libavcodec/jpeglsenc.c put_bits(&pb, 8, comps); // components put_bits 288 libavcodec/jpeglsenc.c put_bits(&pb, 8, i); // component ID put_bits 289 libavcodec/jpeglsenc.c put_bits(&pb, 8, 0x11); // subsampling: none put_bits 290 libavcodec/jpeglsenc.c put_bits(&pb, 8, 0); // Tiq, used by JPEG-LS ext put_bits 294 libavcodec/jpeglsenc.c put_bits(&pb, 16, 6 + comps * 2); put_bits 295 libavcodec/jpeglsenc.c put_bits(&pb, 8, comps); put_bits 297 libavcodec/jpeglsenc.c put_bits(&pb, 8, i); // component ID put_bits 298 libavcodec/jpeglsenc.c put_bits(&pb, 8, 0); // mapping index: none put_bits 300 libavcodec/jpeglsenc.c put_bits(&pb, 8, near); put_bits 301 libavcodec/jpeglsenc.c put_bits(&pb, 8, (comps > 1) ? 1 : 0); // interleaving: 0 - plane, 1 - line put_bits 302 libavcodec/jpeglsenc.c put_bits(&pb, 8, 0); // point transform: none put_bits 375 libavcodec/jpeglsenc.c put_bits(&pb2, 7, 0); put_bits 384 libavcodec/jpeglsenc.c put_bits(&pb, 8, v); put_bits 387 libavcodec/jpeglsenc.c put_bits(&pb, 8, v); put_bits 63 libavcodec/lzwenc.c void (*put_bits)(PutBitContext *, int, unsigned); ///< GIF is LE while TIFF is BE put_bits 116 libavcodec/lzwenc.c s->put_bits(&s->pb, s->bits, c); put_bits 217 libavcodec/lzwenc.c s->put_bits = lzw_put_bits; put_bits 267 libavcodec/lzwenc.c s->put_bits(&s->pb, 1, 0); put_bits 275 libavcodec/mips/aaccoder_mips.c put_bits(pb, p_bits[curidx], p_codes[curidx]); put_bits 367 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 446 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 533 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 540 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 626 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 633 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 724 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 728 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 812 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 817 libavcodec/mips/aaccoder_mips.c put_bits(pb, len * 2 - 3, v_codes); put_bits 822 libavcodec/mips/aaccoder_mips.c put_bits(pb, len*2-3, v_codes); put_bits 827 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 832 libavcodec/mips/aaccoder_mips.c put_bits(pb, len* 2 - 3, v_codes); put_bits 837 libavcodec/mips/aaccoder_mips.c put_bits(pb, len * 2 - 3, v_codes); put_bits 2493 libavcodec/mips/aaccoder_mips.c put_bits(&s->pb, 4, stackcb[i]); put_bits 2501 libavcodec/mips/aaccoder_mips.c put_bits(&s->pb, run_bits, run_esc); put_bits 2504 libavcodec/mips/aaccoder_mips.c put_bits(&s->pb, run_bits, count); put_bits 125 libavcodec/mjpeg.h put_bits(p, 8, 0xff); put_bits 126 libavcodec/mjpeg.h put_bits(p, 8, code); put_bits 1911 libavcodec/mjpegdec.c put_bits(&pb, 8, x); put_bits 1918 libavcodec/mjpegdec.c put_bits(&pb, 7, x); put_bits 154 libavcodec/mjpegenc.c put_bits(&s->pb, huff_size_ac[0xf0], huff_code_ac[0xf0]); put_bits 166 libavcodec/mjpegenc.c put_bits(&s->pb, huff_size_ac[code], huff_code_ac[code]); put_bits 175 libavcodec/mjpegenc.c put_bits(&s->pb, huff_size_ac[0], huff_code_ac[0]); put_bits 42 libavcodec/mjpegenc_common.c put_bits(p, 4, table_class); put_bits 43 libavcodec/mjpegenc_common.c put_bits(p, 4, table_id); put_bits 48 libavcodec/mjpegenc_common.c put_bits(p, 8, bits_table[i]); put_bits 52 libavcodec/mjpegenc_common.c put_bits(p, 8, value_table[i]); put_bits 72 libavcodec/mjpegenc_common.c put_bits(p, 16, 2 + matrix_count * (1 + 64)); put_bits 73 libavcodec/mjpegenc_common.c put_bits(p, 4, 0); /* 8 bit precision */ put_bits 74 libavcodec/mjpegenc_common.c put_bits(p, 4, 0); /* table 0 */ put_bits 77 libavcodec/mjpegenc_common.c put_bits(p, 8, luma_intra_matrix[j]); put_bits 81 libavcodec/mjpegenc_common.c put_bits(p, 4, 0); /* 8 bit precision */ put_bits 82 libavcodec/mjpegenc_common.c put_bits(p, 4, 1); /* table 1 */ put_bits 85 libavcodec/mjpegenc_common.c put_bits(p, 8, chroma_intra_matrix[j]); put_bits 92 libavcodec/mjpegenc_common.c put_bits(p, 16, 4); put_bits 93 libavcodec/mjpegenc_common.c put_bits(p, 16, (avctx->width-1)/(8*hsample[0]) + 1); put_bits 100 libavcodec/mjpegenc_common.c put_bits(p, 16, 0); /* patched later */ put_bits 122 libavcodec/mjpegenc_common.c put_bits(p, 16, 16); put_bits 124 libavcodec/mjpegenc_common.c put_bits(p, 16, 0x0102); /* v 1.02 */ put_bits 125 libavcodec/mjpegenc_common.c put_bits(p, 8, 0); /* units type: 0 - aspect ratio */ put_bits 126 libavcodec/mjpegenc_common.c put_bits(p, 16, avctx->sample_aspect_ratio.num); put_bits 127 libavcodec/mjpegenc_common.c put_bits(p, 16, avctx->sample_aspect_ratio.den); put_bits 128 libavcodec/mjpegenc_common.c put_bits(p, 8, 0); /* thumbnail width */ put_bits 129 libavcodec/mjpegenc_common.c put_bits(p, 8, 0); /* thumbnail height */ put_bits 137 libavcodec/mjpegenc_common.c put_bits(p, 16, 0); /* patched later */ put_bits 149 libavcodec/mjpegenc_common.c put_bits(p, 16, 0); /* patched later */ put_bits 211 libavcodec/mjpegenc_common.c put_bits(pb, 16, 17); put_bits 215 libavcodec/mjpegenc_common.c put_bits(pb, 8, 9); /* 9 bits/component RCT */ put_bits 217 libavcodec/mjpegenc_common.c put_bits(pb, 8, 8); /* 8 bits/component */ put_bits 218 libavcodec/mjpegenc_common.c put_bits(pb, 16, avctx->height); put_bits 219 libavcodec/mjpegenc_common.c put_bits(pb, 16, avctx->width); put_bits 220 libavcodec/mjpegenc_common.c put_bits(pb, 8, 3); /* 3 components */ put_bits 223 libavcodec/mjpegenc_common.c put_bits(pb, 8, 1); /* component number */ put_bits 224 libavcodec/mjpegenc_common.c put_bits(pb, 4, hsample[0]); /* H factor */ put_bits 225 libavcodec/mjpegenc_common.c put_bits(pb, 4, vsample[0]); /* V factor */ put_bits 226 libavcodec/mjpegenc_common.c put_bits(pb, 8, 0); /* select matrix */ put_bits 229 libavcodec/mjpegenc_common.c put_bits(pb, 8, 2); /* component number */ put_bits 230 libavcodec/mjpegenc_common.c put_bits(pb, 4, hsample[1]); /* H factor */ put_bits 231 libavcodec/mjpegenc_common.c put_bits(pb, 4, vsample[1]); /* V factor */ put_bits 232 libavcodec/mjpegenc_common.c put_bits(pb, 8, lossless ? 0 : chroma_matrix); /* select matrix */ put_bits 235 libavcodec/mjpegenc_common.c put_bits(pb, 8, 3); /* component number */ put_bits 236 libavcodec/mjpegenc_common.c put_bits(pb, 4, hsample[2]); /* H factor */ put_bits 237 libavcodec/mjpegenc_common.c put_bits(pb, 4, vsample[2]); /* V factor */ put_bits 238 libavcodec/mjpegenc_common.c put_bits(pb, 8, lossless ? 0 : chroma_matrix); /* select matrix */ put_bits 242 libavcodec/mjpegenc_common.c put_bits(pb, 16, 12); /* length */ put_bits 243 libavcodec/mjpegenc_common.c put_bits(pb, 8, 3); /* 3 components */ put_bits 246 libavcodec/mjpegenc_common.c put_bits(pb, 8, 1); /* index */ put_bits 247 libavcodec/mjpegenc_common.c put_bits(pb, 4, 0); /* DC huffman table index */ put_bits 248 libavcodec/mjpegenc_common.c put_bits(pb, 4, 0); /* AC huffman table index */ put_bits 251 libavcodec/mjpegenc_common.c put_bits(pb, 8, 2); /* index */ put_bits 252 libavcodec/mjpegenc_common.c put_bits(pb, 4, 1); /* DC huffman table index */ put_bits 253 libavcodec/mjpegenc_common.c put_bits(pb, 4, lossless ? 0 : 1); /* AC huffman table index */ put_bits 256 libavcodec/mjpegenc_common.c put_bits(pb, 8, 3); /* index */ put_bits 257 libavcodec/mjpegenc_common.c put_bits(pb, 4, 1); /* DC huffman table index */ put_bits 258 libavcodec/mjpegenc_common.c put_bits(pb, 4, lossless ? 0 : 1); /* AC huffman table index */ put_bits 260 libavcodec/mjpegenc_common.c put_bits(pb, 8, lossless ? avctx->prediction_method + 1 : 0); /* Ss (not used) */ put_bits 263 libavcodec/mjpegenc_common.c case AV_CODEC_ID_MJPEG: put_bits(pb, 8, 63); break; /* Se (not used) */ put_bits 264 libavcodec/mjpegenc_common.c case AV_CODEC_ID_LJPEG: put_bits(pb, 8, 0); break; /* not used */ put_bits 268 libavcodec/mjpegenc_common.c put_bits(pb, 8, 0); /* Ah/Al (not used) */ put_bits 290 libavcodec/mjpegenc_common.c put_bits(pb, pad, (1<<pad)-1); put_bits 369 libavcodec/mjpegenc_common.c put_bits(pb, huff_size[0], huff_code[0]); put_bits 379 libavcodec/mjpegenc_common.c put_bits(pb, huff_size[nbits], huff_code[nbits]); put_bits 233 libavcodec/mpeg12enc.c put_bits(&s->pb, 16, header >> 16); put_bits 273 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->aspect_ratio_info); put_bits 274 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->frame_rate_index); put_bits 293 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // marker put_bits 308 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, constraint_parameter_flag); put_bits 320 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, 1); // seq ext put_bits 322 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->avctx->profile == 0); // escx 1 for 4:2:2 profile put_bits 324 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, s->avctx->profile); // profile put_bits 325 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->avctx->level); // level put_bits 327 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->progressive_sequence); put_bits 328 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->chroma_format); put_bits 329 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->width >> 12); put_bits 330 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->height >> 12); put_bits 331 libavcodec/mpeg12enc.c put_bits(&s->pb, 12, v >> 18); // bitrate ext put_bits 332 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // marker put_bits 333 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, vbv_buffer_size >> 10); // vbv buffer ext put_bits 334 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->low_delay); put_bits 335 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->mpeg2_frame_rate_ext.num-1); // frame_rate_ext_n put_bits 336 libavcodec/mpeg12enc.c put_bits(&s->pb, 5, s->mpeg2_frame_rate_ext.den-1); // frame_rate_ext_d put_bits 355 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, 2); // sequence display extension put_bits 356 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 0); // video_format: 0 is components put_bits 357 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // colour_description put_bits 358 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, s->avctx->color_primaries); // colour_primaries put_bits 359 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, s->avctx->color_trc); // transfer_characteristics put_bits 360 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, s->avctx->colorspace); // matrix_coefficients put_bits 361 libavcodec/mpeg12enc.c put_bits(&s->pb, 14, width); // display_horizontal_size put_bits 362 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // marker_bit put_bits 363 libavcodec/mpeg12enc.c put_bits(&s->pb, 14, height); // display_vertical_size put_bits 364 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 0); // remaining 3 bits are zero padding put_bits 369 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->drop_frame_timecode); // drop frame flag put_bits 382 libavcodec/mpeg12enc.c put_bits(&s->pb, 5, (uint32_t)((time_code / (fps * 3600)) % 24)); put_bits 383 libavcodec/mpeg12enc.c put_bits(&s->pb, 6, (uint32_t)((time_code / (fps * 60)) % 60)); put_bits 384 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); put_bits 385 libavcodec/mpeg12enc.c put_bits(&s->pb, 6, (uint32_t)((time_code / fps) % 60)); put_bits 386 libavcodec/mpeg12enc.c put_bits(&s->pb, 6, (uint32_t)((time_code % fps))); put_bits 387 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, !!(s->flags & CODEC_FLAG_CLOSED_GOP) || s->intra_only || !s->gop_picture_number); put_bits 388 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 0); // broken link put_bits 395 libavcodec/mpeg12enc.c put_bits(&s->pb, 11, 0x008); put_bits 398 libavcodec/mpeg12enc.c put_bits(&s->pb, ff_mpeg12_mbAddrIncrTable[run][1], put_bits 406 libavcodec/mpeg12enc.c put_bits(&s->pb, 5, inv_non_linear_qscale[s->qscale]); put_bits 408 libavcodec/mpeg12enc.c put_bits(&s->pb, 5, s->qscale); put_bits 417 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, s->mb_y >> 7); put_bits 423 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 0); put_bits 436 libavcodec/mpeg12enc.c put_bits(&s->pb, 10, put_bits 438 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, s->pict_type); put_bits 441 libavcodec/mpeg12enc.c put_bits(&s->pb, 16, 0xFFFF); /* vbv_delay */ put_bits 446 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 0); /* half pel coordinates */ put_bits 448 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, s->f_code); /* forward_f_code */ put_bits 450 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 7); /* forward_f_code */ put_bits 455 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 0); /* half pel coordinates */ put_bits 457 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, s->b_code); /* backward_f_code */ put_bits 459 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 7); /* backward_f_code */ put_bits 462 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 0); /* extra bit picture */ put_bits 467 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, 8); /* pic ext */ put_bits 470 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->f_code); put_bits 471 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->f_code); put_bits 473 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 255); put_bits 476 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->b_code); put_bits 477 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->b_code); put_bits 479 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 255); put_bits 481 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->intra_dc_precision); put_bits 484 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->picture_structure); put_bits 486 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 0); /* no repeat */ put_bits 488 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->current_picture_ptr->f->top_field_first); put_bits 492 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->frame_pred_frame_dct); put_bits 493 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->concealment_motion_vectors); put_bits 494 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->q_scale_type); put_bits 495 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->intra_vlc_format); put_bits 496 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->alternate_scan); put_bits 497 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->repeat_first_field); put_bits 500 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->chroma_format == put_bits 502 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->progressive_frame); put_bits 503 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 0); /* composite_display_flag */ put_bits 510 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, svcd_scan_offset_placeholder[i]); put_bits 538 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 'J'); // S3D_video_format_signaling_identifier put_bits 539 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 'P'); put_bits 540 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, '3'); put_bits 541 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 'D'); put_bits 542 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 0x03); // S3D_video_format_length put_bits 544 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // reserved_bit put_bits 545 libavcodec/mpeg12enc.c put_bits(&s->pb, 7, fpa_type); // S3D_video_format_type put_bits 546 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 0x04); // reserved_data[0] put_bits 547 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 0xFF); // reserved_data[1] put_bits 558 libavcodec/mpeg12enc.c put_bits(&s->pb, n, bits); put_bits 562 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 2 - field_motion); put_bits 563 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->interlaced_dct); put_bits 572 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 597 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 601 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, sign); put_bits 603 libavcodec/mpeg12enc.c put_bits(&s->pb, bit_size, bits); put_bits 620 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 625 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 631 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 635 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 665 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, code | 0x02); put_bits 693 libavcodec/mpeg12enc.c put_bits(&s->pb, table_vlc[code][1] + 1, put_bits 697 libavcodec/mpeg12enc.c put_bits(&s->pb, table_vlc[111][1], table_vlc[111][0]); put_bits 699 libavcodec/mpeg12enc.c put_bits(&s->pb, 6, run); put_bits 705 libavcodec/mpeg12enc.c put_bits(&s->pb, 16, 0x8001 + level + 255); put_bits 717 libavcodec/mpeg12enc.c put_bits(&s->pb, table_vlc[112][1], table_vlc[112][0]); put_bits 821 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 1); /* motion only */ put_bits 823 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 2); /* motion_type: frame */ put_bits 849 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 1); /* motion only */ put_bits 850 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 1); /* motion_type: field */ put_bits 855 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->field_select[0][i]); put_bits 869 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 873 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 893 libavcodec/mpeg12enc.c put_bits(&s->pb, 5 - s->mv_dir, 2); put_bits 895 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 2); /* motion_type: frame */ put_bits 939 libavcodec/mpeg12enc.c put_bits(&s->pb, 5 - s->mv_dir, 2); put_bits 940 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 1); /* motion_type: field */ put_bits 946 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->field_select[0][i]); put_bits 960 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->field_select[1][i]); put_bits 976 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 980 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 162 libavcodec/mpeg4audio.c put_bits(pb, bits, el); put_bits 264 libavcodec/mpeg4videoenc.c put_bits(s, uni_DCtab_lum_len[level], uni_DCtab_lum_bits[level]); put_bits 267 libavcodec/mpeg4videoenc.c put_bits(s, uni_DCtab_chrom_len[level], uni_DCtab_chrom_bits[level]); put_bits 281 libavcodec/mpeg4videoenc.c put_bits(s, ff_mpeg4_DCtab_lum[size][1], ff_mpeg4_DCtab_lum[size][0]); put_bits 284 libavcodec/mpeg4videoenc.c put_bits(s, ff_mpeg4_DCtab_chrom[size][1], ff_mpeg4_DCtab_chrom[size][0]); put_bits 291 libavcodec/mpeg4videoenc.c put_bits(s, size, level); put_bits 293 libavcodec/mpeg4videoenc.c put_bits(s, 1, 1); put_bits 345 libavcodec/mpeg4videoenc.c put_bits(ac_pb, len_tab[index], bits_tab[index]); put_bits 347 libavcodec/mpeg4videoenc.c put_bits(ac_pb, put_bits 361 libavcodec/mpeg4videoenc.c put_bits(ac_pb, len_tab[index], bits_tab[index]); put_bits 363 libavcodec/mpeg4videoenc.c put_bits(ac_pb, put_bits 552 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* mb not coded modb1=1 */ put_bits 562 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* mb coded modb1=0 */ put_bits 563 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, cbp ? 0 : 1); /* modb2 */ // FIXME merge put_bits 564 libavcodec/mpeg4videoenc.c put_bits(&s->pb, mb_type + 1, 1); // this table is so simple that we don't need it :) put_bits 566 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 6, cbp); put_bits 570 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, (s->dquant >> 2) + 3); put_bits 572 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); put_bits 578 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->interlaced_dct); put_bits 580 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->mv_type == MV_TYPE_FIELD); put_bits 618 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[0][0]); put_bits 619 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[0][1]); put_bits 622 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[1][0]); put_bits 623 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[1][1]); put_bits 713 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 725 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 732 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 736 libavcodec/mpeg4videoenc.c put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 738 libavcodec/mpeg4videoenc.c put_bits(pb2, 2, dquant_code[s->dquant + 2]); put_bits 742 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, s->interlaced_dct); put_bits 743 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, 0); put_bits 759 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 763 libavcodec/mpeg4videoenc.c put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 765 libavcodec/mpeg4videoenc.c put_bits(pb2, 2, dquant_code[s->dquant + 2]); put_bits 769 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, s->interlaced_dct); put_bits 770 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, 1); put_bits 779 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[0][0]); put_bits 780 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[0][1]); put_bits 792 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 795 libavcodec/mpeg4videoenc.c put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 798 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, s->interlaced_dct); put_bits 852 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 858 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 859 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 863 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, s->ac_pred); put_bits 865 libavcodec/mpeg4videoenc.c put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 867 libavcodec/mpeg4videoenc.c put_bits(dc_pb, 2, dquant_code[s->dquant + 2]); put_bits 870 libavcodec/mpeg4videoenc.c put_bits(dc_pb, 1, s->interlaced_dct); put_bits 894 libavcodec/mpeg4videoenc.c put_bits(pbc, 1, 0); put_bits 897 libavcodec/mpeg4videoenc.c put_bits(pbc, length, (1 << length) - 1); put_bits 916 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 917 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, GOP_STARTCODE); put_bits 930 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 5, hours); put_bits 931 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 6, minutes); put_bits 932 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 933 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 6, seconds); put_bits 935 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, !!(s->flags & CODEC_FLAG_CLOSED_GOP)); put_bits 936 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); // broken link == NO put_bits 966 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 967 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, VOS_STARTCODE); put_bits 969 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 8, profile_and_level_indication); put_bits 971 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 972 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, VISUAL_OBJ_STARTCODE); put_bits 974 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 975 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 4, vo_ver_id); put_bits 976 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, 1); // priority put_bits 978 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 4, 1); // visual obj type== video obj put_bits 980 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); // video signal type == no clue // FIXME put_bits 1002 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 1003 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0x100 + vo_number); /* video obj */ put_bits 1004 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 1005 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0x120 + vol_number); /* video obj layer */ put_bits 1007 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* random access vol */ put_bits 1008 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 8, s->vo_type); /* video obj type indication */ put_bits 1010 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* is obj layer id= no */ put_bits 1012 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* is obj layer id= yes */ put_bits 1013 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 4, vo_ver_id); /* is obj layer ver id */ put_bits 1014 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, 1); /* is obj layer priority */ put_bits 1019 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 4, s->aspect_ratio_info); /* aspect ratio info */ put_bits 1023 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 8, s->avctx->sample_aspect_ratio.num); put_bits 1024 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 8, s->avctx->sample_aspect_ratio.den); put_bits 1028 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* vol control parameters= no @@@ */ put_bits 1030 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* vol control parameters= yes */ put_bits 1031 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, 1); /* chroma format YUV 420/YV12 */ put_bits 1032 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->low_delay); put_bits 1033 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* vbv parameters= no */ put_bits 1036 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, RECT_SHAPE); /* vol shape= rectangle */ put_bits 1037 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1039 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, s->avctx->time_base.den); put_bits 1042 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1043 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* fixed vop rate=no */ put_bits 1044 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1045 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 13, s->width); /* vol width */ put_bits 1046 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1047 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 13, s->height); /* vol height */ put_bits 1048 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1049 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->progressive_sequence ? 0 : 1); put_bits 1050 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* obmc disable */ put_bits 1052 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* sprite enable */ put_bits 1054 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, 0); /* sprite enable */ put_bits 1056 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* not 8 bit == false */ put_bits 1057 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->mpeg_quant); /* quant type= (0=h263 style)*/ put_bits 1065 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->quarter_sample); put_bits 1066 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* complexity estimation disable */ put_bits 1067 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->rtp_mode ? 0 : 1); /* resync marker disable */ put_bits 1068 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->data_partitioning ? 1 : 0); put_bits 1070 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* no rvlc */ put_bits 1073 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* newpred */ put_bits 1074 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* reduced res vop */ put_bits 1076 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* scalability */ put_bits 1082 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 1083 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0x1B2); /* user_data */ put_bits 1107 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); /* vop header */ put_bits 1108 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, VOP_STARTCODE); /* vop header */ put_bits 1109 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, s->pict_type - 1); /* pict type: I = 0 , P = 1 */ put_bits 1116 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 1118 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); put_bits 1120 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker */ put_bits 1121 libavcodec/mpeg4videoenc.c put_bits(&s->pb, s->time_increment_bits, time_mod); /* time increment */ put_bits 1122 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker */ put_bits 1123 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* vop coded */ put_bits 1125 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->no_rounding); /* rounding type */ put_bits 1127 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, 0); /* intra dc VLC threshold */ put_bits 1129 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->current_picture_ptr->f->top_field_first); put_bits 1130 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->alternate_scan); put_bits 1134 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 5, s->qscale); put_bits 1137 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, s->f_code); /* fcode_for */ put_bits 1139 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, s->b_code); /* fcode_back */ put_bits 1363 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 19, DC_MARKER); put_bits 1367 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 17, MOTION_MARKER); put_bits 1386 libavcodec/mpeg4videoenc.c put_bits(&s->pb, ff_mpeg4_get_video_packet_prefix_length(s), 0); put_bits 1387 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 1389 libavcodec/mpeg4videoenc.c put_bits(&s->pb, mb_num_bits, s->mb_x + s->mb_y * s->mb_width); put_bits 1390 libavcodec/mpeg4videoenc.c put_bits(&s->pb, s->quant_precision, s->qscale); put_bits 1391 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* no HEC */ put_bits 616 libavcodec/mpegaudioenc_template.c put_bits(p, 12, 0xfff); put_bits 617 libavcodec/mpegaudioenc_template.c put_bits(p, 1, 1 - s->lsf); /* 1 = mpeg1 ID, 0 = mpeg2 lsf ID */ put_bits 618 libavcodec/mpegaudioenc_template.c put_bits(p, 2, 4-2); /* layer 2 */ put_bits 619 libavcodec/mpegaudioenc_template.c put_bits(p, 1, 1); /* no error protection */ put_bits 620 libavcodec/mpegaudioenc_template.c put_bits(p, 4, s->bitrate_index); put_bits 621 libavcodec/mpegaudioenc_template.c put_bits(p, 2, s->freq_index); put_bits 622 libavcodec/mpegaudioenc_template.c put_bits(p, 1, s->do_padding); /* use padding */ put_bits 623 libavcodec/mpegaudioenc_template.c put_bits(p, 1, 0); /* private_bit */ put_bits 624 libavcodec/mpegaudioenc_template.c put_bits(p, 2, s->nb_channels == 2 ? MPA_STEREO : MPA_MONO); put_bits 625 libavcodec/mpegaudioenc_template.c put_bits(p, 2, 0); /* mode_ext */ put_bits 626 libavcodec/mpegaudioenc_template.c put_bits(p, 1, 0); /* no copyright */ put_bits 627 libavcodec/mpegaudioenc_template.c put_bits(p, 1, 1); /* original */ put_bits 628 libavcodec/mpegaudioenc_template.c put_bits(p, 2, 0); /* no emphasis */ put_bits 635 libavcodec/mpegaudioenc_template.c put_bits(p, bit_alloc_bits, bit_alloc[ch][i]); put_bits 644 libavcodec/mpegaudioenc_template.c put_bits(p, 2, s->scale_code[ch][i]); put_bits 655 libavcodec/mpegaudioenc_template.c put_bits(p, 6, sf[0]); put_bits 656 libavcodec/mpegaudioenc_template.c put_bits(p, 6, sf[1]); put_bits 657 libavcodec/mpegaudioenc_template.c put_bits(p, 6, sf[2]); put_bits 661 libavcodec/mpegaudioenc_template.c put_bits(p, 6, sf[0]); put_bits 662 libavcodec/mpegaudioenc_template.c put_bits(p, 6, sf[2]); put_bits 665 libavcodec/mpegaudioenc_template.c put_bits(p, 6, sf[0]); put_bits 721 libavcodec/mpegaudioenc_template.c put_bits(p, -bits, put_bits 724 libavcodec/mpegaudioenc_template.c put_bits(p, bits, q[0]); put_bits 725 libavcodec/mpegaudioenc_template.c put_bits(p, bits, q[1]); put_bits 726 libavcodec/mpegaudioenc_template.c put_bits(p, bits, q[2]); put_bits 738 libavcodec/mpegaudioenc_template.c put_bits(p, 1, 0); put_bits 175 libavcodec/mpegvideo_enc.c put_bits(pb, 1, 1); put_bits 177 libavcodec/mpegvideo_enc.c put_bits(pb, 8, matrix[ff_zigzag_direct[i]]); put_bits 180 libavcodec/mpegvideo_enc.c put_bits(pb, 1, 0); put_bits 1844 libavcodec/mpegvideo_enc.c put_bits(&s->pb, 8, 0); put_bits 1848 libavcodec/mpegvideo_enc.c put_bits(&s->pb, 16, 0); put_bits 1849 libavcodec/mpegvideo_enc.c put_bits(&s->pb, 16, 0x1C3); put_bits 1852 libavcodec/mpegvideo_enc.c put_bits(&s->pb, 8, 0xFF); put_bits 72 libavcodec/msmpeg4enc.c put_bits(pb, 1, 0); put_bits 74 libavcodec/msmpeg4enc.c put_bits(pb, 1, 1); put_bits 75 libavcodec/msmpeg4enc.c put_bits(pb, 1, (n >= 2)); put_bits 228 libavcodec/msmpeg4enc.c put_bits(&s->pb, 2, s->pict_type - 1); put_bits 230 libavcodec/msmpeg4enc.c put_bits(&s->pb, 5, s->qscale); put_bits 247 libavcodec/msmpeg4enc.c put_bits(&s->pb, 5, 0x16 + s->mb_height/s->slice_height); put_bits 252 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->per_mb_rl_table); put_bits 261 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->dc_table_index); put_bits 264 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->use_skip_mb_code); put_bits 267 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->per_mb_rl_table); put_bits 273 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->dc_table_index); put_bits 275 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->mv_table_index); put_bits 286 libavcodec/msmpeg4enc.c put_bits(&s->pb, 5, FFMIN(fps, 31)); //yes 29.97 -> 29 put_bits 288 libavcodec/msmpeg4enc.c put_bits(&s->pb, 11, FFMIN(s->bit_rate/1024, 2047)); put_bits 291 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->flipflop_rounding); put_bits 324 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 329 libavcodec/msmpeg4enc.c put_bits(&s->pb, 6, mx); put_bits 330 libavcodec/msmpeg4enc.c put_bits(&s->pb, 6, my); put_bits 354 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_mvtab[code][1], ff_mvtab[code][0]); put_bits 373 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_mvtab[code][1] + 1, (ff_mvtab[code][0] << 1) | sign); put_bits 375 libavcodec/msmpeg4enc.c put_bits(&s->pb, bit_size, bits); put_bits 399 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 1); put_bits 407 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 410 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 416 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 426 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 463 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 467 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 468 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 472 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* no AC prediction yet */ put_bits 473 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 478 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 482 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 483 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 487 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* no AC prediction yet */ put_bits 490 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table_inter_intra[s->h263_aic_dir][1], ff_table_inter_intra[s->h263_aic_dir][0]); put_bits 524 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 528 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 553 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table0_dc_lum[code][1], ff_table0_dc_lum[code][0]); put_bits 555 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table0_dc_chroma[code][1], ff_table0_dc_chroma[code][0]); put_bits 559 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table1_dc_lum[code][1], ff_table1_dc_lum[code][0]); put_bits 561 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table1_dc_chroma[code][1], ff_table1_dc_chroma[code][0]); put_bits 569 libavcodec/msmpeg4enc.c put_bits(&s->pb, 8 + extrabits, level); put_bits 571 libavcodec/msmpeg4enc.c put_bits(&s->pb, extrabits, extquant); put_bits 574 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 640 libavcodec/msmpeg4enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 650 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); put_bits 663 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); put_bits 664 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, last); put_bits 671 libavcodec/msmpeg4enc.c put_bits(&s->pb, 6 + (s->msmpeg4_version>=6), 3); put_bits 673 libavcodec/msmpeg4enc.c put_bits(&s->pb, 8, 3); put_bits 675 libavcodec/msmpeg4enc.c put_bits(&s->pb, s->esc3_run_length, run); put_bits 676 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 677 libavcodec/msmpeg4enc.c put_bits(&s->pb, s->esc3_level_length, level); put_bits 679 libavcodec/msmpeg4enc.c put_bits(&s->pb, 6, run); put_bits 684 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 1); put_bits 685 libavcodec/msmpeg4enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 686 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 690 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 1); put_bits 691 libavcodec/msmpeg4enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 692 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 695 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 334 libavcodec/nellymoserenc.c put_bits(&pb, 5, idx_table[band]); put_bits 337 libavcodec/nellymoserenc.c put_bits(&pb, 6, idx_table[0]); put_bits 363 libavcodec/nellymoserenc.c put_bits(&pb, bits[i], best_idx); put_bits 367 libavcodec/nellymoserenc.c put_bits(&pb, NELLY_HEADER_BITS + NELLY_DETAIL_BITS - put_bits_count(&pb), 0); put_bits 154 libavcodec/pnmdec.c put_bits(&pb, sample_len, (((1<<sample_len)-1)*v + (s->maxval>>1))/s->maxval); put_bits 174 libavcodec/proresenc_anatoliy.c put_bits(pb, zeros, 0); put_bits 175 libavcodec/proresenc_anatoliy.c put_bits(pb, exp + 1, val); put_bits 178 libavcodec/proresenc_anatoliy.c put_bits(pb, (val >> rice_order), 0); put_bits 179 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, 1); put_bits 180 libavcodec/proresenc_anatoliy.c put_bits(pb, rice_order, val & mask); put_bits 182 libavcodec/proresenc_anatoliy.c put_bits(pb, val, 0); put_bits 183 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, 1); put_bits 257 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, IS_NEGATIVE(val)); put_bits 346 libavcodec/proresenc_kostya.c put_bits(pb, exponent - exp_order + switch_bits, 0); put_bits 347 libavcodec/proresenc_kostya.c put_bits(pb, exponent + 1, val); put_bits 352 libavcodec/proresenc_kostya.c put_bits(pb, exponent, 0); put_bits 353 libavcodec/proresenc_kostya.c put_bits(pb, 1, 1); put_bits 452 libavcodec/proresenc_kostya.c put_bits(pb, 1, 1); put_bits 453 libavcodec/proresenc_kostya.c put_bits(pb, abits, diff); put_bits 455 libavcodec/proresenc_kostya.c put_bits(pb, 1, 0); put_bits 456 libavcodec/proresenc_kostya.c put_bits(pb, dbits - 1, FFABS(diff) - 1); put_bits 457 libavcodec/proresenc_kostya.c put_bits(pb, 1, diff < 0); put_bits 464 libavcodec/proresenc_kostya.c put_bits(pb, 1, 0); put_bits 466 libavcodec/proresenc_kostya.c put_bits(pb, 4, run); put_bits 468 libavcodec/proresenc_kostya.c put_bits(pb, 15, run); put_bits 470 libavcodec/proresenc_kostya.c put_bits(pb, 1, 1); put_bits 196 libavcodec/put_bits.h put_bits(pb, n, value & ((1 << n) - 1)); put_bits 207 libavcodec/put_bits.h put_bits(s, 16, lo); put_bits 208 libavcodec/put_bits.h put_bits(s, 16, hi); put_bits 210 libavcodec/put_bits.h put_bits(s, 16, hi); put_bits 211 libavcodec/put_bits.h put_bits(s, 16, lo); put_bits 421 libavcodec/ra144enc.c put_bits(pb, 7, cba_idx); put_bits 422 libavcodec/ra144enc.c put_bits(pb, 8, gain); put_bits 423 libavcodec/ra144enc.c put_bits(pb, 7, cb1_idx); put_bits 424 libavcodec/ra144enc.c put_bits(pb, 7, cb2_idx); put_bits 501 libavcodec/ra144enc.c put_bits(&pb, bit_sizes[i], idx); put_bits 513 libavcodec/ra144enc.c put_bits(&pb, 5, quantize(energy, ff_energy_tab, 32)); put_bits 37 libavcodec/rv10enc.c put_bits(&s->pb, 1, 1); /* marker */ put_bits 39 libavcodec/rv10enc.c put_bits(&s->pb, 1, (s->pict_type == AV_PICTURE_TYPE_P)); put_bits 41 libavcodec/rv10enc.c put_bits(&s->pb, 1, 0); /* not PB frame */ put_bits 43 libavcodec/rv10enc.c put_bits(&s->pb, 5, s->qscale); put_bits 56 libavcodec/rv10enc.c put_bits(&s->pb, 6, 0); /* mb_x */ put_bits 57 libavcodec/rv10enc.c put_bits(&s->pb, 6, 0); /* mb_y */ put_bits 58 libavcodec/rv10enc.c put_bits(&s->pb, 12, s->mb_width * s->mb_height); put_bits 61 libavcodec/rv10enc.c put_bits(&s->pb, 3, 0); /* ignored */ put_bits 33 libavcodec/rv20enc.c put_bits(&s->pb, 2, s->pict_type); //I 0 vs. 1 ? put_bits 34 libavcodec/rv20enc.c put_bits(&s->pb, 1, 0); /* unknown bit */ put_bits 35 libavcodec/rv20enc.c put_bits(&s->pb, 5, s->qscale); put_bits 41 libavcodec/rv20enc.c put_bits(&s->pb, 1, s->no_rounding); put_bits 86 libavcodec/s302menc.c put_bits(&pb, 16, buf_size - AES3_HEADER_LEN); put_bits 87 libavcodec/s302menc.c put_bits(&pb, 2, (avctx->channels - 2) >> 1); // number of channels put_bits 88 libavcodec/s302menc.c put_bits(&pb, 8, 0); // channel ID put_bits 89 libavcodec/s302menc.c put_bits(&pb, 2, (avctx->bits_per_raw_sample - 16) / 4); // bits per samples (0 = 16bit, 1 = 20bit, 2 = 24bit) put_bits 90 libavcodec/s302menc.c put_bits(&pb, 4, 0); // alignments put_bits 226 libavcodec/sonic.c put_bits(pb, 1, value & (1 << i)); put_bits 229 libavcodec/sonic.c put_bits(pb, 1, value & (1 << (bits-1))); put_bits 273 libavcodec/sonic.c put_bits(pb, 4, low_bits); put_bits 278 libavcodec/sonic.c put_bits(pb, low_bits, abs(buf[i])); put_bits 310 libavcodec/sonic.c put_bits(pb, 1, any); put_bits 341 libavcodec/sonic.c put_bits(pb, 1, buf[i] < 0); put_bits 667 libavcodec/sonic.c put_bits(&pb, 2, s->version); // version put_bits 671 libavcodec/sonic.c put_bits(&pb, 8, s->version); put_bits 672 libavcodec/sonic.c put_bits(&pb, 8, s->minor_version); put_bits 674 libavcodec/sonic.c put_bits(&pb, 2, s->channels); put_bits 675 libavcodec/sonic.c put_bits(&pb, 4, code_samplerate(s->samplerate)); put_bits 677 libavcodec/sonic.c put_bits(&pb, 1, s->lossless); put_bits 679 libavcodec/sonic.c put_bits(&pb, 3, SAMPLE_SHIFT); // XXX FIXME: sample precision put_bits 680 libavcodec/sonic.c put_bits(&pb, 2, s->decorrelation); put_bits 681 libavcodec/sonic.c put_bits(&pb, 2, s->downsampling); put_bits 682 libavcodec/sonic.c put_bits(&pb, 5, (s->num_taps >> 5)-1); // 32..1024 put_bits 683 libavcodec/sonic.c put_bits(&pb, 1, 0); // XXX FIXME: no custom tap quant table put_bits 47 libavcodec/svq1enc.c put_bits(&s->pb, 22, 0x20); put_bits 50 libavcodec/svq1enc.c put_bits(&s->pb, 8, 0x00); put_bits 53 libavcodec/svq1enc.c put_bits(&s->pb, 2, frame_type - 1); put_bits 59 libavcodec/svq1enc.c put_bits(&s->pb, 5, 2); /* 2 needed by quicktime decoder */ put_bits 64 libavcodec/svq1enc.c put_bits(&s->pb, 3, i); put_bits 67 libavcodec/svq1enc.c put_bits(&s->pb, 12, s->frame_width); put_bits 68 libavcodec/svq1enc.c put_bits(&s->pb, 12, s->frame_height); put_bits 73 libavcodec/svq1enc.c put_bits(&s->pb, 2, 0); put_bits 204 libavcodec/svq1enc.c put_bits(&s->reorder_pb[level], 1, split); put_bits 213 libavcodec/svq1enc.c put_bits(&s->reorder_pb[level], put_bits 216 libavcodec/svq1enc.c put_bits(&s->reorder_pb[level], mean_vlc[best_mean][1], put_bits 221 libavcodec/svq1enc.c put_bits(&s->reorder_pb[level], 4, best_vector[i]); put_bits 390 libavcodec/svq1enc.c put_bits(&s->reorder_pb[5], vlc[1], vlc[0]); put_bits 416 libavcodec/svq1enc.c put_bits(&s->reorder_pb[5], vlc[1], vlc[0]); put_bits 448 libavcodec/svq1enc.c put_bits(&s->pb, vlc[1], vlc[0]); put_bits 631 libavcodec/svq1enc.c put_bits(&s->pb, 1, 0); put_bits 418 libavcodec/tiffenc.c 12, FF_LZW_TIFF, put_bits); put_bits 179 libavcodec/ttaenc.c put_bits(&pb, 31, 0x7FFFFFFF); put_bits 182 libavcodec/ttaenc.c put_bits(&pb, unary, (1 << unary) - 1); put_bits 188 libavcodec/ttaenc.c put_bits(&pb, 1, 0); put_bits 191 libavcodec/ttaenc.c put_bits(&pb, k, outval & (ff_tta_shift_1[k] - 1)); put_bits 371 libavcodec/utvideoenc.c put_bits(&pb, he[src[i]].len, he[src[i]].code); put_bits 380 libavcodec/utvideoenc.c put_bits(&pb, 32 - count, 0); put_bits 150 libavcodec/vorbisenc.c put_bits(pb, cb->lens[entry], cb->codewords[entry]); put_bits 459 libavcodec/vorbisenc.c put_bits(pb, 24, 0x564342); //magic put_bits 460 libavcodec/vorbisenc.c put_bits(pb, 16, cb->ndimensions); put_bits 461 libavcodec/vorbisenc.c put_bits(pb, 24, cb->nentries); put_bits 469 libavcodec/vorbisenc.c put_bits(pb, 1, ordered); put_bits 472 libavcodec/vorbisenc.c put_bits(pb, 5, len - 1); put_bits 479 libavcodec/vorbisenc.c put_bits(pb, ilog(cb->nentries - i), j); put_bits 490 libavcodec/vorbisenc.c put_bits(pb, 1, sparse); put_bits 494 libavcodec/vorbisenc.c put_bits(pb, 1, !!cb->lens[i]); put_bits 496 libavcodec/vorbisenc.c put_bits(pb, 5, cb->lens[i] - 1); put_bits 500 libavcodec/vorbisenc.c put_bits(pb, 4, cb->lookup); put_bits 511 libavcodec/vorbisenc.c put_bits(pb, 4, bits - 1); put_bits 512 libavcodec/vorbisenc.c put_bits(pb, 1, cb->seq_p); put_bits 515 libavcodec/vorbisenc.c put_bits(pb, bits, cb->quantlist[i]); put_bits 523 libavcodec/vorbisenc.c put_bits(pb, 16, 1); // type, only floor1 is supported put_bits 525 libavcodec/vorbisenc.c put_bits(pb, 5, fc->partitions); put_bits 528 libavcodec/vorbisenc.c put_bits(pb, 4, fc->partition_to_class[i]); put_bits 533 libavcodec/vorbisenc.c put_bits(pb, 3, fc->classes[i].dim - 1); put_bits 534 libavcodec/vorbisenc.c put_bits(pb, 2, fc->classes[i].subclass); put_bits 537 libavcodec/vorbisenc.c put_bits(pb, 8, fc->classes[i].masterbook); put_bits 542 libavcodec/vorbisenc.c put_bits(pb, 8, fc->classes[i].books[j] + 1); put_bits 545 libavcodec/vorbisenc.c put_bits(pb, 2, fc->multiplier - 1); put_bits 546 libavcodec/vorbisenc.c put_bits(pb, 4, fc->rangebits); put_bits 549 libavcodec/vorbisenc.c put_bits(pb, fc->rangebits, fc->list[i].x); put_bits 556 libavcodec/vorbisenc.c put_bits(pb, 16, rc->type); put_bits 558 libavcodec/vorbisenc.c put_bits(pb, 24, rc->begin); put_bits 559 libavcodec/vorbisenc.c put_bits(pb, 24, rc->end); put_bits 560 libavcodec/vorbisenc.c put_bits(pb, 24, rc->partition_size - 1); put_bits 561 libavcodec/vorbisenc.c put_bits(pb, 6, rc->classifications - 1); put_bits 562 libavcodec/vorbisenc.c put_bits(pb, 8, rc->classbook); put_bits 569 libavcodec/vorbisenc.c put_bits(pb, 3, tmp & 7); put_bits 570 libavcodec/vorbisenc.c put_bits(pb, 1, tmp > 7); put_bits 573 libavcodec/vorbisenc.c put_bits(pb, 5, tmp >> 3); put_bits 580 libavcodec/vorbisenc.c put_bits(pb, 8, rc->books[i][j]); put_bits 596 libavcodec/vorbisenc.c put_bits(&pb, 8, 1); //magic put_bits 598 libavcodec/vorbisenc.c put_bits(&pb, 8, "vorbis"[i]); put_bits 600 libavcodec/vorbisenc.c put_bits(&pb, 8, venc->channels); put_bits 605 libavcodec/vorbisenc.c put_bits(&pb, 4, venc->log2_blocksize[0]); put_bits 606 libavcodec/vorbisenc.c put_bits(&pb, 4, venc->log2_blocksize[1]); put_bits 607 libavcodec/vorbisenc.c put_bits(&pb, 1, 1); // framing put_bits 616 libavcodec/vorbisenc.c put_bits(&pb, 8, 3); //magic put_bits 618 libavcodec/vorbisenc.c put_bits(&pb, 8, "vorbis"[i]); put_bits 621 libavcodec/vorbisenc.c put_bits(&pb, 1, 1); // framing put_bits 630 libavcodec/vorbisenc.c put_bits(&pb, 8, 5); //magic put_bits 632 libavcodec/vorbisenc.c put_bits(&pb, 8, "vorbis"[i]); put_bits 635 libavcodec/vorbisenc.c put_bits(&pb, 8, venc->ncodebooks - 1); put_bits 640 libavcodec/vorbisenc.c put_bits(&pb, 6, 0); put_bits 641 libavcodec/vorbisenc.c put_bits(&pb, 16, 0); put_bits 644 libavcodec/vorbisenc.c put_bits(&pb, 6, venc->nfloors - 1); put_bits 649 libavcodec/vorbisenc.c put_bits(&pb, 6, venc->nresidues - 1); put_bits 654 libavcodec/vorbisenc.c put_bits(&pb, 6, venc->nmappings - 1); put_bits 658 libavcodec/vorbisenc.c put_bits(&pb, 16, 0); // mapping type put_bits 660 libavcodec/vorbisenc.c put_bits(&pb, 1, mc->submaps > 1); put_bits 662 libavcodec/vorbisenc.c put_bits(&pb, 4, mc->submaps - 1); put_bits 664 libavcodec/vorbisenc.c put_bits(&pb, 1, !!mc->coupling_steps); put_bits 666 libavcodec/vorbisenc.c put_bits(&pb, 8, mc->coupling_steps - 1); put_bits 668 libavcodec/vorbisenc.c put_bits(&pb, ilog(venc->channels - 1), mc->magnitude[j]); put_bits 669 libavcodec/vorbisenc.c put_bits(&pb, ilog(venc->channels - 1), mc->angle[j]); put_bits 673 libavcodec/vorbisenc.c put_bits(&pb, 2, 0); // reserved put_bits 677 libavcodec/vorbisenc.c put_bits(&pb, 4, mc->mux[j]); put_bits 680 libavcodec/vorbisenc.c put_bits(&pb, 8, 0); // reserved time configuration put_bits 681 libavcodec/vorbisenc.c put_bits(&pb, 8, mc->floor[j]); put_bits 682 libavcodec/vorbisenc.c put_bits(&pb, 8, mc->residue[j]); put_bits 687 libavcodec/vorbisenc.c put_bits(&pb, 6, venc->nmodes - 1); put_bits 689 libavcodec/vorbisenc.c put_bits(&pb, 1, venc->modes[i].blockflag); put_bits 690 libavcodec/vorbisenc.c put_bits(&pb, 16, 0); // reserved window type put_bits 691 libavcodec/vorbisenc.c put_bits(&pb, 16, 0); // reserved transform type put_bits 692 libavcodec/vorbisenc.c put_bits(&pb, 8, venc->modes[i].mapping); put_bits 695 libavcodec/vorbisenc.c put_bits(&pb, 1, 1); // framing put_bits 773 libavcodec/vorbisenc.c put_bits(pb, 1, 1); // non zero put_bits 774 libavcodec/vorbisenc.c put_bits(pb, ilog(range - 1), posts[0]); put_bits 775 libavcodec/vorbisenc.c put_bits(pb, ilog(range - 1), posts[1]); put_bits 1046 libavcodec/vorbisenc.c put_bits(&pb, 1, 0); // magic bit put_bits 1048 libavcodec/vorbisenc.c put_bits(&pb, ilog(venc->nmodes - 1), 0); // 0 bits, the mode put_bits 1053 libavcodec/vorbisenc.c put_bits(&pb, 1, 0); put_bits 1054 libavcodec/vorbisenc.c put_bits(&pb, 1, 0); put_bits 1985 libavcodec/wavpackenc.c put_bits(pb, 31, 0x7FFFFFFF); put_bits 1988 libavcodec/wavpackenc.c put_bits(pb, cbits, (1 << cbits) - 1); put_bits 1993 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 1996 libavcodec/wavpackenc.c put_bits(pb, 1, w->zeros_acc & 1); put_bits 2007 libavcodec/wavpackenc.c put_bits(pb, 16, (1 << 16) - 1); put_bits 2008 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2014 libavcodec/wavpackenc.c put_bits(pb, 31, 0x7FFFFFFF); put_bits 2017 libavcodec/wavpackenc.c put_bits(pb, cbits, (1 << cbits) - 1); put_bits 2022 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2025 libavcodec/wavpackenc.c put_bits(pb, 1, w->holding_one & 1); put_bits 2031 libavcodec/wavpackenc.c put_bits(pb, w->holding_one, (1 << w->holding_one) - 1); put_bits 2038 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2043 libavcodec/wavpackenc.c put_bits(pb, w->pend_count, w->pend_data); put_bits 2063 libavcodec/wavpackenc.c put_bits(&s->pb, 1, 0); put_bits 2158 libavcodec/wavpackenc.c put_bits(pb, sent_bits, value); put_bits 2163 libavcodec/wavpackenc.c put_bits(pb, sent_bits, value); put_bits 2165 libavcodec/wavpackenc.c put_bits(pb, sent_bits, value); put_bits 2178 libavcodec/wavpackenc.c put_bits(pb, 1, 1); put_bits 2179 libavcodec/wavpackenc.c put_bits(pb, 23, get_mantissa(*sample)); put_bits 2181 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2202 libavcodec/wavpackenc.c put_bits(pb, 1, 1); put_bits 2203 libavcodec/wavpackenc.c put_bits(pb, 23, get_mantissa(*sample)); put_bits 2206 libavcodec/wavpackenc.c put_bits(pb, 8, get_exponent(*sample)); put_bits 2208 libavcodec/wavpackenc.c put_bits(pb, 1, get_sign(*sample)); put_bits 2210 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2213 libavcodec/wavpackenc.c put_bits(pb, 1, get_sign(*sample)); put_bits 2219 libavcodec/wavpackenc.c put_bits(pb, shift_count, data); put_bits 2221 libavcodec/wavpackenc.c put_bits(pb, 1, get_mantissa(*sample) & 1); put_bits 157 libavcodec/wmaenc.c put_bits(&s->pb, 5, last_exp - 10); put_bits 165 libavcodec/wmaenc.c put_bits(&s->pb, ff_aac_scalefactor_bits[code], put_bits 213 libavcodec/wmaenc.c put_bits(&s->pb, 1, !!s->ms_stereo); put_bits 252 libavcodec/wmaenc.c put_bits(&s->pb, 1, a); put_bits 260 libavcodec/wmaenc.c put_bits(&s->pb, 7, 127); put_bits 261 libavcodec/wmaenc.c put_bits(&s->pb, 7, v); put_bits 271 libavcodec/wmaenc.c put_bits(&s->pb, 1, s->high_band_coded[ch][i] = 0); put_bits 281 libavcodec/wmaenc.c put_bits(&s->pb, 1, parse_exponents); put_bits 316 libavcodec/wmaenc.c put_bits(&s->pb, s->coef_vlcs[tindex]->huffbits[code], put_bits 323 libavcodec/wmaenc.c put_bits(&s->pb, coef_nb_bits, abs_level); put_bits 324 libavcodec/wmaenc.c put_bits(&s->pb, s->frame_len_bits, run); put_bits 327 libavcodec/wmaenc.c put_bits(&s->pb, 1, level < 0); put_bits 333 libavcodec/wmaenc.c put_bits(&s->pb, s->coef_vlcs[tindex]->huffbits[1], put_bits 402 libavcodec/wmaenc.c put_bits(&s->pb, 8, 'N'); put_bits 1141 libavcodec/wmalosslessdec.c put_bits(&s->pb, align, get_bits(gb, align)); put_bits 1504 libavcodec/wmaprodec.c put_bits(&s->pb, align, get_bits(gb, align)); put_bits 1930 libavcodec/wmavoice.c put_bits(pb, rmn_bits, get_bits(gb, rmn_bits)); put_bits 37 libavcodec/wmv2enc.c put_bits(&pb, 5, s->avctx->time_base.den / s->avctx->time_base.num); // yes 29.97 -> 29 put_bits 38 libavcodec/wmv2enc.c put_bits(&pb, 11, FFMIN(s->bit_rate / 1024, 2047)); put_bits 40 libavcodec/wmv2enc.c put_bits(&pb, 1, w->mspel_bit = 1); put_bits 41 libavcodec/wmv2enc.c put_bits(&pb, 1, s->loop_filter); put_bits 42 libavcodec/wmv2enc.c put_bits(&pb, 1, w->abt_flag = 1); put_bits 43 libavcodec/wmv2enc.c put_bits(&pb, 1, w->j_type_bit = 1); put_bits 44 libavcodec/wmv2enc.c put_bits(&pb, 1, w->top_left_mv_flag = 0); put_bits 45 libavcodec/wmv2enc.c put_bits(&pb, 1, w->per_mb_rl_bit = 1); put_bits 46 libavcodec/wmv2enc.c put_bits(&pb, 3, code = 1); put_bits 77 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->pict_type - 1); put_bits 79 libavcodec/wmv2enc.c put_bits(&s->pb, 7, 0); put_bits 80 libavcodec/wmv2enc.c put_bits(&s->pb, 5, s->qscale); put_bits 95 libavcodec/wmv2enc.c put_bits(&s->pb, 1, w->j_type); put_bits 98 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->per_mb_rl_table); put_bits 105 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->dc_table_index); put_bits 111 libavcodec/wmv2enc.c put_bits(&s->pb, 2, SKIP_TYPE_NONE); put_bits 117 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->mspel); put_bits 120 libavcodec/wmv2enc.c put_bits(&s->pb, 1, w->per_mb_abt ^ 1); put_bits 126 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->per_mb_rl_table); put_bits 132 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->dc_table_index); put_bits 133 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->mv_table_index); put_bits 163 libavcodec/wmv2enc.c put_bits(&s->pb, put_bits 191 libavcodec/wmv2enc.c put_bits(&s->pb, put_bits 195 libavcodec/wmv2enc.c put_bits(&s->pb, put_bits 198 libavcodec/wmv2enc.c put_bits(&s->pb, 1, 0); /* no AC prediction yet */ put_bits 201 libavcodec/wmv2enc.c put_bits(&s->pb, put_bits 45 libavcodec/xsubenc.c put_bits(pb, 2 + ((ff_log2_tab[len] >> 1) << 2), len); put_bits 47 libavcodec/xsubenc.c put_bits(pb, 14, 0); put_bits 48 libavcodec/xsubenc.c put_bits(pb, 2, color); put_bits 87 libavformat/adtsenc.c put_bits(&pb, 3, 5); //ID_PCE put_bits 126 libavformat/adtsenc.c put_bits(&pb, 12, 0xfff); /* syncword */ put_bits 127 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* ID */ put_bits 128 libavformat/adtsenc.c put_bits(&pb, 2, 0); /* layer */ put_bits 129 libavformat/adtsenc.c put_bits(&pb, 1, 1); /* protection_absent */ put_bits 130 libavformat/adtsenc.c put_bits(&pb, 2, ctx->objecttype); /* profile_objecttype */ put_bits 131 libavformat/adtsenc.c put_bits(&pb, 4, ctx->sample_rate_index); put_bits 132 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* private_bit */ put_bits 133 libavformat/adtsenc.c put_bits(&pb, 3, ctx->channel_conf); /* channel_configuration */ put_bits 134 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* original_copy */ put_bits 135 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* home */ put_bits 138 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* copyright_identification_bit */ put_bits 139 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* copyright_identification_start */ put_bits 140 libavformat/adtsenc.c put_bits(&pb, 13, full_frame_size); /* aac_frame_length */ put_bits 141 libavformat/adtsenc.c put_bits(&pb, 11, 0x7ff); /* adts_buffer_fullness */ put_bits 142 libavformat/adtsenc.c put_bits(&pb, 2, 0); /* number_of_raw_data_blocks_in_frame */ put_bits 99 libavformat/bit.c put_bits(&pbo,1, AV_RL16(src++) == BIT_1 ? 1 : 0); put_bits 106 libavformat/latmenc.c put_bits(bs, 1, !!ctx->counter); put_bits 110 libavformat/latmenc.c put_bits(bs, 1, 0); /* audioMuxVersion */ put_bits 111 libavformat/latmenc.c put_bits(bs, 1, 1); /* allStreamsSameTimeFraming */ put_bits 112 libavformat/latmenc.c put_bits(bs, 6, 0); /* numSubFrames */ put_bits 113 libavformat/latmenc.c put_bits(bs, 4, 0); /* numProgram */ put_bits 114 libavformat/latmenc.c put_bits(bs, 3, 0); /* numLayer */ put_bits 133 libavformat/latmenc.c put_bits(bs, 3, 0); /* frameLengthType */ put_bits 134 libavformat/latmenc.c put_bits(bs, 8, 0xff); /* latmBufferFullness */ put_bits 136 libavformat/latmenc.c put_bits(bs, 1, 0); /* otherDataPresent */ put_bits 137 libavformat/latmenc.c put_bits(bs, 1, 0); /* crcCheckPresent */ put_bits 177 libavformat/latmenc.c put_bits(&bs, 8, 255); put_bits 179 libavformat/latmenc.c put_bits(&bs, 8, pkt->size-i); put_bits 193 libavformat/latmenc.c put_bits(&bs, 8, pkt->data[0] & 0xfe); put_bits 283 libavformat/movenc.c put_bits(&pbc, 2, fscod); put_bits 284 libavformat/movenc.c put_bits(&pbc, 5, bsid); put_bits 285 libavformat/movenc.c put_bits(&pbc, 3, bsmod); put_bits 286 libavformat/movenc.c put_bits(&pbc, 3, acmod); put_bits 287 libavformat/movenc.c put_bits(&pbc, 1, lfeon); put_bits 288 libavformat/movenc.c put_bits(&pbc, 5, frmsizecod >> 1); // bit_rate_code put_bits 289 libavformat/movenc.c put_bits(&pbc, 5, 0); // reserved put_bits 471 libavformat/movenc.c put_bits(&pbc, 13, info->data_rate); put_bits 472 libavformat/movenc.c put_bits(&pbc, 3, info->num_ind_sub); put_bits 474 libavformat/movenc.c put_bits(&pbc, 2, info->substream[i].fscod); put_bits 475 libavformat/movenc.c put_bits(&pbc, 5, info->substream[i].bsid); put_bits 476 libavformat/movenc.c put_bits(&pbc, 1, 0); /* reserved */ put_bits 477 libavformat/movenc.c put_bits(&pbc, 1, 0); /* asvc */ put_bits 478 libavformat/movenc.c put_bits(&pbc, 3, info->substream[i].bsmod); put_bits 479 libavformat/movenc.c put_bits(&pbc, 3, info->substream[i].acmod); put_bits 480 libavformat/movenc.c put_bits(&pbc, 1, info->substream[i].lfeon); put_bits 481 libavformat/movenc.c put_bits(&pbc, 5, 0); /* reserved */ put_bits 482 libavformat/movenc.c put_bits(&pbc, 4, info->substream[i].num_dep_sub); put_bits 484 libavformat/movenc.c put_bits(&pbc, 1, 0); /* reserved */ put_bits 487 libavformat/movenc.c put_bits(&pbc, 9, info->substream[i].chan_loc); put_bits 771 libavformat/movenc.c put_bits(&pbc, 4, 12); /* profile - advanced */ put_bits 772 libavformat/movenc.c put_bits(&pbc, 3, level); put_bits 773 libavformat/movenc.c put_bits(&pbc, 1, 0); /* reserved */ put_bits 775 libavformat/movenc.c put_bits(&pbc, 3, level); put_bits 776 libavformat/movenc.c put_bits(&pbc, 1, 0); /* cbr */ put_bits 777 libavformat/movenc.c put_bits(&pbc, 6, 0); /* reserved */ put_bits 778 libavformat/movenc.c put_bits(&pbc, 1, !interlace); /* no interlace */ put_bits 779 libavformat/movenc.c put_bits(&pbc, 1, !packet_seq); /* no multiple seq */ put_bits 780 libavformat/movenc.c put_bits(&pbc, 1, !packet_entry); /* no multiple entry */ put_bits 781 libavformat/movenc.c put_bits(&pbc, 1, !slices); /* no slice code */ put_bits 782 libavformat/movenc.c put_bits(&pbc, 1, 0); /* no bframe */ put_bits 783 libavformat/movenc.c put_bits(&pbc, 1, 0); /* reserved */ put_bits 101 libavformat/mpegenc.c put_bits(&pb, 2, 0x1); put_bits 103 libavformat/mpegenc.c put_bits(&pb, 4, 0x2); put_bits 104 libavformat/mpegenc.c put_bits(&pb, 3, (uint32_t)((timestamp >> 30) & 0x07)); put_bits 105 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 106 libavformat/mpegenc.c put_bits(&pb, 15, (uint32_t)((timestamp >> 15) & 0x7fff)); put_bits 107 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 108 libavformat/mpegenc.c put_bits(&pb, 15, (uint32_t)((timestamp) & 0x7fff)); put_bits 109 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 112 libavformat/mpegenc.c put_bits(&pb, 9, 0); put_bits 113 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 114 libavformat/mpegenc.c put_bits(&pb, 22, s->mux_rate); put_bits 115 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 117 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 118 libavformat/mpegenc.c put_bits(&pb, 5, 0x1f); /* reserved */ put_bits 119 libavformat/mpegenc.c put_bits(&pb, 3, 0); /* stuffing length */ put_bits 135 libavformat/mpegenc.c put_bits(&pb, 16, 0); put_bits 136 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 139 libavformat/mpegenc.c put_bits(&pb, 22, s->mux_rate); put_bits 140 libavformat/mpegenc.c put_bits(&pb, 1, 1); /* marker */ put_bits 144 libavformat/mpegenc.c put_bits(&pb, 6, 0); put_bits 146 libavformat/mpegenc.c put_bits(&pb, 6, s->audio_bound); put_bits 150 libavformat/mpegenc.c put_bits(&pb, 1, 0); put_bits 151 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 153 libavformat/mpegenc.c put_bits(&pb, 1, 0); /* variable bitrate */ put_bits 154 libavformat/mpegenc.c put_bits(&pb, 1, 0); /* non constrainted bit stream */ put_bits 159 libavformat/mpegenc.c put_bits(&pb, 1, 1); /* audio locked */ put_bits 160 libavformat/mpegenc.c put_bits(&pb, 1, 1); /* video locked */ put_bits 162 libavformat/mpegenc.c put_bits(&pb, 1, 0); /* audio locked */ put_bits 163 libavformat/mpegenc.c put_bits(&pb, 1, 0); /* video locked */ put_bits 166 libavformat/mpegenc.c put_bits(&pb, 1, 1); /* marker */ put_bits 171 libavformat/mpegenc.c put_bits(&pb, 5, 0); put_bits 173 libavformat/mpegenc.c put_bits(&pb, 5, s->video_bound); put_bits 176 libavformat/mpegenc.c put_bits(&pb, 1, 0); /* packet_rate_restriction_flag */ put_bits 177 libavformat/mpegenc.c put_bits(&pb, 7, 0x7f); /* reserved byte */ put_bits 179 libavformat/mpegenc.c put_bits(&pb, 8, 0xff); /* reserved byte */ put_bits 208 libavformat/mpegenc.c put_bits(&pb, 8, 0xb9); /* stream ID */ put_bits 209 libavformat/mpegenc.c put_bits(&pb, 2, 3); put_bits 210 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 211 libavformat/mpegenc.c put_bits(&pb, 13, P_STD_max_video / 1024); put_bits 216 libavformat/mpegenc.c put_bits(&pb, 8, 0xb8); /* stream ID */ put_bits 217 libavformat/mpegenc.c put_bits(&pb, 2, 3); put_bits 218 libavformat/mpegenc.c put_bits(&pb, 1, 0); put_bits 219 libavformat/mpegenc.c put_bits(&pb, 13, P_STD_max_mpeg_audio / 128); put_bits 222 libavformat/mpegenc.c put_bits(&pb, 8, 0xbd); /* stream ID */ put_bits 223 libavformat/mpegenc.c put_bits(&pb, 2, 3); put_bits 224 libavformat/mpegenc.c put_bits(&pb, 1, 0); put_bits 225 libavformat/mpegenc.c put_bits(&pb, 13, P_STD_max_mpeg_PS1 / 128); put_bits 228 libavformat/mpegenc.c put_bits(&pb, 8, 0xbf); /* stream ID */ put_bits 229 libavformat/mpegenc.c put_bits(&pb, 2, 3); put_bits 230 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 231 libavformat/mpegenc.c put_bits(&pb, 13, 2); put_bits 251 libavformat/mpegenc.c put_bits(&pb, 8, id); /* stream ID */ put_bits 252 libavformat/mpegenc.c put_bits(&pb, 2, 3); put_bits 255 libavformat/mpegenc.c put_bits(&pb, 1, 0); put_bits 256 libavformat/mpegenc.c put_bits(&pb, 13, stream->max_buffer_size / 128); put_bits 259 libavformat/mpegenc.c put_bits(&pb, 1, 1); put_bits 260 libavformat/mpegenc.c put_bits(&pb, 13, stream->max_buffer_size / 1024); put_bits 51 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, 0); /* F - 0, mode A */ put_bits 52 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, 0); /* P - 0, normal I/P */ put_bits 53 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 3, 0); /* SBIT - 0 bits */ put_bits 54 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 3, ebits); /* EBIT */ put_bits 55 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 3, info->src); /* SRC - source format */ put_bits 56 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, info->i); /* I - inter/intra */ put_bits 57 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, info->u); /* U - unrestricted motion vector */ put_bits 58 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, info->s); /* S - syntax-baesd arithmetic coding */ put_bits 59 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, info->a); /* A - advanced prediction */ put_bits 60 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 4, 0); /* R - reserved */ put_bits 61 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 2, 0); /* DBQ - 0 */ put_bits 62 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 3, 0); /* TRB - 0 */ put_bits 63 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 8, info->tr); /* TR */ put_bits 78 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, 1); /* F - 1, mode B */ put_bits 79 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, 0); /* P - 0, mode B */ put_bits 80 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 3, sbits); /* SBIT - 0 bits */ put_bits 81 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 3, ebits); /* EBIT - 0 bits */ put_bits 82 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 3, info->src); /* SRC - source format */ put_bits 83 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 5, state->quant); /* QUANT - quantizer for the first MB */ put_bits 84 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 5, state->gobn); /* GOBN - GOB number */ put_bits 85 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 9, state->mba); /* MBA - MB address */ put_bits 86 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 2, 0); /* R - reserved */ put_bits 87 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, info->i); /* I - inter/intra */ put_bits 88 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, info->u); /* U - unrestricted motion vector */ put_bits 89 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, info->s); /* S - syntax-baesd arithmetic coding */ put_bits 90 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 1, info->a); /* A - advanced prediction */ put_bits 91 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 7, state->hmv1); /* HVM1 - horizontal motion vector 1 */ put_bits 92 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 7, state->vmv1); /* VMV1 - vertical motion vector 1 */ put_bits 93 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 7, state->hmv2); /* HVM2 - horizontal motion vector 2 */ put_bits 94 libavformat/rtpenc_h263_rfc2190.c put_bits(&pb, 7, state->vmv2); /* VMV2 - vertical motion vector 2 */ put_bits 99 libavformat/swfenc.c put_bits(&p, 5, nbits); put_bits 100 libavformat/swfenc.c put_bits(&p, nbits, xmin & mask); put_bits 101 libavformat/swfenc.c put_bits(&p, nbits, xmax & mask); put_bits 102 libavformat/swfenc.c put_bits(&p, nbits, ymin & mask); put_bits 103 libavformat/swfenc.c put_bits(&p, nbits, ymax & mask); put_bits 113 libavformat/swfenc.c put_bits(pb, 1, 1); /* edge */ put_bits 114 libavformat/swfenc.c put_bits(pb, 1, 1); /* line select */ put_bits 120 libavformat/swfenc.c put_bits(pb, 4, nbits - 2); /* 16 bits precision */ put_bits 122 libavformat/swfenc.c put_bits(pb, 1, 0); put_bits 123 libavformat/swfenc.c put_bits(pb, 1, 1); put_bits 124 libavformat/swfenc.c put_bits(pb, nbits, dy & mask); put_bits 126 libavformat/swfenc.c put_bits(pb, 1, 0); put_bits 127 libavformat/swfenc.c put_bits(pb, 1, 0); put_bits 128 libavformat/swfenc.c put_bits(pb, nbits, dx & mask); put_bits 130 libavformat/swfenc.c put_bits(pb, 1, 1); put_bits 131 libavformat/swfenc.c put_bits(pb, nbits, dx & mask); put_bits 132 libavformat/swfenc.c put_bits(pb, nbits, dy & mask); put_bits 147 libavformat/swfenc.c put_bits(&p, 1, 1); /* a, d present */ put_bits 151 libavformat/swfenc.c put_bits(&p, 5, nbits); /* nb bits */ put_bits 152 libavformat/swfenc.c put_bits(&p, nbits, a); put_bits 153 libavformat/swfenc.c put_bits(&p, nbits, d); put_bits 155 libavformat/swfenc.c put_bits(&p, 1, 1); /* b, c present */ put_bits 159 libavformat/swfenc.c put_bits(&p, 5, nbits); /* nb bits */ put_bits 160 libavformat/swfenc.c put_bits(&p, nbits, c); put_bits 161 libavformat/swfenc.c put_bits(&p, nbits, b); put_bits 166 libavformat/swfenc.c put_bits(&p, 5, nbits); /* nb bits */ put_bits 167 libavformat/swfenc.c put_bits(&p, nbits, tx); put_bits 168 libavformat/swfenc.c put_bits(&p, nbits, ty); put_bits 288 libavformat/swfenc.c put_bits(&p, 4, 1); /* one fill bit */ put_bits 289 libavformat/swfenc.c put_bits(&p, 4, 0); /* zero line bit */ put_bits 291 libavformat/swfenc.c put_bits(&p, 1, 0); /* not an edge */ put_bits 292 libavformat/swfenc.c put_bits(&p, 5, FLAG_MOVETO | FLAG_SETFILL0); put_bits 293 libavformat/swfenc.c put_bits(&p, 5, 1); /* nbits */ put_bits 294 libavformat/swfenc.c put_bits(&p, 1, 0); /* X */ put_bits 295 libavformat/swfenc.c put_bits(&p, 1, 0); /* Y */ put_bits 296 libavformat/swfenc.c put_bits(&p, 1, 1); /* set fill style 1 */ put_bits 305 libavformat/swfenc.c put_bits(&p, 1, 0); /* not an edge */ put_bits 306 libavformat/swfenc.c put_bits(&p, 5, 0); put_bits 155 tools/probetest.c put_bits(&pb, 1, (av_lfg_get(&state) & 0xFFFFFFFF) > p << 20); put_bits 161 tools/probetest.c put_bits(&pb, 1, v); put_bits 169 tools/probetest.c put_bits(&pb, 1, v);