put_bits 108 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 5, hdr.object_type); put_bits 109 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 4, hdr.sampling_index); put_bits 110 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 4, hdr.chan_config); put_bits 111 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 1, 0); //frame length - 1024 samples put_bits 112 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 1, 0); //does not depend on core coder put_bits 113 libavcodec/aac_adtstoasc_bsf.c put_bits(&pb, 1, 0); //is not extension put_bits 171 libavcodec/aaccoder.c put_bits(&s->pb, 4, cb); put_bits 180 libavcodec/aaccoder.c put_bits(&s->pb, run_bits, run_esc); put_bits 183 libavcodec/aaccoder.c put_bits(&s->pb, run_bits, count); put_bits 175 libavcodec/aaccoder_trellis.h put_bits(&s->pb, 4, cb); put_bits 184 libavcodec/aaccoder_trellis.h put_bits(&s->pb, run_bits, run_esc); put_bits 187 libavcodec/aaccoder_trellis.h put_bits(&s->pb, run_bits, count); put_bits 62 libavcodec/aacenc.c put_bits(pb, 4, 0); put_bits 64 libavcodec/aacenc.c put_bits(pb, 2, avctx->profile); put_bits 65 libavcodec/aacenc.c put_bits(pb, 4, s->samplerate_index); put_bits 67 libavcodec/aacenc.c put_bits(pb, 4, pce->num_ele[0]); /* Front */ put_bits 68 libavcodec/aacenc.c put_bits(pb, 4, pce->num_ele[1]); /* Side */ put_bits 69 libavcodec/aacenc.c put_bits(pb, 4, pce->num_ele[2]); /* Back */ put_bits 70 libavcodec/aacenc.c put_bits(pb, 2, pce->num_ele[3]); /* LFE */ put_bits 71 libavcodec/aacenc.c put_bits(pb, 3, 0); /* Assoc data */ put_bits 72 libavcodec/aacenc.c put_bits(pb, 4, 0); /* CCs */ put_bits 74 libavcodec/aacenc.c put_bits(pb, 1, 0); /* Stereo mixdown */ put_bits 75 libavcodec/aacenc.c put_bits(pb, 1, 0); /* Mono mixdown */ put_bits 76 libavcodec/aacenc.c put_bits(pb, 1, 0); /* Something else */ put_bits 81 libavcodec/aacenc.c put_bits(pb, 1, pce->pairing[i][j]); put_bits 82 libavcodec/aacenc.c put_bits(pb, 4, pce->index[i][j]); put_bits 87 libavcodec/aacenc.c put_bits(pb, 8, strlen(aux_data)); put_bits 107 libavcodec/aacenc.c put_bits(&pb, 5, s->profile+1); //profile put_bits 108 libavcodec/aacenc.c put_bits(&pb, 4, s->samplerate_index); //sample rate index put_bits 109 libavcodec/aacenc.c put_bits(&pb, 4, channels); put_bits 111 libavcodec/aacenc.c put_bits(&pb, 1, 0); //frame length - 1024 samples put_bits 112 libavcodec/aacenc.c put_bits(&pb, 1, 0); //does not depend on core coder put_bits 113 libavcodec/aacenc.c put_bits(&pb, 1, 0); //is not extension put_bits 118 libavcodec/aacenc.c put_bits(&pb, 11, 0x2b7); //sync extension put_bits 119 libavcodec/aacenc.c put_bits(&pb, 5, AOT_SBR); put_bits 120 libavcodec/aacenc.c put_bits(&pb, 1, 0); put_bits 226 libavcodec/aacenc.c put_bits(&s->pb, 1, 0); // ics_reserved bit put_bits 227 libavcodec/aacenc.c put_bits(&s->pb, 2, info->window_sequence[0]); put_bits 228 libavcodec/aacenc.c put_bits(&s->pb, 1, info->use_kb_window[0]); put_bits 230 libavcodec/aacenc.c put_bits(&s->pb, 6, info->max_sfb); put_bits 231 libavcodec/aacenc.c put_bits(&s->pb, 1, !!info->predictor_present); put_bits 233 libavcodec/aacenc.c put_bits(&s->pb, 4, info->max_sfb); put_bits 235 libavcodec/aacenc.c put_bits(&s->pb, 1, !info->group_len[w]); put_bits 247 libavcodec/aacenc.c put_bits(pb, 2, cpe->ms_mode); put_bits 251 libavcodec/aacenc.c put_bits(pb, 1, cpe->ms_mask[w*16 + i]); put_bits 399 libavcodec/aacenc.c put_bits(&s->pb, NOISE_PRE_BITS, diff + NOISE_PRE); put_bits 412 libavcodec/aacenc.c put_bits(&s->pb, ff_aac_scalefactor_bits[diff], ff_aac_scalefactor_code[diff]); put_bits 425 libavcodec/aacenc.c put_bits(&s->pb, 1, !!pulse->num_pulse); put_bits 429 libavcodec/aacenc.c put_bits(&s->pb, 2, pulse->num_pulse - 1); put_bits 430 libavcodec/aacenc.c put_bits(&s->pb, 6, pulse->start); put_bits 432 libavcodec/aacenc.c put_bits(&s->pb, 5, pulse->pos[i]); put_bits 433 libavcodec/aacenc.c put_bits(&s->pb, 4, pulse->amp[i]); put_bits 492 libavcodec/aacenc.c put_bits(&s->pb, 8, sce->sf_idx[0]); put_bits 503 libavcodec/aacenc.c put_bits(&s->pb, 1, !!sce->tns.present); put_bits 506 libavcodec/aacenc.c put_bits(&s->pb, 1, 0); //ssr put_bits 519 libavcodec/aacenc.c put_bits(&s->pb, 3, TYPE_FIL); put_bits 520 libavcodec/aacenc.c put_bits(&s->pb, 4, FFMIN(namelen, 15)); put_bits 522 libavcodec/aacenc.c put_bits(&s->pb, 8, namelen - 14); put_bits 523 libavcodec/aacenc.c put_bits(&s->pb, 4, 0); //extension type - filler put_bits 527 libavcodec/aacenc.c put_bits(&s->pb, 8, name[i]); put_bits 528 libavcodec/aacenc.c put_bits(&s->pb, 12 - padbits, 0); put_bits 702 libavcodec/aacenc.c put_bits(&s->pb, 3, tag); put_bits 703 libavcodec/aacenc.c put_bits(&s->pb, 4, chan_el_counter[tag]++); put_bits 802 libavcodec/aacenc.c put_bits(&s->pb, 1, cpe->common_window); put_bits 884 libavcodec/aacenc.c put_bits(&s->pb, 3, TYPE_END); put_bits 43 libavcodec/aacenc_ltp.c put_bits(&s->pb, 1, 0); put_bits 44 libavcodec/aacenc_ltp.c put_bits(&s->pb, 1, ics->ltp.present); put_bits 47 libavcodec/aacenc_ltp.c put_bits(&s->pb, 11, ics->ltp.lag); put_bits 48 libavcodec/aacenc_ltp.c put_bits(&s->pb, 3, ics->ltp.coef_idx); put_bits 50 libavcodec/aacenc_ltp.c put_bits(&s->pb, 1, ics->ltp.used[i]); put_bits 342 libavcodec/aacenc_pred.c put_bits(&s->pb, 1, !!ics->predictor_reset_group); put_bits 344 libavcodec/aacenc_pred.c put_bits(&s->pb, 5, ics->predictor_reset_group); put_bits 346 libavcodec/aacenc_pred.c put_bits(&s->pb, 1, ics->prediction_used[sfb]); put_bits 136 libavcodec/aacenc_quantization.h put_bits(pb, ff_aac_spectral_bits[cb-1][curidx], ff_aac_spectral_codes[cb-1][curidx]); put_bits 140 libavcodec/aacenc_quantization.h put_bits(pb, 1, in[i+j] < 0.0f); put_bits 147 libavcodec/aacenc_quantization.h put_bits(pb, len - 4 + 1, (1 << (len - 4 + 1)) - 2); put_bits 81 libavcodec/aacenc_tns.c put_bits(&s->pb, 2 - is8, sce->tns.n_filt[i]); put_bits 84 libavcodec/aacenc_tns.c put_bits(&s->pb, 1, c_bits); put_bits 86 libavcodec/aacenc_tns.c put_bits(&s->pb, 6 - 2 * is8, tns->length[i][filt]); put_bits 87 libavcodec/aacenc_tns.c put_bits(&s->pb, 5 - 2 * is8, tns->order[i][filt]); put_bits 90 libavcodec/aacenc_tns.c put_bits(&s->pb, 1, tns->direction[i][filt]); put_bits 93 libavcodec/aacenc_tns.c put_bits(&s->pb, 1, coef_compress); put_bits 96 libavcodec/aacenc_tns.c put_bits(&s->pb, coef_len, tns->coef_idx[i][filt][w]); put_bits 1333 libavcodec/ac3enc.c put_bits(&s->pb, 16, 0x0b77); /* frame header */ put_bits 1334 libavcodec/ac3enc.c put_bits(&s->pb, 16, 0); /* crc1: will be filled later */ put_bits 1335 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->bit_alloc.sr_code); put_bits 1336 libavcodec/ac3enc.c put_bits(&s->pb, 6, s->frame_size_code + (s->frame_size - s->frame_size_min) / 2); put_bits 1337 libavcodec/ac3enc.c put_bits(&s->pb, 5, s->bitstream_id); put_bits 1338 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->bitstream_mode); put_bits 1339 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->channel_mode); put_bits 1341 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->center_mix_level); put_bits 1343 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->surround_mix_level); put_bits 1345 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->dolby_surround_mode); put_bits 1346 libavcodec/ac3enc.c put_bits(&s->pb, 1, s->lfe_on); /* LFE */ put_bits 1347 libavcodec/ac3enc.c put_bits(&s->pb, 5, -opt->dialogue_level); put_bits 1348 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no compression control word */ put_bits 1349 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no lang code */ put_bits 1350 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->audio_production_info); put_bits 1352 libavcodec/ac3enc.c put_bits(&s->pb, 5, opt->mixing_level - 80); put_bits 1353 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->room_type); put_bits 1355 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->copyright); put_bits 1356 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->original); put_bits 1359 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->extended_bsi_1); put_bits 1361 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->preferred_stereo_downmix); put_bits 1362 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->ltrt_center_mix_level); put_bits 1363 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->ltrt_surround_mix_level); put_bits 1364 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->loro_center_mix_level); put_bits 1365 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->loro_surround_mix_level); put_bits 1367 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->extended_bsi_2); put_bits 1369 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->dolby_surround_ex_mode); put_bits 1370 libavcodec/ac3enc.c put_bits(&s->pb, 2, opt->dolby_headphone_mode); put_bits 1371 libavcodec/ac3enc.c put_bits(&s->pb, 1, opt->ad_converter_type); put_bits 1372 libavcodec/ac3enc.c put_bits(&s->pb, 9, 0); /* xbsi2 and encinfo : reserved */ put_bits 1375 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no time code 1 */ put_bits 1376 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no time code 2 */ put_bits 1378 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no additional bit stream info */ put_bits 1393 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); put_bits 1399 libavcodec/ac3enc.c put_bits(&s->pb, 1, 1); put_bits 1403 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); put_bits 1407 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); put_bits 1411 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_cpl_strategy); put_bits 1414 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->cpl_in_use); put_bits 1418 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* enhanced coupling */ put_bits 1421 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->channel_in_cpl[ch]); put_bits 1424 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* phase flags in use */ put_bits 1427 libavcodec/ac3enc.c put_bits(&s->pb, 4, start_sub); put_bits 1428 libavcodec/ac3enc.c put_bits(&s->pb, 4, end_sub - 3); put_bits 1431 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* use default */ put_bits 1434 libavcodec/ac3enc.c put_bits(&s->pb, 1, ff_eac3_default_cpl_band_struct[bnd]); put_bits 1444 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_cpl_coords[ch]); put_bits 1446 libavcodec/ac3enc.c put_bits(&s->pb, 2, block->cpl_master_exp[ch]); put_bits 1448 libavcodec/ac3enc.c put_bits(&s->pb, 4, block->cpl_coord_exp [ch][bnd]); put_bits 1449 libavcodec/ac3enc.c put_bits(&s->pb, 4, block->cpl_coord_mant[ch][bnd]); put_bits 1459 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_rematrixing_strategy); put_bits 1463 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->rematrixing_flags[bnd]); put_bits 1470 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); put_bits 1472 libavcodec/ac3enc.c put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); put_bits 1478 libavcodec/ac3enc.c put_bits(&s->pb, 6, s->bandwidth_code); put_bits 1490 libavcodec/ac3enc.c put_bits(&s->pb, 4, block->grouped_exp[ch][0] >> cpl); put_bits 1495 libavcodec/ac3enc.c put_bits(&s->pb, 7, block->grouped_exp[ch][i]); put_bits 1499 libavcodec/ac3enc.c put_bits(&s->pb, 2, 0); put_bits 1505 libavcodec/ac3enc.c put_bits(&s->pb, 1, baie); put_bits 1507 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->slow_decay_code); put_bits 1508 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->fast_decay_code); put_bits 1509 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->slow_gain_code); put_bits 1510 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->db_per_bit_code); put_bits 1511 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->floor_code); put_bits 1517 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_snr_offsets); put_bits 1519 libavcodec/ac3enc.c put_bits(&s->pb, 6, s->coarse_snr_offset); put_bits 1521 libavcodec/ac3enc.c put_bits(&s->pb, 4, s->fine_snr_offset[ch]); put_bits 1522 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->fast_gain_code[ch]); put_bits 1526 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no converter snr offset */ put_bits 1532 libavcodec/ac3enc.c put_bits(&s->pb, 1, block->new_cpl_leak); put_bits 1534 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->bit_alloc.cpl_fast_leak); put_bits 1535 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->bit_alloc.cpl_slow_leak); put_bits 1540 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no delta bit allocation */ put_bits 1541 libavcodec/ac3enc.c put_bits(&s->pb, 1, 0); /* no data to skip */ put_bits 1559 libavcodec/ac3enc.c case 1: if (q != 128) put_bits (&s->pb, 5, q); break; put_bits 1560 libavcodec/ac3enc.c case 2: if (q != 128) put_bits (&s->pb, 7, q); break; put_bits 1562 libavcodec/ac3enc.c case 4: if (q != 128) put_bits (&s->pb, 7, q); break; put_bits 562 libavcodec/adpcmenc.c put_bits(&pb, 9, (status->prev_sample & 0xFFFF) >> 7); put_bits 563 libavcodec/adpcmenc.c put_bits(&pb, 7, status->step_index); put_bits 569 libavcodec/adpcmenc.c put_bits(&pb, 4, buf[i ^ 1]); put_bits 576 libavcodec/adpcmenc.c put_bits(&pb, 4, t2); put_bits 577 libavcodec/adpcmenc.c put_bits(&pb, 4, t1); put_bits 594 libavcodec/adpcmenc.c put_bits(&pb, 4, adpcm_ima_qt_compress_sample(c->status + ch, *samples++)); put_bits 609 libavcodec/adpcmenc.c put_bits(&pb, 2, 2); // set 4-bit flash adpcm format put_bits 616 libavcodec/adpcmenc.c put_bits(&pb, 6, c->status[i].step_index); put_bits 629 libavcodec/adpcmenc.c put_bits(&pb, 4, buf[i]); put_bits 631 libavcodec/adpcmenc.c put_bits(&pb, 4, buf[n + i]); put_bits 636 libavcodec/adpcmenc.c put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[0], put_bits 639 libavcodec/adpcmenc.c put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[1], put_bits 118 libavcodec/alacenc.c put_bits(&s->pbctx, 9, ALAC_ESCAPE_CODE); put_bits 119 libavcodec/alacenc.c put_bits(&s->pbctx, write_sample_size, x); put_bits 122 libavcodec/alacenc.c put_bits(&s->pbctx, q, (1<<q) - 1); put_bits 123 libavcodec/alacenc.c put_bits(&s->pbctx, 1, 0); put_bits 127 libavcodec/alacenc.c put_bits(&s->pbctx, k, r+1); put_bits 129 libavcodec/alacenc.c put_bits(&s->pbctx, k-1, 0); put_bits 143 libavcodec/alacenc.c put_bits(&s->pbctx, 3, element); // element type put_bits 144 libavcodec/alacenc.c put_bits(&s->pbctx, 4, instance); // element instance put_bits 145 libavcodec/alacenc.c put_bits(&s->pbctx, 12, 0); // unused header bits put_bits 146 libavcodec/alacenc.c put_bits(&s->pbctx, 1, encode_fs); // Sample count is in the header put_bits 147 libavcodec/alacenc.c put_bits(&s->pbctx, 2, s->extra_bits >> 3); // Extra bytes (for 24-bit) put_bits 148 libavcodec/alacenc.c put_bits(&s->pbctx, 1, s->verbatim); // Audio block is verbatim put_bits 419 libavcodec/alacenc.c put_bits(pb, 8, s->interlacing_shift); put_bits 420 libavcodec/alacenc.c put_bits(pb, 8, s->interlacing_leftweight); put_bits 425 libavcodec/alacenc.c put_bits(pb, 4, prediction_type); put_bits 426 libavcodec/alacenc.c put_bits(pb, 4, s->lpc[i].lpc_quant); put_bits 428 libavcodec/alacenc.c put_bits(pb, 3, s->rc.rice_modifier); put_bits 429 libavcodec/alacenc.c put_bits(pb, 5, s->lpc[i].lpc_order); put_bits 439 libavcodec/alacenc.c put_bits(pb, s->extra_bits, s->predictor_buf[j][i]); put_bits 485 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 296 libavcodec/asvenc.c put_bits(&a->pb, 8, 0); put_bits 50 libavcodec/bitstream.c put_bits(s, s->bit_left & 7, 0); put_bits 57 libavcodec/bitstream.c put_bits(pb, 8, *string); put_bits 61 libavcodec/bitstream.c put_bits(pb, 8, 0); put_bits 77 libavcodec/bitstream.c put_bits(pb, 16, AV_RB16(src + 2 * i)); put_bits 80 libavcodec/bitstream.c put_bits(pb, 8, src[i]); put_bits 86 libavcodec/bitstream.c put_bits(pb, bits, AV_RB16(src + 2 * words) >> (16 - bits)); put_bits 557 libavcodec/cbs.c put_bits(pbc, width, value); put_bits 125 libavcodec/cbs_av1.c put_bits(pbc, 1, 1); put_bits 129 libavcodec/cbs_av1.c put_bits(pbc, zeroes, 0); put_bits 130 libavcodec/cbs_av1.c put_bits(pbc, 1, 1); put_bits 131 libavcodec/cbs_av1.c put_bits(pbc, zeroes, v); put_bits 289 libavcodec/cbs_av1.c put_bits(pbc, w - 1, v); put_bits 293 libavcodec/cbs_av1.c put_bits(pbc, w - 1, v); put_bits 294 libavcodec/cbs_av1.c put_bits(pbc, 1, extra_bit); put_bits 386 libavcodec/cbs_av1.c put_bits(pbc, len, (1 << len) - 1 - (value != range_max)); put_bits 176 libavcodec/cbs_h2645.c put_bits(pbc, len, 0); put_bits 178 libavcodec/cbs_h2645.c put_bits(pbc, len + 1, value + 1); put_bits 227 libavcodec/cbs_h2645.c put_bits(pbc, len, 0); put_bits 229 libavcodec/cbs_h2645.c put_bits(pbc, len + 1, uvalue + 1); put_bits 1126 libavcodec/cbs_h2645.c put_bits(pbc, 8 - data_bit_start % 8, put_bits 1147 libavcodec/cbs_h2645.c put_bits(pbc, 8, *pos); put_bits 1156 libavcodec/cbs_h2645.c put_bits(pbc, i, temp); put_bits 1158 libavcodec/cbs_h2645.c put_bits(pbc, 8 - put_bits_count(pbc) % 8, 0); put_bits 350 libavcodec/cbs_mpeg2.c put_bits(pbc, 8 - slice->data_bit_start % 8, put_bits 366 libavcodec/cbs_mpeg2.c put_bits(pbc, 8, *pos); put_bits 369 libavcodec/cbs_mpeg2.c put_bits(pbc, 8 - put_bits_count(pbc) % 8, 0); put_bits 89 libavcodec/cbs_vp9.c put_bits(pbc, width, magnitude); put_bits 90 libavcodec/cbs_vp9.c put_bits(pbc, 1, sign); put_bits 167 libavcodec/cbs_vp9.c put_bits(pbc, len, (1 << len) - 1 - (value != range_max)); put_bits 234 libavcodec/cbs_vp9.c put_bits(pbc, 8, value >> b & 0xff); 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 82 libavcodec/dca.c put_bits(&pb, 14, tmp); put_bits 944 libavcodec/dcaenc.c put_bits(&c->pb, 16, 0x7ffe); put_bits 945 libavcodec/dcaenc.c put_bits(&c->pb, 16, 0x8001); put_bits 948 libavcodec/dcaenc.c put_bits(&c->pb, 1, 1); put_bits 951 libavcodec/dcaenc.c put_bits(&c->pb, 5, 31); put_bits 954 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 957 libavcodec/dcaenc.c put_bits(&c->pb, 7, SUBBAND_SAMPLES - 1); put_bits 960 libavcodec/dcaenc.c put_bits(&c->pb, 14, c->frame_size - 1); put_bits 963 libavcodec/dcaenc.c put_bits(&c->pb, 6, c->channel_config); put_bits 966 libavcodec/dcaenc.c put_bits(&c->pb, 4, bitstream_sfreq[c->samplerate_index]); put_bits 969 libavcodec/dcaenc.c put_bits(&c->pb, 5, c->bitrate_index); put_bits 972 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 975 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 978 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 981 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 984 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 987 libavcodec/dcaenc.c put_bits(&c->pb, 3, 0); put_bits 990 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 993 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 996 libavcodec/dcaenc.c put_bits(&c->pb, 2, c->lfe_channel ? 2 : 0); put_bits 999 libavcodec/dcaenc.c put_bits(&c->pb, 1, 1); put_bits 1003 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 1006 libavcodec/dcaenc.c put_bits(&c->pb, 4, 7); put_bits 1009 libavcodec/dcaenc.c put_bits(&c->pb, 2, 0); put_bits 1012 libavcodec/dcaenc.c put_bits(&c->pb, 3, 0); put_bits 1015 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 1018 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 1021 libavcodec/dcaenc.c put_bits(&c->pb, 4, 0); put_bits 1028 libavcodec/dcaenc.c put_bits(&c->pb, 4, SUBFRAMES - 1); put_bits 1031 libavcodec/dcaenc.c put_bits(&c->pb, 3, c->fullband_channels - 1); put_bits 1035 libavcodec/dcaenc.c put_bits(&c->pb, 5, DCAENC_SUBBANDS - 2); put_bits 1039 libavcodec/dcaenc.c put_bits(&c->pb, 5, DCAENC_SUBBANDS - 1); put_bits 1043 libavcodec/dcaenc.c put_bits(&c->pb, 3, 0); put_bits 1047 libavcodec/dcaenc.c put_bits(&c->pb, 2, 0); put_bits 1051 libavcodec/dcaenc.c put_bits(&c->pb, 3, 6); put_bits 1055 libavcodec/dcaenc.c put_bits(&c->pb, 3, c->bit_allocation_sel[ch]); put_bits 1060 libavcodec/dcaenc.c put_bits(&c->pb, ff_dca_quant_index_sel_nbits[i], c->quant_index_sel[ch][i]); put_bits 1066 libavcodec/dcaenc.c put_bits(&c->pb, 2, 0); put_bits 1093 libavcodec/dcaenc.c put_bits(&c->pb, bit_consumption[c->abits[ch][band]] / 4, sum); put_bits 1110 libavcodec/dcaenc.c put_bits(&c->pb, 2, SUBSUBFRAMES -1); put_bits 1113 libavcodec/dcaenc.c put_bits(&c->pb, 3, 0); put_bits 1118 libavcodec/dcaenc.c put_bits(&c->pb, 1, !(c->prediction_mode[ch][band] == -1)); put_bits 1124 libavcodec/dcaenc.c put_bits(&c->pb, 12, c->prediction_mode[ch][band]); put_bits 1130 libavcodec/dcaenc.c put_bits(&c->pb, 5, c->abits[ch][band]); put_bits 1143 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); /* codebook A4 */ put_bits 1150 libavcodec/dcaenc.c put_bits(&c->pb, 7, c->scale_factor[ch][band]); put_bits 1162 libavcodec/dcaenc.c put_bits(&c->pb, 8, quantize_value(c->downsampled_lfe[i], c->lfe_quant) & 0xff); put_bits 1163 libavcodec/dcaenc.c put_bits(&c->pb, 8, c->lfe_scale_factor); put_bits 1174 libavcodec/dcaenc.c put_bits(&c->pb, 16, 0xffff); put_bits 1210 libavcodec/dcaenc.c put_bits(&c->pb, 1, 0); put_bits 1356 libavcodec/dcahuff.c put_bits(pb, bitalloc_bits[table][sel][id], bitalloc_codes[table][sel][id]); put_bits 1376 libavcodec/dcahuff.c put_bits(pb, bitalloc_12_bits[sel][id], bitalloc_12_codes[sel][id]); put_bits 601 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, ctx->cid_table->dc_bits[nbits] + nbits, put_bits 622 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, ctx->vlc_bits[rlevel], ctx->vlc_codes[rlevel]); put_bits 624 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, ctx->run_bits[run_level], put_bits 629 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, ctx->vlc_bits[0], ctx->vlc_codes[0]); // EOB put_bits 925 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, 11, qscale); put_bits 926 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, 1, avctx->pix_fmt == AV_PIX_FMT_YUV444P10); put_bits 941 libavcodec/dnxhdenc.c put_bits(&ctx->m.pb, 32 - (put_bits_count(&ctx->m.pb) & 31), 0); put_bits 77 libavcodec/dolby_e.c put_bits(&pb, 20, AV_RB24(src) >> 4 ^ key); put_bits 265 libavcodec/dvdec.c put_bits(pb, MIN_CACHE_BITS, get_bits(gb, MIN_CACHE_BITS)); put_bits 269 libavcodec/dvdec.c put_bits(pb, bits_left, get_bits(gb, bits_left)); put_bits 182 libavcodec/dvenc.c put_bits(pb, bits_left, vlc >> size); put_bits 193 libavcodec/dvenc.c put_bits(pb, size, vlc); put_bits 954 libavcodec/dvenc.c put_bits(&pbs[j], 1, DV_PROFILE_IS_HD(s->sys) && i ? 1 : enc_blks[j].dct_mode); put_bits 955 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 87 libavcodec/ffv1enc_template.c put_bits(&s->pb, 1, 1); put_bits 90 libavcodec/ffv1enc_template.c put_bits(&s->pb, 1 + ff_log2_run[run_index], run_count); put_bits 114 libavcodec/ffv1enc_template.c put_bits(&s->pb, 1, 1); put_bits 118 libavcodec/ffv1enc_template.c put_bits(&s->pb, 1, 1); put_bits 143 libavcodec/flacenc.c put_bits(&pb, 16, s->max_blocksize); put_bits 144 libavcodec/flacenc.c put_bits(&pb, 16, s->max_blocksize); put_bits 145 libavcodec/flacenc.c put_bits(&pb, 24, s->min_framesize); put_bits 146 libavcodec/flacenc.c put_bits(&pb, 24, s->max_framesize); put_bits 147 libavcodec/flacenc.c put_bits(&pb, 20, s->samplerate); put_bits 148 libavcodec/flacenc.c put_bits(&pb, 3, s->channels-1); put_bits 149 libavcodec/flacenc.c put_bits(&pb, 5, s->avctx->bits_per_raw_sample - 1); put_bits 151 libavcodec/flacenc.c put_bits(&pb, 24, (s->sample_count & 0xFFFFFF000LL) >> 12); put_bits 152 libavcodec/flacenc.c put_bits(&pb, 12, s->sample_count & 0x000000FFFLL); put_bits 1201 libavcodec/flacenc.c PUT_UTF8(val, tmp, put_bits(pb, 8, tmp);) put_bits 1212 libavcodec/flacenc.c put_bits(&s->pb, 16, 0xFFF8); put_bits 1213 libavcodec/flacenc.c put_bits(&s->pb, 4, frame->bs_code[0]); put_bits 1214 libavcodec/flacenc.c put_bits(&s->pb, 4, s->sr_code[0]); put_bits 1217 libavcodec/flacenc.c put_bits(&s->pb, 4, s->channels-1); put_bits 1219 libavcodec/flacenc.c put_bits(&s->pb, 4, frame->ch_mode + FLAC_MAX_CHANNELS - 1); put_bits 1221 libavcodec/flacenc.c put_bits(&s->pb, 3, s->bps_code); put_bits 1222 libavcodec/flacenc.c put_bits(&s->pb, 1, 0); put_bits 1226 libavcodec/flacenc.c put_bits(&s->pb, 8, frame->bs_code[1]); put_bits 1228 libavcodec/flacenc.c put_bits(&s->pb, 16, frame->bs_code[1]); put_bits 1231 libavcodec/flacenc.c put_bits(&s->pb, 8, s->sr_code[1]); put_bits 1233 libavcodec/flacenc.c put_bits(&s->pb, 16, s->sr_code[1]); put_bits 1238 libavcodec/flacenc.c put_bits(&s->pb, 8, crc); put_bits 1254 libavcodec/flacenc.c put_bits(&s->pb, 1, 0); put_bits 1255 libavcodec/flacenc.c put_bits(&s->pb, 6, sub->type_code); put_bits 1256 libavcodec/flacenc.c put_bits(&s->pb, 1, !!sub->wasted); put_bits 1258 libavcodec/flacenc.c put_bits(&s->pb, sub->wasted, 1); put_bits 1274 libavcodec/flacenc.c put_bits( &s->pb, 4, cbits-1); put_bits 1281 libavcodec/flacenc.c put_bits(&s->pb, 2, sub->rc.coding_mode - 4); put_bits 1286 libavcodec/flacenc.c put_bits(&s->pb, 4, porder); put_bits 1292 libavcodec/flacenc.c put_bits(&s->pb, sub->rc.coding_mode, k); put_bits 1308 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 148 libavcodec/flashsvenc.c put_bits(&pb, 4, block_width / 16 - 1); put_bits 149 libavcodec/flashsvenc.c put_bits(&pb, 12, s->image_width); put_bits 150 libavcodec/flashsvenc.c put_bits(&pb, 4, block_height / 16 - 1); put_bits 151 libavcodec/flashsvenc.c put_bits(&pb, 12, s->image_height); put_bits 33 libavcodec/flvenc.c put_bits(&s->pb, 17, 1); put_bits 35 libavcodec/flvenc.c put_bits(&s->pb, 5, (s->h263_flv - 1)); put_bits 36 libavcodec/flvenc.c put_bits(&s->pb, 8, put_bits 53 libavcodec/flvenc.c put_bits(&s->pb, 3, format); /* PictureSize */ put_bits 55 libavcodec/flvenc.c put_bits(&s->pb, 8, s->width); put_bits 56 libavcodec/flvenc.c put_bits(&s->pb, 8, s->height); put_bits 58 libavcodec/flvenc.c put_bits(&s->pb, 16, s->width); put_bits 59 libavcodec/flvenc.c put_bits(&s->pb, 16, s->height); put_bits 61 libavcodec/flvenc.c put_bits(&s->pb, 2, s->pict_type == AV_PICTURE_TYPE_P); /* PictureType */ put_bits 62 libavcodec/flvenc.c put_bits(&s->pb, 1, 1); /* DeblockingFlag: on */ put_bits 63 libavcodec/flvenc.c put_bits(&s->pb, 5, s->qscale); /* Quantizer */ put_bits 64 libavcodec/flvenc.c put_bits(&s->pb, 1, 0); /* ExtraInformation */ put_bits 79 libavcodec/flvenc.c put_bits(pb, 1, 0); put_bits 80 libavcodec/flvenc.c put_bits(pb, 1, last); put_bits 81 libavcodec/flvenc.c put_bits(pb, 6, run); put_bits 86 libavcodec/flvenc.c put_bits(pb, 1, 1); put_bits 87 libavcodec/flvenc.c put_bits(pb, 1, last); put_bits 88 libavcodec/flvenc.c put_bits(pb, 6, run); put_bits 1007 libavcodec/g723_1enc.c put_bits(&pb, 2, info_bits); put_bits 1009 libavcodec/g723_1enc.c put_bits(&pb, 8, p->lsp_index[2]); put_bits 1010 libavcodec/g723_1enc.c put_bits(&pb, 8, p->lsp_index[1]); put_bits 1011 libavcodec/g723_1enc.c put_bits(&pb, 8, p->lsp_index[0]); put_bits 1013 libavcodec/g723_1enc.c put_bits(&pb, 7, p->pitch_lag[0] - PITCH_MIN); put_bits 1014 libavcodec/g723_1enc.c put_bits(&pb, 2, p->subframe[1].ad_cb_lag); put_bits 1015 libavcodec/g723_1enc.c put_bits(&pb, 7, p->pitch_lag[1] - PITCH_MIN); put_bits 1016 libavcodec/g723_1enc.c put_bits(&pb, 2, p->subframe[3].ad_cb_lag); put_bits 1024 libavcodec/g723_1enc.c put_bits(&pb, 12, temp); put_bits 1027 libavcodec/g723_1enc.c put_bits(&pb, 1, p->subframe[0].grid_index); put_bits 1028 libavcodec/g723_1enc.c put_bits(&pb, 1, p->subframe[1].grid_index); put_bits 1029 libavcodec/g723_1enc.c put_bits(&pb, 1, p->subframe[2].grid_index); put_bits 1030 libavcodec/g723_1enc.c put_bits(&pb, 1, p->subframe[3].grid_index); put_bits 1040 libavcodec/g723_1enc.c put_bits(&pb, 13, temp); put_bits 1042 libavcodec/g723_1enc.c put_bits(&pb, 16, p->subframe[0].pulse_pos & 0xffff); put_bits 1043 libavcodec/g723_1enc.c put_bits(&pb, 14, p->subframe[1].pulse_pos & 0x3fff); put_bits 1044 libavcodec/g723_1enc.c put_bits(&pb, 16, p->subframe[2].pulse_pos & 0xffff); put_bits 1045 libavcodec/g723_1enc.c put_bits(&pb, 14, p->subframe[3].pulse_pos & 0x3fff); put_bits 1047 libavcodec/g723_1enc.c put_bits(&pb, 6, p->subframe[0].pulse_sign); put_bits 1048 libavcodec/g723_1enc.c put_bits(&pb, 5, p->subframe[1].pulse_sign); put_bits 1049 libavcodec/g723_1enc.c put_bits(&pb, 6, p->subframe[2].pulse_sign); put_bits 1050 libavcodec/g723_1enc.c put_bits(&pb, 5, p->subframe[3].pulse_sign); put_bits 364 libavcodec/g726.c put_bits(&pb, c->code_size, g726_encode(c, *samples++)); put_bits 347 libavcodec/gif.c 12, FF_LZW_GIF, put_bits); put_bits 626 libavcodec/golomb.h put_bits(pb, ff_ue_golomb_len[i], i + 1); put_bits 629 libavcodec/golomb.h put_bits(pb, 2 * e + 1, i + 1); put_bits 641 libavcodec/golomb.h put_bits(pb, ff_ue_golomb_len[i], i + 1); put_bits 657 libavcodec/golomb.h put_bits(pb, 1, i ^ 1); put_bits 685 libavcodec/golomb.h put_bits(pb, e + k + 1, (1 << k) + av_mod_uintp2(i, k)); put_bits 687 libavcodec/golomb.h put_bits(pb, limit + esc_len, i - limit + 1); put_bits 703 libavcodec/golomb.h put_bits(pb, 31, 0); put_bits 706 libavcodec/golomb.h put_bits(pb, e, 1); put_bits 711 libavcodec/golomb.h put_bits(pb, 31, 0); put_bits 714 libavcodec/golomb.h put_bits(pb, limit, 1); put_bits 715 libavcodec/golomb.h put_bits(pb, esc_len, i - 1); put_bits 63 libavcodec/h261enc.c put_bits(&s->pb, 20, 0x10); /* PSC */ put_bits 69 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* split screen off */ put_bits 70 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* camera off */ put_bits 71 libavcodec/h261enc.c put_bits(&s->pb, 1, s->pict_type == AV_PICTURE_TYPE_I); /* freeze picture release on/off */ put_bits 75 libavcodec/h261enc.c put_bits(&s->pb, 1, format); /* 0 == QCIF, 1 == CIF */ put_bits 77 libavcodec/h261enc.c put_bits(&s->pb, 1, 1); /* still image mode */ put_bits 78 libavcodec/h261enc.c put_bits(&s->pb, 1, 1); /* reserved */ put_bits 80 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* no PEI */ put_bits 99 libavcodec/h261enc.c put_bits(&s->pb, 16, 1); /* GBSC */ put_bits 100 libavcodec/h261enc.c put_bits(&s->pb, 4, h->gob_number); /* GN */ put_bits 101 libavcodec/h261enc.c put_bits(&s->pb, 5, s->qscale); /* GQUANT */ put_bits 102 libavcodec/h261enc.c put_bits(&s->pb, 1, 0); /* no GEI */ put_bits 141 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, ff_h261_mv_tab[code][1], ff_h261_mv_tab[code][0]); put_bits 150 libavcodec/h261enc.c put_bits(&s->pb, 1, sign); put_bits 190 libavcodec/h261enc.c put_bits(&s->pb, 8, 0xff); put_bits 192 libavcodec/h261enc.c put_bits(&s->pb, 8, level); put_bits 197 libavcodec/h261enc.c put_bits(&s->pb, 2, block[0] > 0 ? 2 : 3); put_bits 221 libavcodec/h261enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 223 libavcodec/h261enc.c put_bits(&s->pb, 6, run); put_bits 228 libavcodec/h261enc.c put_bits(&s->pb, 1, sign); put_bits 234 libavcodec/h261enc.c put_bits(&s->pb, rl->table_vlc[0][1], rl->table_vlc[0][0]); // EOB put_bits 266 libavcodec/h261enc.c put_bits(&s->pb, put_bits 289 libavcodec/h261enc.c put_bits(&s->pb, put_bits 297 libavcodec/h261enc.c put_bits(&s->pb, 5, s->qscale); put_bits 311 libavcodec/h261enc.c put_bits(&s->pb, put_bits 29 libavcodec/hevc_ps_enc.c put_bits(pb, 2, ptl->profile_space); put_bits 30 libavcodec/hevc_ps_enc.c put_bits(pb, 1, ptl->tier_flag); put_bits 31 libavcodec/hevc_ps_enc.c put_bits(pb, 5, ptl->profile_idc); put_bits 33 libavcodec/hevc_ps_enc.c put_bits(pb, 1, ptl->profile_compatibility_flag[i]); put_bits 34 libavcodec/hevc_ps_enc.c put_bits(pb, 1, ptl->progressive_source_flag); put_bits 35 libavcodec/hevc_ps_enc.c put_bits(pb, 1, ptl->interlaced_source_flag); put_bits 36 libavcodec/hevc_ps_enc.c put_bits(pb, 1, ptl->non_packed_constraint_flag); put_bits 37 libavcodec/hevc_ps_enc.c put_bits(pb, 1, ptl->frame_only_constraint_flag); put_bits 39 libavcodec/hevc_ps_enc.c put_bits(pb, 12, 0); // reserved put_bits 47 libavcodec/hevc_ps_enc.c put_bits(pb, 8, ptl->general_ptl.level_idc); put_bits 50 libavcodec/hevc_ps_enc.c put_bits(pb, 1, ptl->sub_layer_profile_present_flag[i]); put_bits 51 libavcodec/hevc_ps_enc.c put_bits(pb, 1, ptl->sub_layer_level_present_flag[i]); put_bits 56 libavcodec/hevc_ps_enc.c put_bits(pb, 2, 0); // reserved put_bits 62 libavcodec/hevc_ps_enc.c put_bits(pb, 8, ptl->sub_layer_ptl[i].level_idc); put_bits 73 libavcodec/hevc_ps_enc.c put_bits(&pb, 4, id); put_bits 74 libavcodec/hevc_ps_enc.c put_bits(&pb, 2, 3); // reserved put_bits 75 libavcodec/hevc_ps_enc.c put_bits(&pb, 6, vps->vps_max_layers - 1); put_bits 76 libavcodec/hevc_ps_enc.c put_bits(&pb, 3, vps->vps_max_sub_layers - 1); put_bits 77 libavcodec/hevc_ps_enc.c put_bits(&pb, 1, vps->vps_temporal_id_nesting_flag); put_bits 78 libavcodec/hevc_ps_enc.c put_bits(&pb, 16, 0xffff); // reserved put_bits 82 libavcodec/hevc_ps_enc.c put_bits(&pb, 1, vps->vps_sub_layer_ordering_info_present_flag); put_bits 90 libavcodec/hevc_ps_enc.c put_bits(&pb, 6, vps->vps_max_layer_id); put_bits 98 libavcodec/hevc_ps_enc.c put_bits(&pb, 1, vps->vps_timing_info_present_flag); put_bits 102 libavcodec/hevc_ps_enc.c put_bits(&pb, 1, vps->vps_poc_proportional_to_timing_flag); put_bits 113 libavcodec/hevc_ps_enc.c put_bits(&pb, 1, 0); // extension flag put_bits 115 libavcodec/hevc_ps_enc.c put_bits(&pb, 1, 1); // stop bit put_bits 474 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y0], s->bits[0][y0]); put_bits 476 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[1][u0], s->bits[1][u0]); put_bits 478 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y1], s->bits[0][y1]); put_bits 480 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[2][v0], s->bits[2][v0]); put_bits 485 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y0], s->bits[0][y0]); put_bits 486 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[1][u0], s->bits[1][u0]); put_bits 487 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y1], s->bits[0][y1]); put_bits 488 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[2][v0], s->bits[2][v0]); put_bits 514 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y0], s->bits[plane][y0]); put_bits 516 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y0>>2], s->bits[plane][y0>>2]);\ put_bits 517 libavcodec/huffyuvenc.c put_bits(&s->pb, 2, y0&3); put_bits 535 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y0], s->bits[plane][y0]);\ put_bits 536 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y1], s->bits[plane][y1]); put_bits 538 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y0>>2], s->bits[plane][y0>>2]);\ put_bits 539 libavcodec/huffyuvenc.c put_bits(&s->pb, 2, y0&3);\ put_bits 540 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[plane][y1>>2], s->bits[plane][y1>>2]);\ put_bits 541 libavcodec/huffyuvenc.c put_bits(&s->pb, 2, y1&3); put_bits 672 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y0], s->bits[0][y0]);\ put_bits 673 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][y1], s->bits[0][y1]); put_bits 725 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[1][g], s->bits[1][g]); \ put_bits 726 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[0][b], s->bits[0][b]); \ put_bits 727 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[2][r], s->bits[2][r]); \ put_bits 729 libavcodec/huffyuvenc.c put_bits(&s->pb, s->len[2][a], s->bits[2][a]); put_bits 784 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftv = p->data[2][0]); put_bits 785 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, lefty = p->data[0][1]); put_bits 786 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftu = p->data[1][0]); put_bits 787 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, p->data[0][0]); put_bits 892 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, lefta = data[A]); put_bits 893 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftr = data[R]); put_bits 894 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftg = data[G]); put_bits 895 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftb = data[B]); put_bits 920 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftr = data[0]); put_bits 921 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftg = data[1]); put_bits 922 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftb = data[2]); put_bits 923 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, 0); put_bits 1001 libavcodec/huffyuvenc.c put_bits(&s->pb, 16, 0); put_bits 1002 libavcodec/huffyuvenc.c put_bits(&s->pb, 15, 0); put_bits 131 libavcodec/ituh263enc.c put_bits(&s->pb, 22, 0x20); /* PSC */ put_bits 136 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); /* marker */ put_bits 137 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* H.263 id */ put_bits 138 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* split screen off */ put_bits 139 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* camera off */ put_bits 140 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* freeze picture release off */ put_bits 145 libavcodec/ituh263enc.c put_bits(&s->pb, 3, format); put_bits 146 libavcodec/ituh263enc.c put_bits(&s->pb, 1, (s->pict_type == AV_PICTURE_TYPE_P)); put_bits 150 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* Unrestricted Motion Vector: off */ put_bits 151 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* SAC: off */ put_bits 152 libavcodec/ituh263enc.c put_bits(&s->pb, 1, s->obmc); /* Advanced Prediction */ put_bits 153 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* only I/P-frames, no PB-frame */ put_bits 154 libavcodec/ituh263enc.c put_bits(&s->pb, 5, s->qscale); put_bits 155 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* Continuous Presence Multipoint mode: off */ put_bits 161 libavcodec/ituh263enc.c put_bits(&s->pb, 3, 7); put_bits 162 libavcodec/ituh263enc.c put_bits(&s->pb,3,ufep); /* Update Full Extended PTYPE */ put_bits 164 libavcodec/ituh263enc.c put_bits(&s->pb,3,6); /* Custom Source Format */ put_bits 166 libavcodec/ituh263enc.c put_bits(&s->pb, 3, format); put_bits 168 libavcodec/ituh263enc.c put_bits(&s->pb,1, s->custom_pcf); put_bits 169 libavcodec/ituh263enc.c put_bits(&s->pb,1, s->umvplus); /* Unrestricted Motion Vector */ put_bits 170 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* SAC: off */ put_bits 171 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->obmc); /* Advanced Prediction Mode */ put_bits 172 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->h263_aic); /* Advanced Intra Coding */ put_bits 173 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->loop_filter); /* Deblocking Filter */ put_bits 174 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->h263_slice_structured); /* Slice Structured */ put_bits 175 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* Reference Picture Selection: off */ put_bits 176 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* Independent Segment Decoding: off */ put_bits 177 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->alt_inter_vlc); /* Alternative Inter VLC */ put_bits 178 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->modified_quant); /* Modified Quantization: */ put_bits 179 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); /* "1" to prevent start code emulation */ put_bits 180 libavcodec/ituh263enc.c put_bits(&s->pb,3,0); /* Reserved */ put_bits 182 libavcodec/ituh263enc.c put_bits(&s->pb, 3, s->pict_type == AV_PICTURE_TYPE_P); put_bits 184 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* Reference Picture Resampling: off */ put_bits 185 libavcodec/ituh263enc.c put_bits(&s->pb,1,0); /* Reduced-Resolution Update: off */ put_bits 186 libavcodec/ituh263enc.c put_bits(&s->pb,1,s->no_rounding); /* Rounding Type */ put_bits 187 libavcodec/ituh263enc.c put_bits(&s->pb,2,0); /* Reserved */ put_bits 188 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); /* "1" to prevent start code emulation */ put_bits 191 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* Continuous Presence Multipoint mode: off */ put_bits 197 libavcodec/ituh263enc.c put_bits(&s->pb,4,s->aspect_ratio_info); put_bits 198 libavcodec/ituh263enc.c put_bits(&s->pb,9,(s->width >> 2) - 1); put_bits 199 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); /* "1" to prevent start code emulation */ put_bits 200 libavcodec/ituh263enc.c put_bits(&s->pb,9,(s->height >> 2)); put_bits 202 libavcodec/ituh263enc.c put_bits(&s->pb, 8, s->avctx->sample_aspect_ratio.num); put_bits 203 libavcodec/ituh263enc.c put_bits(&s->pb, 8, s->avctx->sample_aspect_ratio.den); put_bits 208 libavcodec/ituh263enc.c put_bits(&s->pb, 1, best_clock_code); put_bits 209 libavcodec/ituh263enc.c put_bits(&s->pb, 7, best_divisor); put_bits 218 libavcodec/ituh263enc.c put_bits(&s->pb,2,1); /* unlimited */ put_bits 220 libavcodec/ituh263enc.c put_bits(&s->pb,2,0); /* no weird submodes */ put_bits 222 libavcodec/ituh263enc.c put_bits(&s->pb, 5, s->qscale); put_bits 225 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* no PEI */ put_bits 228 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 233 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 242 libavcodec/ituh263enc.c put_bits(&s->pb, 17, 1); /* GBSC */ put_bits 245 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 250 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 251 libavcodec/ituh263enc.c put_bits(&s->pb, 5, s->qscale); /* GQUANT */ put_bits 252 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 253 libavcodec/ituh263enc.c put_bits(&s->pb, 2, s->pict_type == AV_PICTURE_TYPE_I); /* GFID */ put_bits 257 libavcodec/ituh263enc.c put_bits(&s->pb, 5, gob_number); /* GN */ put_bits 258 libavcodec/ituh263enc.c put_bits(&s->pb, 2, s->pict_type == AV_PICTURE_TYPE_I); /* GFID */ put_bits 259 libavcodec/ituh263enc.c put_bits(&s->pb, 5, s->qscale); /* GQUANT */ put_bits 319 libavcodec/ituh263enc.c put_bits(&s->pb, 8, 0xff); put_bits 321 libavcodec/ituh263enc.c put_bits(&s->pb, 8, level); put_bits 383 libavcodec/ituh263enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 386 libavcodec/ituh263enc.c put_bits(&s->pb, 1, last); put_bits 387 libavcodec/ituh263enc.c put_bits(&s->pb, 6, run); put_bits 394 libavcodec/ituh263enc.c put_bits(&s->pb, 8, 128); put_bits 402 libavcodec/ituh263enc.c put_bits(&s->pb, 1, sign); put_bits 420 libavcodec/ituh263enc.c put_bits(pb, 1, 1); put_bits 422 libavcodec/ituh263enc.c put_bits(pb, 3, 0); put_bits 424 libavcodec/ituh263enc.c put_bits(pb, 3, 2); put_bits 443 libavcodec/ituh263enc.c put_bits(pb, (2*n_bits)+1, code); put_bits 463 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 1); put_bits 472 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 480 libavcodec/ituh263enc.c put_bits(&s->pb, put_bits 484 libavcodec/ituh263enc.c put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 486 libavcodec/ituh263enc.c put_bits(&s->pb, 2, dquant_code[s->dquant+2]); put_bits 504 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); put_bits 507 libavcodec/ituh263enc.c put_bits(&s->pb, put_bits 510 libavcodec/ituh263enc.c put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 512 libavcodec/ituh263enc.c put_bits(&s->pb, 2, dquant_code[s->dquant+2]); put_bits 533 libavcodec/ituh263enc.c put_bits(&s->pb,1,1); put_bits 600 libavcodec/ituh263enc.c put_bits(&s->pb, put_bits 605 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 606 libavcodec/ituh263enc.c put_bits(&s->pb, put_bits 612 libavcodec/ituh263enc.c put_bits(&s->pb, 1, 0); /* no AC prediction */ put_bits 615 libavcodec/ituh263enc.c put_bits(&s->pb, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 617 libavcodec/ituh263enc.c put_bits(&s->pb, 2, dquant_code[s->dquant+2]); put_bits 653 libavcodec/ituh263enc.c put_bits(pb, ff_mvtab[code][1], ff_mvtab[code][0]); put_bits 667 libavcodec/ituh263enc.c put_bits(pb, ff_mvtab[code][1] + 1, (ff_mvtab[code][0] << 1) | sign); put_bits 669 libavcodec/ituh263enc.c put_bits(pb, bit_size, bits); put_bits 833 libavcodec/ituh263enc.c put_bits(&s->pb, ff_mba_length[i], mb_pos); put_bits 224 libavcodec/j2kenc.c put_bits(s, (num >> n) & 1, 1); put_bits 257 libavcodec/j2kenc.c put_bits(s, 0, threshold - curval); put_bits 260 libavcodec/j2kenc.c put_bits(s, 0, stack[sp]->val - curval); put_bits 261 libavcodec/j2kenc.c put_bits(s, 1, 1); put_bits 735 libavcodec/j2kenc.c put_bits(s, !empty, 1); put_bits 784 libavcodec/j2kenc.c put_bits(s, 1, llen); put_bits 785 libavcodec/j2kenc.c put_bits(s, 0, 1); put_bits 112 libavcodec/jpeglsenc.c put_bits(pb, 1, 1); put_bits 119 libavcodec/jpeglsenc.c put_bits(pb, 1, 1); put_bits 121 libavcodec/jpeglsenc.c put_bits(pb, 1, 0); put_bits 123 libavcodec/jpeglsenc.c put_bits(pb, ff_log2_run[state->run_index[comp]], run); put_bits 247 libavcodec/jpeglsenc.c put_bits(pb, 16, 13); put_bits 248 libavcodec/jpeglsenc.c put_bits(pb, 8, 1); put_bits 249 libavcodec/jpeglsenc.c put_bits(pb, 16, state->maxval); put_bits 250 libavcodec/jpeglsenc.c put_bits(pb, 16, state->T1); put_bits 251 libavcodec/jpeglsenc.c put_bits(pb, 16, state->T2); put_bits 252 libavcodec/jpeglsenc.c put_bits(pb, 16, state->T3); put_bits 253 libavcodec/jpeglsenc.c put_bits(pb, 16, state->reset); put_bits 298 libavcodec/jpeglsenc.c put_bits(&pb, 16, 8 + comps * 3); // header size depends on components put_bits 299 libavcodec/jpeglsenc.c put_bits(&pb, 8, (avctx->pix_fmt == AV_PIX_FMT_GRAY16) ? 16 : 8); // bpp put_bits 300 libavcodec/jpeglsenc.c put_bits(&pb, 16, avctx->height); put_bits 301 libavcodec/jpeglsenc.c put_bits(&pb, 16, avctx->width); put_bits 302 libavcodec/jpeglsenc.c put_bits(&pb, 8, comps); // components put_bits 304 libavcodec/jpeglsenc.c put_bits(&pb, 8, i); // component ID put_bits 305 libavcodec/jpeglsenc.c put_bits(&pb, 8, 0x11); // subsampling: none put_bits 306 libavcodec/jpeglsenc.c put_bits(&pb, 8, 0); // Tiq, used by JPEG-LS ext put_bits 310 libavcodec/jpeglsenc.c put_bits(&pb, 16, 6 + comps * 2); put_bits 311 libavcodec/jpeglsenc.c put_bits(&pb, 8, comps); put_bits 313 libavcodec/jpeglsenc.c put_bits(&pb, 8, i); // component ID put_bits 314 libavcodec/jpeglsenc.c put_bits(&pb, 8, 0); // mapping index: none put_bits 316 libavcodec/jpeglsenc.c put_bits(&pb, 8, ctx->pred); put_bits 317 libavcodec/jpeglsenc.c put_bits(&pb, 8, (comps > 1) ? 1 : 0); // interleaving: 0 - plane, 1 - line put_bits 318 libavcodec/jpeglsenc.c put_bits(&pb, 8, 0); // point transform: none put_bits 391 libavcodec/jpeglsenc.c put_bits(&pb2, 7, 0); put_bits 400 libavcodec/jpeglsenc.c put_bits(&pb, 8, v); put_bits 403 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 383 libavcodec/magicyuvenc.c put_bits(pb, 1, 0); put_bits 384 libavcodec/magicyuvenc.c put_bits(pb, 7, he[i].len); put_bits 399 libavcodec/magicyuvenc.c put_bits(&pb, 8, 0); put_bits 400 libavcodec/magicyuvenc.c put_bits(&pb, 8, prediction); put_bits 405 libavcodec/magicyuvenc.c put_bits(&pb, he[idx].len, he[idx].code); put_bits 414 libavcodec/magicyuvenc.c put_bits(&pb, 32 - count, 0); put_bits 211 libavcodec/mips/aaccoder_mips.c put_bits(pb, p_bits[curidx], p_codes[curidx]); put_bits 326 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 428 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 539 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 546 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 656 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 663 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 777 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 781 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 883 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 888 libavcodec/mips/aaccoder_mips.c put_bits(pb, len * 2 - 3, v_codes); put_bits 893 libavcodec/mips/aaccoder_mips.c put_bits(pb, len*2-3, v_codes); put_bits 898 libavcodec/mips/aaccoder_mips.c put_bits(pb, v_bits, v_codes); put_bits 903 libavcodec/mips/aaccoder_mips.c put_bits(pb, len* 2 - 3, v_codes); put_bits 908 libavcodec/mips/aaccoder_mips.c put_bits(pb, len * 2 - 3, v_codes); put_bits 2288 libavcodec/mjpegdec.c put_bits(&pb, 8, x); put_bits 2295 libavcodec/mjpegdec.c put_bits(&pb, 7, x); put_bits 259 libavcodec/mjpegenc.c put_bits(&s->pb, huff_size_ac[0xf0], huff_code_ac[0xf0]); put_bits 271 libavcodec/mjpegenc.c put_bits(&s->pb, huff_size_ac[code], huff_code_ac[code]); put_bits 280 libavcodec/mjpegenc.c put_bits(&s->pb, huff_size_ac[0], huff_code_ac[0]); put_bits 103 libavcodec/mjpegenc.h put_bits(p, 8, 0xff); put_bits 104 libavcodec/mjpegenc.h put_bits(p, 8, code); put_bits 71 libavcodec/mjpegenc_common.c put_bits(p, 4, table_class); put_bits 72 libavcodec/mjpegenc_common.c put_bits(p, 4, table_id); put_bits 77 libavcodec/mjpegenc_common.c put_bits(p, 8, bits_table[i]); put_bits 81 libavcodec/mjpegenc_common.c put_bits(p, 8, value_table[i]); put_bits 108 libavcodec/mjpegenc_common.c put_bits(p, 16, 2 + matrix_count * (1 + 64)); put_bits 109 libavcodec/mjpegenc_common.c put_bits(p, 4, 0); /* 8 bit precision */ put_bits 110 libavcodec/mjpegenc_common.c put_bits(p, 4, 0); /* table 0 */ put_bits 113 libavcodec/mjpegenc_common.c put_bits(p, 8, luma_intra_matrix[j]); put_bits 117 libavcodec/mjpegenc_common.c put_bits(p, 4, 0); /* 8 bit precision */ put_bits 118 libavcodec/mjpegenc_common.c put_bits(p, 4, 1); /* table 1 */ put_bits 121 libavcodec/mjpegenc_common.c put_bits(p, 8, chroma_intra_matrix[j]); put_bits 128 libavcodec/mjpegenc_common.c put_bits(p, 16, 4); put_bits 129 libavcodec/mjpegenc_common.c put_bits(p, 16, (avctx->width-1)/(8*hsample[0]) + 1); put_bits 136 libavcodec/mjpegenc_common.c put_bits(p, 16, 0); /* patched later */ put_bits 183 libavcodec/mjpegenc_common.c put_bits(p, 16, 16); put_bits 188 libavcodec/mjpegenc_common.c put_bits(p, 16, 0x0102); put_bits 189 libavcodec/mjpegenc_common.c put_bits(p, 8, 0); /* units type: 0 - aspect ratio */ put_bits 190 libavcodec/mjpegenc_common.c put_bits(p, 16, sar.num); put_bits 191 libavcodec/mjpegenc_common.c put_bits(p, 16, sar.den); put_bits 192 libavcodec/mjpegenc_common.c put_bits(p, 8, 0); /* thumbnail width */ put_bits 193 libavcodec/mjpegenc_common.c put_bits(p, 8, 0); /* thumbnail height */ put_bits 201 libavcodec/mjpegenc_common.c put_bits(p, 16, 0); /* patched later */ put_bits 214 libavcodec/mjpegenc_common.c put_bits(p, 16, 0); /* patched later */ put_bits 278 libavcodec/mjpegenc_common.c put_bits(pb, 16, 17); put_bits 282 libavcodec/mjpegenc_common.c put_bits(pb, 8, 9); /* 9 bits/component RCT */ put_bits 284 libavcodec/mjpegenc_common.c put_bits(pb, 8, 8); /* 8 bits/component */ put_bits 285 libavcodec/mjpegenc_common.c put_bits(pb, 16, avctx->height); put_bits 286 libavcodec/mjpegenc_common.c put_bits(pb, 16, avctx->width); put_bits 287 libavcodec/mjpegenc_common.c put_bits(pb, 8, components); /* 3 or 4 components */ put_bits 290 libavcodec/mjpegenc_common.c put_bits(pb, 8, 1); /* component number */ put_bits 291 libavcodec/mjpegenc_common.c put_bits(pb, 4, hsample[0]); /* H factor */ put_bits 292 libavcodec/mjpegenc_common.c put_bits(pb, 4, vsample[0]); /* V factor */ put_bits 293 libavcodec/mjpegenc_common.c put_bits(pb, 8, 0); /* select matrix */ put_bits 296 libavcodec/mjpegenc_common.c put_bits(pb, 8, 2); /* component number */ put_bits 297 libavcodec/mjpegenc_common.c put_bits(pb, 4, hsample[1]); /* H factor */ put_bits 298 libavcodec/mjpegenc_common.c put_bits(pb, 4, vsample[1]); /* V factor */ put_bits 299 libavcodec/mjpegenc_common.c put_bits(pb, 8, lossless ? 0 : chroma_matrix); /* select matrix */ put_bits 302 libavcodec/mjpegenc_common.c put_bits(pb, 8, 3); /* component number */ put_bits 303 libavcodec/mjpegenc_common.c put_bits(pb, 4, hsample[2]); /* H factor */ put_bits 304 libavcodec/mjpegenc_common.c put_bits(pb, 4, vsample[2]); /* V factor */ put_bits 305 libavcodec/mjpegenc_common.c put_bits(pb, 8, lossless ? 0 : chroma_matrix); /* select matrix */ put_bits 308 libavcodec/mjpegenc_common.c put_bits(pb, 8, 4); /* component number */ put_bits 309 libavcodec/mjpegenc_common.c put_bits(pb, 4, hsample[3]); /* H factor */ put_bits 310 libavcodec/mjpegenc_common.c put_bits(pb, 4, vsample[3]); /* V factor */ put_bits 311 libavcodec/mjpegenc_common.c put_bits(pb, 8, 0); /* select matrix */ put_bits 316 libavcodec/mjpegenc_common.c put_bits(pb, 16, 6 + 2*components); /* length */ put_bits 317 libavcodec/mjpegenc_common.c put_bits(pb, 8, components); /* 3 components */ put_bits 320 libavcodec/mjpegenc_common.c put_bits(pb, 8, 1); /* index */ put_bits 321 libavcodec/mjpegenc_common.c put_bits(pb, 4, 0); /* DC huffman table index */ put_bits 322 libavcodec/mjpegenc_common.c put_bits(pb, 4, 0); /* AC huffman table index */ put_bits 325 libavcodec/mjpegenc_common.c put_bits(pb, 8, 2); /* index */ put_bits 326 libavcodec/mjpegenc_common.c put_bits(pb, 4, 1); /* DC huffman table index */ put_bits 327 libavcodec/mjpegenc_common.c put_bits(pb, 4, lossless ? 0 : 1); /* AC huffman table index */ put_bits 330 libavcodec/mjpegenc_common.c put_bits(pb, 8, 3); /* index */ put_bits 331 libavcodec/mjpegenc_common.c put_bits(pb, 4, 1); /* DC huffman table index */ put_bits 332 libavcodec/mjpegenc_common.c put_bits(pb, 4, lossless ? 0 : 1); /* AC huffman table index */ put_bits 336 libavcodec/mjpegenc_common.c put_bits(pb, 8, 4); /* index */ put_bits 337 libavcodec/mjpegenc_common.c put_bits(pb, 4, 0); /* DC huffman table index */ put_bits 338 libavcodec/mjpegenc_common.c put_bits(pb, 4, 0); /* AC huffman table index */ put_bits 341 libavcodec/mjpegenc_common.c put_bits(pb, 8, lossless ? pred : 0); /* Ss (not used) */ put_bits 344 libavcodec/mjpegenc_common.c case AV_CODEC_ID_MJPEG: put_bits(pb, 8, 63); break; /* Se (not used) */ put_bits 345 libavcodec/mjpegenc_common.c case AV_CODEC_ID_LJPEG: put_bits(pb, 8, 0); break; /* not used */ put_bits 349 libavcodec/mjpegenc_common.c put_bits(pb, 8, 0); /* Ah/Al (not used) */ put_bits 400 libavcodec/mjpegenc_common.c put_bits(&s->pb, huff_size[table_id][code], huff_code[table_id][code]); put_bits 419 libavcodec/mjpegenc_common.c put_bits(pb, pad, (1<<pad)-1); put_bits 600 libavcodec/mjpegenc_common.c put_bits(pb, huff_size[0], huff_code[0]); put_bits 610 libavcodec/mjpegenc_common.c put_bits(pb, huff_size[nbits], huff_code[nbits]); put_bits 755 libavcodec/mlpenc.c put_bits(&pb, 24, SYNC_MAJOR ); put_bits 758 libavcodec/mlpenc.c put_bits(&pb, 8, SYNC_MLP ); put_bits 759 libavcodec/mlpenc.c put_bits(&pb, 4, ctx->coded_sample_fmt [0]); put_bits 760 libavcodec/mlpenc.c put_bits(&pb, 4, ctx->coded_sample_fmt [1]); put_bits 761 libavcodec/mlpenc.c put_bits(&pb, 4, ctx->coded_sample_rate[0]); put_bits 762 libavcodec/mlpenc.c put_bits(&pb, 4, ctx->coded_sample_rate[1]); put_bits 763 libavcodec/mlpenc.c put_bits(&pb, 4, 0 ); /* ignored */ put_bits 764 libavcodec/mlpenc.c put_bits(&pb, 4, 0 ); /* multi_channel_type */ put_bits 765 libavcodec/mlpenc.c put_bits(&pb, 3, 0 ); /* ignored */ put_bits 766 libavcodec/mlpenc.c put_bits(&pb, 5, ctx->channel_arrangement ); put_bits 768 libavcodec/mlpenc.c put_bits(&pb, 8, SYNC_TRUEHD ); put_bits 769 libavcodec/mlpenc.c put_bits(&pb, 4, ctx->coded_sample_rate[0]); put_bits 770 libavcodec/mlpenc.c put_bits(&pb, 4, 0 ); /* ignored */ put_bits 771 libavcodec/mlpenc.c put_bits(&pb, 2, ctx->ch_modifier_thd0 ); put_bits 772 libavcodec/mlpenc.c put_bits(&pb, 2, ctx->ch_modifier_thd1 ); put_bits 773 libavcodec/mlpenc.c put_bits(&pb, 5, ctx->channel_arrangement ); put_bits 774 libavcodec/mlpenc.c put_bits(&pb, 2, ctx->ch_modifier_thd2 ); put_bits 775 libavcodec/mlpenc.c put_bits(&pb, 13, ctx->channel_arrangement ); put_bits 778 libavcodec/mlpenc.c put_bits(&pb, 16, MAJOR_SYNC_INFO_SIGNATURE); put_bits 779 libavcodec/mlpenc.c put_bits(&pb, 16, ctx->flags ); put_bits 780 libavcodec/mlpenc.c put_bits(&pb, 16, 0 ); /* ignored */ put_bits 781 libavcodec/mlpenc.c put_bits(&pb, 1, 1 ); /* is_vbr */ put_bits 782 libavcodec/mlpenc.c put_bits(&pb, 15, ctx->coded_peak_bitrate ); put_bits 783 libavcodec/mlpenc.c put_bits(&pb, 4, 1 ); /* num_substreams */ put_bits 784 libavcodec/mlpenc.c put_bits(&pb, 4, 0x1 ); /* ignored */ put_bits 787 libavcodec/mlpenc.c put_bits(&pb, 8, ctx->substream_info ); put_bits 788 libavcodec/mlpenc.c put_bits(&pb, 5, ctx->fs ); put_bits 789 libavcodec/mlpenc.c put_bits(&pb, 5, ctx->wordlength ); put_bits 790 libavcodec/mlpenc.c put_bits(&pb, 6, ctx->channel_occupancy ); put_bits 791 libavcodec/mlpenc.c put_bits(&pb, 3, 0 ); /* ignored */ put_bits 792 libavcodec/mlpenc.c put_bits(&pb, 10, 0 ); /* speaker_layout */ put_bits 793 libavcodec/mlpenc.c put_bits(&pb, 3, 0 ); /* copy_protection */ put_bits 794 libavcodec/mlpenc.c put_bits(&pb, 16, 0x8080 ); /* ignored */ put_bits 795 libavcodec/mlpenc.c put_bits(&pb, 7, 0 ); /* ignored */ put_bits 796 libavcodec/mlpenc.c put_bits(&pb, 4, 0 ); /* source_format */ put_bits 797 libavcodec/mlpenc.c put_bits(&pb, 5, ctx->summary_info ); put_bits 817 libavcodec/mlpenc.c put_bits(pb, 14, 0x31ea ); /* TODO 0x31eb */ put_bits 818 libavcodec/mlpenc.c put_bits(pb, 16, ctx->timestamp ); put_bits 819 libavcodec/mlpenc.c put_bits(pb, 4, rh->min_channel ); put_bits 820 libavcodec/mlpenc.c put_bits(pb, 4, rh->max_channel ); put_bits 821 libavcodec/mlpenc.c put_bits(pb, 4, rh->max_matrix_channel); put_bits 822 libavcodec/mlpenc.c put_bits(pb, 4, rh->noise_shift ); put_bits 823 libavcodec/mlpenc.c put_bits(pb, 23, rh->noisegen_seed ); put_bits 824 libavcodec/mlpenc.c put_bits(pb, 4, 0 ); /* TODO max_shift */ put_bits 825 libavcodec/mlpenc.c put_bits(pb, 5, rh->max_huff_lsbs ); put_bits 826 libavcodec/mlpenc.c put_bits(pb, 5, rh->max_output_bits ); put_bits 827 libavcodec/mlpenc.c put_bits(pb, 5, rh->max_output_bits ); put_bits 828 libavcodec/mlpenc.c put_bits(pb, 1, rh->data_check_present); put_bits 829 libavcodec/mlpenc.c put_bits(pb, 8, lossless_check ); put_bits 830 libavcodec/mlpenc.c put_bits(pb, 16, 0 ); /* ignored */ put_bits 833 libavcodec/mlpenc.c put_bits(pb, 6, ch); put_bits 841 libavcodec/mlpenc.c put_bits(pb, 8, checksum); put_bits 851 libavcodec/mlpenc.c put_bits(pb, 4, mp->count); put_bits 856 libavcodec/mlpenc.c put_bits(pb, 4, mp->outch[mat]); /* matrix_out_ch */ put_bits 857 libavcodec/mlpenc.c put_bits(pb, 4, mp->fbits[mat]); put_bits 858 libavcodec/mlpenc.c put_bits(pb, 1, 0 ); /* lsb_bypass */ put_bits 864 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 870 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 882 libavcodec/mlpenc.c put_bits(pb, 4, fp->order); put_bits 888 libavcodec/mlpenc.c put_bits(pb, 4, fp->shift ); put_bits 889 libavcodec/mlpenc.c put_bits(pb, 5, fp->coeff_bits ); put_bits 890 libavcodec/mlpenc.c put_bits(pb, 3, fp->coeff_shift); put_bits 897 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 914 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 915 libavcodec/mlpenc.c put_bits(pb, 8, dp->param_presence_flags); put_bits 917 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 922 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 923 libavcodec/mlpenc.c put_bits(pb, 9, dp->blocksize); put_bits 925 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 931 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 934 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 940 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 944 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 950 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 952 libavcodec/mlpenc.c put_bits(pb, 4, dp->quant_step_size[ch]); put_bits 954 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 962 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 966 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 969 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 975 libavcodec/mlpenc.c put_bits(pb, 1, 1); put_bits 978 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 984 libavcodec/mlpenc.c put_bits (pb, 1, 1); put_bits 987 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 994 libavcodec/mlpenc.c put_bits(pb, 2, cp->codebook ); put_bits 995 libavcodec/mlpenc.c put_bits(pb, 5, cp->huff_lsbs); put_bits 997 libavcodec/mlpenc.c put_bits(pb, 1, 0); put_bits 1040 libavcodec/mlpenc.c put_bits(pb, ff_mlp_huffman_tables[codebook_index[ch]][vlc][1], put_bits 1088 libavcodec/mlpenc.c put_bits(&pb, 1, 1); put_bits 1091 libavcodec/mlpenc.c put_bits(&pb, 1, 1); put_bits 1096 libavcodec/mlpenc.c put_bits(&pb, 1, 0); put_bits 1101 libavcodec/mlpenc.c put_bits(&pb, 1, 0); put_bits 1106 libavcodec/mlpenc.c put_bits(&pb, 1, !substr_restart_frame); put_bits 1111 libavcodec/mlpenc.c put_bits(&pb, (-put_bits_count(&pb)) & 15, 0); put_bits 1117 libavcodec/mlpenc.c put_bits(&pb, 32, END_OF_STREAM); put_bits 1127 libavcodec/mlpenc.c put_bits(&pb, 8, parity ); put_bits 1128 libavcodec/mlpenc.c put_bits(&pb, 8, checksum); put_bits 237 libavcodec/mpeg12enc.c put_bits(&s->pb, 16, header >> 16); put_bits 277 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->aspect_ratio_info); put_bits 278 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->frame_rate_index); put_bits 297 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // marker put_bits 312 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, constraint_parameter_flag); put_bits 324 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, 1); // seq ext put_bits 326 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->avctx->profile == FF_PROFILE_MPEG2_422); // escx 1 for 4:2:2 profile put_bits 328 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, s->avctx->profile); // profile put_bits 329 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, s->avctx->level); // level put_bits 331 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->progressive_sequence); put_bits 332 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->chroma_format); put_bits 333 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->width >> 12); put_bits 334 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->height >> 12); put_bits 335 libavcodec/mpeg12enc.c put_bits(&s->pb, 12, v >> 18); // bitrate ext put_bits 336 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // marker put_bits 337 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, vbv_buffer_size >> 10); // vbv buffer ext put_bits 338 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->low_delay); put_bits 339 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, s->mpeg2_frame_rate_ext.num-1); // frame_rate_ext_n put_bits 340 libavcodec/mpeg12enc.c put_bits(&s->pb, 5, s->mpeg2_frame_rate_ext.den-1); // frame_rate_ext_d put_bits 360 libavcodec/mpeg12enc.c put_bits(&s->pb, 4, 2); // sequence display extension put_bits 361 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, s->video_format); // video_format put_bits 362 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // colour_description put_bits 363 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, s->avctx->color_primaries); // colour_primaries put_bits 364 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, s->avctx->color_trc); // transfer_characteristics put_bits 365 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, s->avctx->colorspace); // matrix_coefficients put_bits 366 libavcodec/mpeg12enc.c put_bits(&s->pb, 14, width); // display_horizontal_size put_bits 367 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); // marker_bit put_bits 368 libavcodec/mpeg12enc.c put_bits(&s->pb, 14, height); // display_vertical_size put_bits 369 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 0); // remaining 3 bits are zero padding put_bits 374 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->drop_frame_timecode); // drop frame flag put_bits 387 libavcodec/mpeg12enc.c put_bits(&s->pb, 5, (uint32_t)((time_code / (fps * 3600)) % 24)); put_bits 388 libavcodec/mpeg12enc.c put_bits(&s->pb, 6, (uint32_t)((time_code / (fps * 60)) % 60)); put_bits 389 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 1); put_bits 390 libavcodec/mpeg12enc.c put_bits(&s->pb, 6, (uint32_t)((time_code / fps) % 60)); put_bits 391 libavcodec/mpeg12enc.c put_bits(&s->pb, 6, (uint32_t)((time_code % fps))); put_bits 392 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, !!(s->avctx->flags & AV_CODEC_FLAG_CLOSED_GOP) || s->intra_only || !s->gop_picture_number); put_bits 393 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, 0); // broken link put_bits 400 libavcodec/mpeg12enc.c put_bits(&s->pb, 11, 0x008); put_bits 403 libavcodec/mpeg12enc.c put_bits(&s->pb, ff_mpeg12_mbAddrIncrTable[run][1], put_bits 409 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 560 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 'G'); // user_identifier put_bits 561 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 'A'); put_bits 562 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, '9'); put_bits 563 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, '4'); put_bits 564 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 3); // user_data_type_code put_bits 565 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, put_bits 567 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 0xff); // em_data put_bits 570 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, side_data->data[i]); put_bits 572 libavcodec/mpeg12enc.c put_bits(&s->pb, 8, 0xff); // marker_bits put_bits 588 libavcodec/mpeg12enc.c put_bits(&s->pb, n, bits); put_bits 592 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 2 - field_motion); put_bits 593 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->interlaced_dct); put_bits 602 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 627 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 631 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, sign); put_bits 633 libavcodec/mpeg12enc.c put_bits(&s->pb, bit_size, bits); put_bits 650 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 655 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 661 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 665 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 695 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, code | 0x02); put_bits 723 libavcodec/mpeg12enc.c put_bits(&s->pb, table_vlc[code][1] + 1, put_bits 727 libavcodec/mpeg12enc.c put_bits(&s->pb, table_vlc[111][1], table_vlc[111][0]); put_bits 729 libavcodec/mpeg12enc.c put_bits(&s->pb, 6, run); put_bits 735 libavcodec/mpeg12enc.c put_bits(&s->pb, 16, 0x8001 + level + 255); put_bits 747 libavcodec/mpeg12enc.c put_bits(&s->pb, table_vlc[112][1], table_vlc[112][0]); put_bits 851 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 1); /* motion only */ put_bits 853 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 2); /* motion_type: frame */ put_bits 879 libavcodec/mpeg12enc.c put_bits(&s->pb, 3, 1); /* motion only */ put_bits 880 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 1); /* motion_type: field */ put_bits 885 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->field_select[0][i]); put_bits 899 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 903 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 923 libavcodec/mpeg12enc.c put_bits(&s->pb, 5 - s->mv_dir, 2); put_bits 925 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 2); /* motion_type: frame */ put_bits 969 libavcodec/mpeg12enc.c put_bits(&s->pb, 5 - s->mv_dir, 2); put_bits 970 libavcodec/mpeg12enc.c put_bits(&s->pb, 2, 1); /* motion_type: field */ put_bits 976 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->field_select[0][i]); put_bits 990 libavcodec/mpeg12enc.c put_bits(&s->pb, 1, s->field_select[1][i]); put_bits 1006 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 1010 libavcodec/mpeg12enc.c put_bits(&s->pb, put_bits 142 libavcodec/mpeg4audio.h 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 318 libavcodec/mpeg4videoenc.c put_bits(ac_pb, len_tab[index], bits_tab[index]); put_bits 320 libavcodec/mpeg4videoenc.c put_bits(ac_pb, put_bits 334 libavcodec/mpeg4videoenc.c put_bits(ac_pb, len_tab[index], bits_tab[index]); put_bits 336 libavcodec/mpeg4videoenc.c put_bits(ac_pb, put_bits 525 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* mb not coded modb1=1 */ put_bits 535 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* mb coded modb1=0 */ put_bits 536 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, cbp ? 0 : 1); /* modb2 */ // FIXME merge put_bits 537 libavcodec/mpeg4videoenc.c put_bits(&s->pb, mb_type + 1, 1); // this table is so simple that we don't need it :) put_bits 539 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 6, cbp); put_bits 543 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, (s->dquant >> 2) + 3); put_bits 545 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); put_bits 551 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->interlaced_dct); put_bits 553 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->mv_type == MV_TYPE_FIELD); put_bits 591 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[0][0]); put_bits 592 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[0][1]); put_bits 595 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[1][0]); put_bits 596 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[1][1]); put_bits 686 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 698 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 705 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 709 libavcodec/mpeg4videoenc.c put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 711 libavcodec/mpeg4videoenc.c put_bits(pb2, 2, dquant_code[s->dquant + 2]); put_bits 715 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, s->interlaced_dct); put_bits 716 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, 0); 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, 1); put_bits 752 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[0][0]); put_bits 753 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->field_select[0][1]); put_bits 765 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 768 libavcodec/mpeg4videoenc.c put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 771 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, s->interlaced_dct); put_bits 825 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 831 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 832 libavcodec/mpeg4videoenc.c put_bits(&s->pb, put_bits 836 libavcodec/mpeg4videoenc.c put_bits(pb2, 1, s->ac_pred); put_bits 838 libavcodec/mpeg4videoenc.c put_bits(pb2, ff_h263_cbpy_tab[cbpy][1], ff_h263_cbpy_tab[cbpy][0]); put_bits 840 libavcodec/mpeg4videoenc.c put_bits(dc_pb, 2, dquant_code[s->dquant + 2]); put_bits 843 libavcodec/mpeg4videoenc.c put_bits(dc_pb, 1, s->interlaced_dct); put_bits 867 libavcodec/mpeg4videoenc.c put_bits(pbc, 1, 0); put_bits 870 libavcodec/mpeg4videoenc.c put_bits(pbc, length, (1 << length) - 1); put_bits 889 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 890 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, GOP_STARTCODE); put_bits 903 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 5, hours); put_bits 904 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 6, minutes); put_bits 905 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 906 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 6, seconds); put_bits 908 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, !!(s->avctx->flags & AV_CODEC_FLAG_CLOSED_GOP)); put_bits 909 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); // broken link == NO put_bits 939 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 940 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, VOS_STARTCODE); put_bits 942 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 8, profile_and_level_indication); put_bits 944 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 945 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, VISUAL_OBJ_STARTCODE); put_bits 947 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 948 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 4, vo_ver_id); put_bits 949 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, 1); // priority put_bits 951 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 4, 1); // visual obj type== video obj put_bits 953 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); // video signal type == no clue // FIXME put_bits 975 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 976 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0x100 + vo_number); /* video obj */ put_bits 977 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 978 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0x120 + vol_number); /* video obj layer */ put_bits 980 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* random access vol */ put_bits 981 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 8, s->vo_type); /* video obj type indication */ put_bits 983 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* is obj layer id= no */ put_bits 985 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* is obj layer id= yes */ put_bits 986 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 4, vo_ver_id); /* is obj layer ver id */ put_bits 987 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, 1); /* is obj layer priority */ put_bits 992 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 4, s->aspect_ratio_info); /* aspect ratio info */ put_bits 996 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 8, s->avctx->sample_aspect_ratio.num); put_bits 997 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 8, s->avctx->sample_aspect_ratio.den); put_bits 1001 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* vol control parameters= no @@@ */ put_bits 1003 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* vol control parameters= yes */ put_bits 1004 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, 1); /* chroma format YUV 420/YV12 */ put_bits 1005 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->low_delay); put_bits 1006 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* vbv parameters= no */ put_bits 1009 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, RECT_SHAPE); /* vol shape= rectangle */ put_bits 1010 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1012 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, s->avctx->time_base.den); put_bits 1015 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1016 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* fixed vop rate=no */ put_bits 1017 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1018 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 13, s->width); /* vol width */ put_bits 1019 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1020 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 13, s->height); /* vol height */ put_bits 1021 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker bit */ put_bits 1022 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->progressive_sequence ? 0 : 1); put_bits 1023 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* obmc disable */ put_bits 1025 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* sprite enable */ put_bits 1027 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, 0); /* sprite enable */ put_bits 1029 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* not 8 bit == false */ put_bits 1030 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->mpeg_quant); /* quant type = (0 = H.263 style) */ put_bits 1038 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->quarter_sample); put_bits 1039 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* complexity estimation disable */ put_bits 1040 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->rtp_mode ? 0 : 1); /* resync marker disable */ put_bits 1041 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->data_partitioning ? 1 : 0); put_bits 1043 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* no rvlc */ put_bits 1046 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* newpred */ put_bits 1047 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* reduced res vop */ put_bits 1049 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); /* scalability */ put_bits 1055 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); put_bits 1056 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0x1B2); /* user_data */ put_bits 1080 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, 0); /* vop header */ put_bits 1081 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 16, VOP_STARTCODE); /* vop header */ put_bits 1082 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 2, s->pict_type - 1); /* pict type: I = 0 , P = 1 */ put_bits 1094 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 1096 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 0); put_bits 1098 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker */ put_bits 1099 libavcodec/mpeg4videoenc.c put_bits(&s->pb, s->time_increment_bits, time_mod); /* time increment */ put_bits 1100 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* marker */ put_bits 1101 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); /* vop coded */ put_bits 1103 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->no_rounding); /* rounding type */ put_bits 1105 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, 0); /* intra dc VLC threshold */ put_bits 1107 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->current_picture_ptr->f->top_field_first); put_bits 1108 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, s->alternate_scan); put_bits 1112 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 5, s->qscale); put_bits 1115 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, s->f_code); /* fcode_for */ put_bits 1117 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 3, s->b_code); /* fcode_back */ put_bits 1343 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 19, DC_MARKER); put_bits 1347 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 17, MOTION_MARKER); put_bits 1366 libavcodec/mpeg4videoenc.c put_bits(&s->pb, ff_mpeg4_get_video_packet_prefix_length(s), 0); put_bits 1367 libavcodec/mpeg4videoenc.c put_bits(&s->pb, 1, 1); put_bits 1369 libavcodec/mpeg4videoenc.c put_bits(&s->pb, mb_num_bits, s->mb_x + s->mb_y * s->mb_width); put_bits 1370 libavcodec/mpeg4videoenc.c put_bits(&s->pb, s->quant_precision, s->qscale); put_bits 1371 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 = MPEG-1 ID, 0 = MPEG-2 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 207 libavcodec/mpegvideo_enc.c put_bits(pb, 1, 1); put_bits 209 libavcodec/mpegvideo_enc.c put_bits(pb, 8, matrix[ff_zigzag_direct[i]]); put_bits 212 libavcodec/mpegvideo_enc.c put_bits(pb, 1, 0); put_bits 1970 libavcodec/mpegvideo_enc.c put_bits(&s->pb, 8, 0); put_bits 1974 libavcodec/mpegvideo_enc.c put_bits(&s->pb, 16, 0); put_bits 1975 libavcodec/mpegvideo_enc.c put_bits(&s->pb, 16, 0x1C3); put_bits 1978 libavcodec/mpegvideo_enc.c put_bits(&s->pb, 8, 0xFF); put_bits 73 libavcodec/msmpeg4enc.c put_bits(pb, 1, 0); put_bits 75 libavcodec/msmpeg4enc.c put_bits(pb, 1, 1); put_bits 76 libavcodec/msmpeg4enc.c put_bits(pb, 1, (n >= 2)); put_bits 229 libavcodec/msmpeg4enc.c put_bits(&s->pb, 2, s->pict_type - 1); put_bits 231 libavcodec/msmpeg4enc.c put_bits(&s->pb, 5, s->qscale); put_bits 248 libavcodec/msmpeg4enc.c put_bits(&s->pb, 5, 0x16 + s->mb_height/s->slice_height); put_bits 253 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->per_mb_rl_table); put_bits 262 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->dc_table_index); put_bits 265 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->use_skip_mb_code); put_bits 268 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->per_mb_rl_table); put_bits 274 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->dc_table_index); put_bits 276 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->mv_table_index); put_bits 287 libavcodec/msmpeg4enc.c put_bits(&s->pb, 5, FFMIN(fps, 31)); //yes 29.97 -> 29 put_bits 289 libavcodec/msmpeg4enc.c put_bits(&s->pb, 11, FFMIN(s->bit_rate/1024, 2047)); put_bits 292 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, s->flipflop_rounding); put_bits 320 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 325 libavcodec/msmpeg4enc.c put_bits(&s->pb, 6, mx); put_bits 326 libavcodec/msmpeg4enc.c put_bits(&s->pb, 6, my); put_bits 350 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_mvtab[code][1], ff_mvtab[code][0]); put_bits 369 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_mvtab[code][1] + 1, (ff_mvtab[code][0] << 1) | sign); put_bits 371 libavcodec/msmpeg4enc.c put_bits(&s->pb, bit_size, bits); put_bits 395 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 1); put_bits 403 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 406 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 412 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 422 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 459 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 463 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 464 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 468 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* no AC prediction yet */ put_bits 469 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 474 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 478 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* mb coded */ put_bits 479 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 483 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); /* no AC prediction yet */ put_bits 486 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 520 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 524 libavcodec/msmpeg4enc.c put_bits(&s->pb, put_bits 549 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table0_dc_lum[code][1], ff_table0_dc_lum[code][0]); put_bits 551 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table0_dc_chroma[code][1], ff_table0_dc_chroma[code][0]); put_bits 555 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table1_dc_lum[code][1], ff_table1_dc_lum[code][0]); put_bits 557 libavcodec/msmpeg4enc.c put_bits(&s->pb, ff_table1_dc_chroma[code][1], ff_table1_dc_chroma[code][0]); put_bits 565 libavcodec/msmpeg4enc.c put_bits(&s->pb, 8 + extrabits, level); put_bits 567 libavcodec/msmpeg4enc.c put_bits(&s->pb, extrabits, extquant); put_bits 570 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 635 libavcodec/msmpeg4enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 645 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); put_bits 658 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 0); put_bits 659 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, last); put_bits 666 libavcodec/msmpeg4enc.c put_bits(&s->pb, 6 + (s->msmpeg4_version>=6), 3); put_bits 668 libavcodec/msmpeg4enc.c put_bits(&s->pb, 8, 3); put_bits 670 libavcodec/msmpeg4enc.c put_bits(&s->pb, s->esc3_run_length, run); put_bits 671 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 672 libavcodec/msmpeg4enc.c put_bits(&s->pb, s->esc3_level_length, level); put_bits 674 libavcodec/msmpeg4enc.c put_bits(&s->pb, 6, run); put_bits 679 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 1); put_bits 680 libavcodec/msmpeg4enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 681 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 685 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, 1); put_bits 686 libavcodec/msmpeg4enc.c put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); put_bits 687 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 690 libavcodec/msmpeg4enc.c put_bits(&s->pb, 1, sign); put_bits 344 libavcodec/nellymoserenc.c put_bits(&pb, 5, idx_table[band]); put_bits 347 libavcodec/nellymoserenc.c put_bits(&pb, 6, idx_table[0]); put_bits 373 libavcodec/nellymoserenc.c put_bits(&pb, bits[i], best_idx); put_bits 377 libavcodec/nellymoserenc.c put_bits(&pb, NELLY_HEADER_BITS + NELLY_DETAIL_BITS - put_bits_count(&pb), 0); put_bits 159 libavcodec/pnmdec.c put_bits(&pb, sample_len, (((1<<sample_len)-1)*v + (s->maxval>>1))/s->maxval); put_bits 214 libavcodec/proresenc_anatoliy.c put_bits(pb, zeros, 0); put_bits 215 libavcodec/proresenc_anatoliy.c put_bits(pb, exp + 1, val); put_bits 217 libavcodec/proresenc_anatoliy.c put_bits(pb, (val >> rice_order), 0); put_bits 218 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, 1); put_bits 221 libavcodec/proresenc_anatoliy.c put_bits(pb, val, 0); put_bits 222 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, 1); put_bits 296 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, IS_NEGATIVE(val)); put_bits 409 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, 1); put_bits 410 libavcodec/proresenc_anatoliy.c put_bits(pb, abits, diff); put_bits 412 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, 0); put_bits 413 libavcodec/proresenc_anatoliy.c put_bits(pb, dbits - 1, FFABS(diff) - 1); put_bits 414 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, diff < 0); put_bits 421 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, 0); put_bits 423 libavcodec/proresenc_anatoliy.c put_bits(pb, 4, run); put_bits 425 libavcodec/proresenc_anatoliy.c put_bits(pb, 15, run); put_bits 427 libavcodec/proresenc_anatoliy.c put_bits(pb, 1, 1); put_bits 390 libavcodec/proresenc_kostya.c put_bits(pb, exponent - exp_order + switch_bits, 0); put_bits 391 libavcodec/proresenc_kostya.c put_bits(pb, exponent + 1, val); put_bits 396 libavcodec/proresenc_kostya.c put_bits(pb, exponent, 0); put_bits 397 libavcodec/proresenc_kostya.c put_bits(pb, 1, 1); put_bits 495 libavcodec/proresenc_kostya.c put_bits(pb, 1, 1); put_bits 496 libavcodec/proresenc_kostya.c put_bits(pb, abits, diff); put_bits 498 libavcodec/proresenc_kostya.c put_bits(pb, 1, 0); put_bits 499 libavcodec/proresenc_kostya.c put_bits(pb, dbits - 1, FFABS(diff) - 1); put_bits 500 libavcodec/proresenc_kostya.c put_bits(pb, 1, diff < 0); put_bits 507 libavcodec/proresenc_kostya.c put_bits(pb, 1, 0); put_bits 509 libavcodec/proresenc_kostya.c put_bits(pb, 4, run); put_bits 511 libavcodec/proresenc_kostya.c put_bits(pb, 15, run); put_bits 513 libavcodec/proresenc_kostya.c put_bits(pb, 1, 1); put_bits 244 libavcodec/put_bits.h put_bits(pb, n, av_mod_uintp2(value, n)); put_bits 293 libavcodec/put_bits.h put_bits(s, n, value); put_bits 301 libavcodec/put_bits.h put_bits(s, n - 32, hi); put_bits 303 libavcodec/put_bits.h put_bits(s, n - 32, hi); 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 38 libavcodec/rv10enc.c put_bits(&s->pb, 1, 1); /* marker */ put_bits 40 libavcodec/rv10enc.c put_bits(&s->pb, 1, (s->pict_type == AV_PICTURE_TYPE_P)); put_bits 42 libavcodec/rv10enc.c put_bits(&s->pb, 1, 0); /* not PB-mframe */ put_bits 44 libavcodec/rv10enc.c put_bits(&s->pb, 5, s->qscale); put_bits 57 libavcodec/rv10enc.c put_bits(&s->pb, 6, 0); /* mb_x */ put_bits 58 libavcodec/rv10enc.c put_bits(&s->pb, 6, 0); /* mb_y */ put_bits 59 libavcodec/rv10enc.c put_bits(&s->pb, 12, s->mb_width * s->mb_height); put_bits 62 libavcodec/rv10enc.c put_bits(&s->pb, 3, 0); /* ignored */ put_bits 36 libavcodec/rv20enc.c put_bits(&s->pb, 2, s->pict_type); //I 0 vs. 1 ? put_bits 37 libavcodec/rv20enc.c put_bits(&s->pb, 1, 0); /* unknown bit */ put_bits 38 libavcodec/rv20enc.c put_bits(&s->pb, 5, s->qscale); put_bits 44 libavcodec/rv20enc.c put_bits(&s->pb, 1, s->no_rounding); put_bits 91 libavcodec/s302menc.c put_bits(&pb, 16, buf_size - AES3_HEADER_LEN); put_bits 92 libavcodec/s302menc.c put_bits(&pb, 2, (avctx->channels - 2) >> 1); // number of channels put_bits 93 libavcodec/s302menc.c put_bits(&pb, 8, 0); // channel ID put_bits 94 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 95 libavcodec/s302menc.c put_bits(&pb, 4, 0); // alignments put_bits 140 libavcodec/sbcenc.c put_bits(&pb, frame->subbands, joint); put_bits 147 libavcodec/sbcenc.c put_bits(&pb, 4, frame->scale_factor[ch][sb] & 0x0F); put_bits 184 libavcodec/sbcenc.c put_bits(&pb, bits[ch][sb], audio_sample); put_bits 229 libavcodec/sonic.c put_bits(pb, 1, value & (1 << i)); put_bits 232 libavcodec/sonic.c put_bits(pb, 1, value & (1 << (bits-1))); put_bits 276 libavcodec/sonic.c put_bits(pb, 4, low_bits); put_bits 281 libavcodec/sonic.c put_bits(pb, low_bits, abs(buf[i])); put_bits 313 libavcodec/sonic.c put_bits(pb, 1, any); put_bits 344 libavcodec/sonic.c put_bits(pb, 1, buf[i] < 0); put_bits 677 libavcodec/sonic.c put_bits(&pb, 2, s->version); // version put_bits 681 libavcodec/sonic.c put_bits(&pb, 8, s->version); put_bits 682 libavcodec/sonic.c put_bits(&pb, 8, s->minor_version); put_bits 684 libavcodec/sonic.c put_bits(&pb, 2, s->channels); put_bits 685 libavcodec/sonic.c put_bits(&pb, 4, code_samplerate(s->samplerate)); put_bits 687 libavcodec/sonic.c put_bits(&pb, 1, s->lossless); put_bits 689 libavcodec/sonic.c put_bits(&pb, 3, SAMPLE_SHIFT); // XXX FIXME: sample precision put_bits 690 libavcodec/sonic.c put_bits(&pb, 2, s->decorrelation); put_bits 691 libavcodec/sonic.c put_bits(&pb, 2, s->downsampling); put_bits 692 libavcodec/sonic.c put_bits(&pb, 5, (s->num_taps >> 5)-1); // 32..1024 put_bits 693 libavcodec/sonic.c put_bits(&pb, 1, 0); // XXX FIXME: no custom tap quant table put_bits 48 libavcodec/svq1enc.c put_bits(&s->pb, 22, 0x20); put_bits 51 libavcodec/svq1enc.c put_bits(&s->pb, 8, 0x00); put_bits 54 libavcodec/svq1enc.c put_bits(&s->pb, 2, frame_type - 1); put_bits 60 libavcodec/svq1enc.c put_bits(&s->pb, 5, 2); /* 2 needed by quicktime decoder */ put_bits 65 libavcodec/svq1enc.c put_bits(&s->pb, 3, i); put_bits 68 libavcodec/svq1enc.c put_bits(&s->pb, 12, s->frame_width); put_bits 69 libavcodec/svq1enc.c put_bits(&s->pb, 12, s->frame_height); put_bits 74 libavcodec/svq1enc.c put_bits(&s->pb, 2, 0); put_bits 208 libavcodec/svq1enc.c put_bits(&s->reorder_pb[level], 1, split); put_bits 217 libavcodec/svq1enc.c put_bits(&s->reorder_pb[level], put_bits 220 libavcodec/svq1enc.c put_bits(&s->reorder_pb[level], mean_vlc[best_mean][1], put_bits 225 libavcodec/svq1enc.c put_bits(&s->reorder_pb[level], 4, best_vector[i]); put_bits 392 libavcodec/svq1enc.c put_bits(&s->reorder_pb[5], vlc[1], vlc[0]); put_bits 418 libavcodec/svq1enc.c put_bits(&s->reorder_pb[5], vlc[1], vlc[0]); put_bits 450 libavcodec/svq1enc.c put_bits(&s->pb, vlc[1], vlc[0]); put_bits 655 libavcodec/svq1enc.c put_bits(&s->pb, 1, 0); put_bits 29 libavcodec/tests/cabac.c put_bits(&c->pb, 1, b); put_bits 31 libavcodec/tests/cabac.c put_bits(&c->pb, 1, 1-b); put_bits 106 libavcodec/tests/cabac.c put_bits(&c->pb, 2, ((c->low>>7)&3)|1); put_bits 424 libavcodec/tiffenc.c 12, FF_LZW_TIFF, put_bits); put_bits 164 libavcodec/ttaenc.c put_bits(&pb, 31, 0x7FFFFFFF); put_bits 167 libavcodec/ttaenc.c put_bits(&pb, unary, (1U << unary) - 1); put_bits 173 libavcodec/ttaenc.c put_bits(&pb, 1, 0); put_bits 176 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 189 libavcodec/vc2enc.c put_bits(pb, 1, 1); put_bits 208 libavcodec/vc2enc.c put_bits(pb, bits*2 + 1, (pbits << 1) | 1); put_bits 240 libavcodec/vc2enc.c put_bits(&s->pb, 8, pcode); put_bits 271 libavcodec/vc2enc.c put_bits(&s->pb, 1, !s->strict_compliance); put_bits 282 libavcodec/vc2enc.c put_bits(&s->pb, 1, !s->strict_compliance); put_bits 298 libavcodec/vc2enc.c put_bits(&s->pb, 1, !s->strict_compliance); put_bits 306 libavcodec/vc2enc.c put_bits(&s->pb, 1, !s->strict_compliance); put_bits 318 libavcodec/vc2enc.c put_bits(&s->pb, 1, !s->strict_compliance); put_bits 330 libavcodec/vc2enc.c put_bits(&s->pb, 1, 0); put_bits 336 libavcodec/vc2enc.c put_bits(&s->pb, 1, !s->strict_compliance); put_bits 345 libavcodec/vc2enc.c put_bits(&s->pb, 1, !s->strict_compliance); put_bits 351 libavcodec/vc2enc.c put_bits(&s->pb, 1, 1); put_bits 363 libavcodec/vc2enc.c put_bits(&s->pb, 1, 1); put_bits 375 libavcodec/vc2enc.c put_bits(&s->pb, 1, 1); put_bits 487 libavcodec/vc2enc.c put_bits(&s->pb, 1, s->custom_quant_matrix); put_bits 547 libavcodec/vc2enc.c put_bits(pb, 1, coeff[x] < 0); put_bits 737 libavcodec/vc2enc.c put_bits(pb, 8, quant_idx); put_bits 748 libavcodec/vc2enc.c put_bits(pb, 8, 0); put_bits 160 libavcodec/vorbisenc.c put_bits(pb, cb->lens[entry], cb->codewords[entry]); put_bits 489 libavcodec/vorbisenc.c put_bits(pb, 24, 0x564342); //magic put_bits 490 libavcodec/vorbisenc.c put_bits(pb, 16, cb->ndimensions); put_bits 491 libavcodec/vorbisenc.c put_bits(pb, 24, cb->nentries); put_bits 499 libavcodec/vorbisenc.c put_bits(pb, 1, ordered); put_bits 502 libavcodec/vorbisenc.c put_bits(pb, 5, len - 1); put_bits 509 libavcodec/vorbisenc.c put_bits(pb, ilog(cb->nentries - i), j); put_bits 520 libavcodec/vorbisenc.c put_bits(pb, 1, sparse); put_bits 524 libavcodec/vorbisenc.c put_bits(pb, 1, !!cb->lens[i]); put_bits 526 libavcodec/vorbisenc.c put_bits(pb, 5, cb->lens[i] - 1); put_bits 530 libavcodec/vorbisenc.c put_bits(pb, 4, cb->lookup); put_bits 541 libavcodec/vorbisenc.c put_bits(pb, 4, bits - 1); put_bits 542 libavcodec/vorbisenc.c put_bits(pb, 1, cb->seq_p); put_bits 545 libavcodec/vorbisenc.c put_bits(pb, bits, cb->quantlist[i]); put_bits 553 libavcodec/vorbisenc.c put_bits(pb, 16, 1); // type, only floor1 is supported put_bits 555 libavcodec/vorbisenc.c put_bits(pb, 5, fc->partitions); put_bits 558 libavcodec/vorbisenc.c put_bits(pb, 4, fc->partition_to_class[i]); put_bits 563 libavcodec/vorbisenc.c put_bits(pb, 3, fc->classes[i].dim - 1); put_bits 564 libavcodec/vorbisenc.c put_bits(pb, 2, fc->classes[i].subclass); put_bits 567 libavcodec/vorbisenc.c put_bits(pb, 8, fc->classes[i].masterbook); put_bits 572 libavcodec/vorbisenc.c put_bits(pb, 8, fc->classes[i].books[j] + 1); put_bits 575 libavcodec/vorbisenc.c put_bits(pb, 2, fc->multiplier - 1); put_bits 576 libavcodec/vorbisenc.c put_bits(pb, 4, fc->rangebits); put_bits 579 libavcodec/vorbisenc.c put_bits(pb, fc->rangebits, fc->list[i].x); put_bits 586 libavcodec/vorbisenc.c put_bits(pb, 16, rc->type); put_bits 588 libavcodec/vorbisenc.c put_bits(pb, 24, rc->begin); put_bits 589 libavcodec/vorbisenc.c put_bits(pb, 24, rc->end); put_bits 590 libavcodec/vorbisenc.c put_bits(pb, 24, rc->partition_size - 1); put_bits 591 libavcodec/vorbisenc.c put_bits(pb, 6, rc->classifications - 1); put_bits 592 libavcodec/vorbisenc.c put_bits(pb, 8, rc->classbook); put_bits 599 libavcodec/vorbisenc.c put_bits(pb, 3, tmp & 7); put_bits 600 libavcodec/vorbisenc.c put_bits(pb, 1, tmp > 7); put_bits 603 libavcodec/vorbisenc.c put_bits(pb, 5, tmp >> 3); put_bits 610 libavcodec/vorbisenc.c put_bits(pb, 8, rc->books[i][j]); put_bits 626 libavcodec/vorbisenc.c put_bits(&pb, 8, 1); //magic put_bits 628 libavcodec/vorbisenc.c put_bits(&pb, 8, "vorbis"[i]); put_bits 630 libavcodec/vorbisenc.c put_bits(&pb, 8, venc->channels); put_bits 635 libavcodec/vorbisenc.c put_bits(&pb, 4, venc->log2_blocksize[0]); put_bits 636 libavcodec/vorbisenc.c put_bits(&pb, 4, venc->log2_blocksize[1]); put_bits 637 libavcodec/vorbisenc.c put_bits(&pb, 1, 1); // framing put_bits 646 libavcodec/vorbisenc.c put_bits(&pb, 8, 3); //magic put_bits 648 libavcodec/vorbisenc.c put_bits(&pb, 8, "vorbis"[i]); put_bits 651 libavcodec/vorbisenc.c put_bits(&pb, 1, 1); // framing put_bits 660 libavcodec/vorbisenc.c put_bits(&pb, 8, 5); //magic put_bits 662 libavcodec/vorbisenc.c put_bits(&pb, 8, "vorbis"[i]); put_bits 665 libavcodec/vorbisenc.c put_bits(&pb, 8, venc->ncodebooks - 1); put_bits 670 libavcodec/vorbisenc.c put_bits(&pb, 6, 0); put_bits 671 libavcodec/vorbisenc.c put_bits(&pb, 16, 0); put_bits 674 libavcodec/vorbisenc.c put_bits(&pb, 6, venc->nfloors - 1); put_bits 679 libavcodec/vorbisenc.c put_bits(&pb, 6, venc->nresidues - 1); put_bits 684 libavcodec/vorbisenc.c put_bits(&pb, 6, venc->nmappings - 1); put_bits 688 libavcodec/vorbisenc.c put_bits(&pb, 16, 0); // mapping type put_bits 690 libavcodec/vorbisenc.c put_bits(&pb, 1, mc->submaps > 1); put_bits 692 libavcodec/vorbisenc.c put_bits(&pb, 4, mc->submaps - 1); put_bits 694 libavcodec/vorbisenc.c put_bits(&pb, 1, !!mc->coupling_steps); put_bits 696 libavcodec/vorbisenc.c put_bits(&pb, 8, mc->coupling_steps - 1); put_bits 698 libavcodec/vorbisenc.c put_bits(&pb, ilog(venc->channels - 1), mc->magnitude[j]); put_bits 699 libavcodec/vorbisenc.c put_bits(&pb, ilog(venc->channels - 1), mc->angle[j]); put_bits 703 libavcodec/vorbisenc.c put_bits(&pb, 2, 0); // reserved put_bits 707 libavcodec/vorbisenc.c put_bits(&pb, 4, mc->mux[j]); put_bits 710 libavcodec/vorbisenc.c put_bits(&pb, 8, 0); // reserved time configuration put_bits 711 libavcodec/vorbisenc.c put_bits(&pb, 8, mc->floor[j]); put_bits 712 libavcodec/vorbisenc.c put_bits(&pb, 8, mc->residue[j]); put_bits 717 libavcodec/vorbisenc.c put_bits(&pb, 6, venc->nmodes - 1); put_bits 719 libavcodec/vorbisenc.c put_bits(&pb, 1, venc->modes[i].blockflag); put_bits 720 libavcodec/vorbisenc.c put_bits(&pb, 16, 0); // reserved window type put_bits 721 libavcodec/vorbisenc.c put_bits(&pb, 16, 0); // reserved transform type put_bits 722 libavcodec/vorbisenc.c put_bits(&pb, 8, venc->modes[i].mapping); put_bits 725 libavcodec/vorbisenc.c put_bits(&pb, 1, 1); // framing put_bits 803 libavcodec/vorbisenc.c put_bits(pb, 1, 1); // non zero put_bits 804 libavcodec/vorbisenc.c put_bits(pb, ilog(range - 1), posts[0]); put_bits 805 libavcodec/vorbisenc.c put_bits(pb, ilog(range - 1), posts[1]); put_bits 1143 libavcodec/vorbisenc.c put_bits(&pb, 1, 0); // magic bit put_bits 1145 libavcodec/vorbisenc.c put_bits(&pb, ilog(venc->nmodes - 1), 1); // Mode for current frame put_bits 1150 libavcodec/vorbisenc.c put_bits(&pb, 1, 1); // Previous windowflag put_bits 1151 libavcodec/vorbisenc.c put_bits(&pb, 1, 1); // Next windowflag put_bits 251 libavcodec/vp9_raw_reorder_bsf.c put_bits(&pb, 2, 2); put_bits 253 libavcodec/vp9_raw_reorder_bsf.c put_bits(&pb, 1, frame->profile & 1); put_bits 255 libavcodec/vp9_raw_reorder_bsf.c put_bits(&pb, 1, (frame->profile >> 1) & 1); put_bits 258 libavcodec/vp9_raw_reorder_bsf.c put_bits(&pb, 1, 0); put_bits 261 libavcodec/vp9_raw_reorder_bsf.c put_bits(&pb, 1, 1); put_bits 263 libavcodec/vp9_raw_reorder_bsf.c put_bits(&pb, 3, s); put_bits 266 libavcodec/vp9_raw_reorder_bsf.c put_bits(&pb, 1, 0); put_bits 1976 libavcodec/wavpackenc.c put_bits(pb, 31, 0x7FFFFFFF); put_bits 1979 libavcodec/wavpackenc.c put_bits(pb, cbits, (1 << cbits) - 1); put_bits 1984 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 1987 libavcodec/wavpackenc.c put_bits(pb, 1, w->zeros_acc & 1); put_bits 1998 libavcodec/wavpackenc.c put_bits(pb, 16, (1 << 16) - 1); put_bits 1999 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2005 libavcodec/wavpackenc.c put_bits(pb, 31, 0x7FFFFFFF); put_bits 2008 libavcodec/wavpackenc.c put_bits(pb, cbits, (1 << cbits) - 1); put_bits 2013 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2016 libavcodec/wavpackenc.c put_bits(pb, 1, w->holding_one & 1); put_bits 2022 libavcodec/wavpackenc.c put_bits(pb, w->holding_one, (1 << w->holding_one) - 1); put_bits 2029 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2034 libavcodec/wavpackenc.c put_bits(pb, w->pend_count, w->pend_data); put_bits 2054 libavcodec/wavpackenc.c put_bits(&s->pb, 1, 0); put_bits 2165 libavcodec/wavpackenc.c put_bits(pb, 1, 1); put_bits 2166 libavcodec/wavpackenc.c put_bits(pb, 23, get_mantissa(*sample)); put_bits 2168 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2189 libavcodec/wavpackenc.c put_bits(pb, 1, 1); put_bits 2190 libavcodec/wavpackenc.c put_bits(pb, 23, get_mantissa(*sample)); put_bits 2193 libavcodec/wavpackenc.c put_bits(pb, 8, get_exponent(*sample)); put_bits 2195 libavcodec/wavpackenc.c put_bits(pb, 1, get_sign(*sample)); put_bits 2197 libavcodec/wavpackenc.c put_bits(pb, 1, 0); put_bits 2200 libavcodec/wavpackenc.c put_bits(pb, 1, get_sign(*sample)); put_bits 2207 libavcodec/wavpackenc.c put_bits(pb, 1, get_mantissa(*sample) & 1); put_bits 166 libavcodec/wmaenc.c put_bits(&s->pb, 5, last_exp - 10); put_bits 174 libavcodec/wmaenc.c put_bits(&s->pb, ff_aac_scalefactor_bits[code], put_bits 222 libavcodec/wmaenc.c put_bits(&s->pb, 1, !!s->ms_stereo); put_bits 261 libavcodec/wmaenc.c put_bits(&s->pb, 1, a); put_bits 269 libavcodec/wmaenc.c put_bits(&s->pb, 7, 127); put_bits 270 libavcodec/wmaenc.c put_bits(&s->pb, 7, v); put_bits 280 libavcodec/wmaenc.c put_bits(&s->pb, 1, s->high_band_coded[ch][i] = 0); put_bits 290 libavcodec/wmaenc.c put_bits(&s->pb, 1, parse_exponents); put_bits 325 libavcodec/wmaenc.c put_bits(&s->pb, s->coef_vlcs[tindex]->huffbits[code], put_bits 332 libavcodec/wmaenc.c put_bits(&s->pb, coef_nb_bits, abs_level); put_bits 333 libavcodec/wmaenc.c put_bits(&s->pb, s->frame_len_bits, run); put_bits 336 libavcodec/wmaenc.c put_bits(&s->pb, 1, level < 0); put_bits 342 libavcodec/wmaenc.c put_bits(&s->pb, s->coef_vlcs[tindex]->huffbits[1], put_bits 414 libavcodec/wmaenc.c put_bits(&s->pb, 8, 'N'); put_bits 1166 libavcodec/wmalosslessdec.c put_bits(&s->pb, align, get_bits(gb, align)); put_bits 1587 libavcodec/wmaprodec.c put_bits(&s->pb, align, get_bits(gb, align)); put_bits 1888 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 78 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->pict_type - 1); put_bits 80 libavcodec/wmv2enc.c put_bits(&s->pb, 7, 0); put_bits 81 libavcodec/wmv2enc.c put_bits(&s->pb, 5, s->qscale); put_bits 96 libavcodec/wmv2enc.c put_bits(&s->pb, 1, w->j_type); put_bits 99 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->per_mb_rl_table); put_bits 106 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->dc_table_index); put_bits 112 libavcodec/wmv2enc.c put_bits(&s->pb, 2, SKIP_TYPE_NONE); put_bits 118 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->mspel); put_bits 121 libavcodec/wmv2enc.c put_bits(&s->pb, 1, w->per_mb_abt ^ 1); put_bits 127 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->per_mb_rl_table); put_bits 133 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->dc_table_index); put_bits 134 libavcodec/wmv2enc.c put_bits(&s->pb, 1, s->mv_table_index); put_bits 164 libavcodec/wmv2enc.c put_bits(&s->pb, put_bits 192 libavcodec/wmv2enc.c put_bits(&s->pb, put_bits 196 libavcodec/wmv2enc.c put_bits(&s->pb, put_bits 199 libavcodec/wmv2enc.c put_bits(&s->pb, 1, 0); /* no AC prediction yet */ put_bits 202 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 519 libavfilter/vf_signature.c put_bits(&buf, 1, 1); /* SpatialLocationFlag, always the whole image */ put_bits 521 libavfilter/vf_signature.c put_bits(&buf, 16, sc->w-1 & 0xFFFF); /* PixelX,2 */ put_bits 522 libavfilter/vf_signature.c put_bits(&buf, 16, sc->h-1 & 0xFFFF); /* PixelY,2 */ put_bits 527 libavfilter/vf_signature.c put_bits(&buf, 16, 0xFFFF & (sc->time_base.den / sc->time_base.num)); /* MediaTimeUnit */ put_bits 528 libavfilter/vf_signature.c put_bits(&buf, 1, 1); /* MediaTimeFlagOfSpatialRegion */ put_bits 536 libavfilter/vf_signature.c put_bits(&buf, 1, 1); /* MediaTimeFlagOfSegment */ put_bits 542 libavfilter/vf_signature.c put_bits(&buf, 8, cs->data[i][j]); put_bits 544 libavfilter/vf_signature.c put_bits(&buf, 3, cs->data[i][30] >> 5); put_bits 548 libavfilter/vf_signature.c put_bits(&buf, 1, 0); /* CompressionFlag, only 0 supported */ put_bits 550 libavfilter/vf_signature.c put_bits(&buf, 1, 1); /* MediaTimeFlagOfFrame */ put_bits 552 libavfilter/vf_signature.c put_bits(&buf, 8, fs->confidence); /* FrameConfidence */ put_bits 554 libavfilter/vf_signature.c put_bits(&buf, 8, fs->words[i]); /* Words */ put_bits 558 libavfilter/vf_signature.c put_bits(&buf, 8, fs->framesig[i]); put_bits 87 libavformat/adtsenc.c put_bits(&pb, 3, 5); //ID_PCE put_bits 138 libavformat/adtsenc.c put_bits(&pb, 12, 0xfff); /* syncword */ put_bits 139 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* ID */ put_bits 140 libavformat/adtsenc.c put_bits(&pb, 2, 0); /* layer */ put_bits 141 libavformat/adtsenc.c put_bits(&pb, 1, 1); /* protection_absent */ put_bits 142 libavformat/adtsenc.c put_bits(&pb, 2, ctx->objecttype); /* profile_objecttype */ put_bits 143 libavformat/adtsenc.c put_bits(&pb, 4, ctx->sample_rate_index); put_bits 144 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* private_bit */ put_bits 145 libavformat/adtsenc.c put_bits(&pb, 3, ctx->channel_conf); /* channel_configuration */ put_bits 146 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* original_copy */ put_bits 147 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* home */ put_bits 150 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* copyright_identification_bit */ put_bits 151 libavformat/adtsenc.c put_bits(&pb, 1, 0); /* copyright_identification_start */ put_bits 152 libavformat/adtsenc.c put_bits(&pb, 13, full_frame_size); /* aac_frame_length */ put_bits 153 libavformat/adtsenc.c put_bits(&pb, 11, 0x7ff); /* adts_buffer_fullness */ put_bits 154 libavformat/adtsenc.c put_bits(&pb, 2, 0); /* number_of_raw_data_blocks_in_frame */ put_bits 428 libavformat/av1.c put_bits(&pbc, 1, 1); // marker put_bits 429 libavformat/av1.c put_bits(&pbc, 7, 1); // version put_bits 430 libavformat/av1.c put_bits(&pbc, 3, seq_params.profile); put_bits 431 libavformat/av1.c put_bits(&pbc, 5, seq_params.level); put_bits 432 libavformat/av1.c put_bits(&pbc, 1, seq_params.tier); put_bits 433 libavformat/av1.c put_bits(&pbc, 1, seq_params.bitdepth > 8); put_bits 434 libavformat/av1.c put_bits(&pbc, 1, seq_params.bitdepth == 12); put_bits 435 libavformat/av1.c put_bits(&pbc, 1, seq_params.monochrome); put_bits 436 libavformat/av1.c put_bits(&pbc, 1, seq_params.chroma_subsampling_x); put_bits 437 libavformat/av1.c put_bits(&pbc, 1, seq_params.chroma_subsampling_y); put_bits 438 libavformat/av1.c put_bits(&pbc, 2, seq_params.chroma_sample_position); put_bits 439 libavformat/av1.c put_bits(&pbc, 8, 0); // padding put_bits 103 libavformat/bit.c put_bits(&pbo,1, AV_RL16(src++) == BIT_1 ? 1 : 0); put_bits 521 libavformat/flvenc.c put_bits(&pbc, 5, flv->audio_par->profile + 1); //profile put_bits 522 libavformat/flvenc.c put_bits(&pbc, 4, samplerate_index); //sample rate index put_bits 523 libavformat/flvenc.c put_bits(&pbc, 4, channels); put_bits 524 libavformat/flvenc.c put_bits(&pbc, 1, 0); //frame length - 1024 samples put_bits 525 libavformat/flvenc.c put_bits(&pbc, 1, 0); //does not depend on core coder put_bits 526 libavformat/flvenc.c put_bits(&pbc, 1, 0); //is not extension put_bits 111 libavformat/latmenc.c put_bits(bs, 1, !!ctx->counter); put_bits 115 libavformat/latmenc.c put_bits(bs, 1, 0); /* audioMuxVersion */ put_bits 116 libavformat/latmenc.c put_bits(bs, 1, 1); /* allStreamsSameTimeFraming */ put_bits 117 libavformat/latmenc.c put_bits(bs, 6, 0); /* numSubFrames */ put_bits 118 libavformat/latmenc.c put_bits(bs, 4, 0); /* numProgram */ put_bits 119 libavformat/latmenc.c put_bits(bs, 3, 0); /* numLayer */ put_bits 139 libavformat/latmenc.c put_bits(bs, 3, 0); /* frameLengthType */ put_bits 140 libavformat/latmenc.c put_bits(bs, 8, 0xff); /* latmBufferFullness */ put_bits 142 libavformat/latmenc.c put_bits(bs, 1, 0); /* otherDataPresent */ put_bits 143 libavformat/latmenc.c put_bits(bs, 1, 0); /* crcCheckPresent */ put_bits 193 libavformat/latmenc.c put_bits(&bs, 8, 255); put_bits 195 libavformat/latmenc.c put_bits(&bs, 8, pkt->size-i); put_bits 209 libavformat/latmenc.c put_bits(&bs, 8, pkt->data[0] & 0xfe); put_bits 353 libavformat/movenc.c put_bits(&pbc, 2, fscod); put_bits 354 libavformat/movenc.c put_bits(&pbc, 5, bsid); put_bits 355 libavformat/movenc.c put_bits(&pbc, 3, bsmod); put_bits 356 libavformat/movenc.c put_bits(&pbc, 3, acmod); put_bits 357 libavformat/movenc.c put_bits(&pbc, 1, lfeon); put_bits 358 libavformat/movenc.c put_bits(&pbc, 5, frmsizecod >> 1); // bit_rate_code put_bits 359 libavformat/movenc.c put_bits(&pbc, 5, 0); // reserved put_bits 560 libavformat/movenc.c put_bits(&pbc, 13, info->data_rate); put_bits 561 libavformat/movenc.c put_bits(&pbc, 3, info->num_ind_sub); put_bits 563 libavformat/movenc.c put_bits(&pbc, 2, info->substream[i].fscod); put_bits 564 libavformat/movenc.c put_bits(&pbc, 5, info->substream[i].bsid); put_bits 565 libavformat/movenc.c put_bits(&pbc, 1, 0); /* reserved */ put_bits 566 libavformat/movenc.c put_bits(&pbc, 1, 0); /* asvc */ put_bits 567 libavformat/movenc.c put_bits(&pbc, 3, info->substream[i].bsmod); put_bits 568 libavformat/movenc.c put_bits(&pbc, 3, info->substream[i].acmod); put_bits 569 libavformat/movenc.c put_bits(&pbc, 1, info->substream[i].lfeon); put_bits 570 libavformat/movenc.c put_bits(&pbc, 5, 0); /* reserved */ put_bits 571 libavformat/movenc.c put_bits(&pbc, 4, info->substream[i].num_dep_sub); put_bits 573 libavformat/movenc.c put_bits(&pbc, 1, 0); /* reserved */ put_bits 575 libavformat/movenc.c put_bits(&pbc, 9, info->substream[i].chan_loc); put_bits 931 libavformat/movenc.c put_bits(&pbc, 4, 12); /* profile - advanced */ put_bits 932 libavformat/movenc.c put_bits(&pbc, 3, level); put_bits 933 libavformat/movenc.c put_bits(&pbc, 1, 0); /* reserved */ put_bits 935 libavformat/movenc.c put_bits(&pbc, 3, level); put_bits 936 libavformat/movenc.c put_bits(&pbc, 1, 0); /* cbr */ put_bits 937 libavformat/movenc.c put_bits(&pbc, 6, 0); /* reserved */ put_bits 938 libavformat/movenc.c put_bits(&pbc, 1, !interlace); /* no interlace */ put_bits 939 libavformat/movenc.c put_bits(&pbc, 1, !packet_seq); /* no multiple seq */ put_bits 940 libavformat/movenc.c put_bits(&pbc, 1, !packet_entry); /* no multiple entry */ put_bits 941 libavformat/movenc.c put_bits(&pbc, 1, !slices); /* no slice code */ put_bits 942 libavformat/movenc.c put_bits(&pbc, 1, 0); /* no bframe */ put_bits 943 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); /* nonconstrained bitstream */ 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 154 tools/probetest.c put_bits(&pb, 1, (av_lfg_get(&state) & 0xFFFFFFFF) > p << 20); put_bits 160 tools/probetest.c put_bits(&pb, 1, v); put_bits 168 tools/probetest.c put_bits(&pb, 1, v);