/third_party/ffmpeg/libavcodec/ |
H A D | ac3enc.c | 778 int frame_bits; in count_frame_bits_fixed() local 790 frame_bits = 16; /* sync info */ in count_frame_bits_fixed() 793 frame_bits += 35; in count_frame_bits_fixed() 794 frame_bits += 1 + 1; in count_frame_bits_fixed() 796 frame_bits++; in count_frame_bits_fixed() 797 frame_bits++; in count_frame_bits_fixed() 800 frame_bits += 2; in count_frame_bits_fixed() 801 frame_bits += 10; in count_frame_bits_fixed() 804 frame_bits += 5 * s->fbw_channels; in count_frame_bits_fixed() 806 frame_bits in count_frame_bits_fixed() 923 int frame_bits = 0; count_frame_bits() local [all...] |
H A D | gsmdec_template.c | 31 static void apcm_dequant_add(GetBitContext *gb, int16_t *dst, const int *frame_bits) in apcm_dequant_add() argument 37 val = get_bits(gb, frame_bits[i]); in apcm_dequant_add() 38 dst[3 * i] += tab[ff_gsm_requant_tab[frame_bits[i]][val]]; in apcm_dequant_add()
|
H A D | qdmc.c | 49 uint8_t frame_bits; member 274 s->frame_bits = 13; in qdmc_decode_init() 277 s->frame_bits = 12; in qdmc_decode_init() 280 s->frame_bits = 11; in qdmc_decode_init() 282 s->frame_size = 1 << s->frame_bits; in qdmc_decode_init() 431 group_size = 1 << (s->frame_bits - group - 1); in read_wave_data()
|
H A D | aacpsy.c | 153 int frame_bits; ///< average bits per frame member 326 pctx->frame_bits = FFMIN(2560, chan_bitrate * AAC_BLOCK_SIZE_LONG / ctx->avctx->sample_rate); in psy_3gpp_init() 329 ctx->bitres.size = 6144 - pctx->frame_bits; in psy_3gpp_init() 505 ctx->fill_level += ctx->frame_bits - bits; in calc_bit_demand() 533 ctx->frame_bits * bit_factor, in calc_bit_demand() 534 FFMAX(ctx->frame_bits + size - bits, ctx->frame_bits / 8)); in calc_bit_demand()
|
H A D | dnxhdenc.h | 88 unsigned frame_bits; member
|
H A D | dcaenc.c | 70 int frame_bits; member 243 c->frame_bits = FFALIGN((avctx->bit_rate * 512 + avctx->sample_rate - 1) / avctx->sample_rate, 32); in encode_init() 245 if (c->frame_bits < min_frame_bits || c->frame_bits > (DCA_MAX_FRAME_SIZE << 3)) in encode_init() 248 c->frame_size = (c->frame_bits + 7) / 8; in encode_init() 861 if (c->consumed_bits > c->frame_bits) { in assign_bits() 862 while (c->consumed_bits > c->frame_bits) { in assign_bits() 872 while (c->consumed_bits <= c->frame_bits) { in assign_bits() 884 if (c->consumed_bits <= c->frame_bits) in assign_bits()
|
H A D | aacenc.c | 565 int i, its, ch, w, chans, tag, start_ch, ret, frame_bits; in aac_encode_frame() local 684 frame_bits = its = 0; in aac_encode_frame() 829 frame_bits = put_bits_count(&s->pb); in aac_encode_frame() 841 || (its < 5 && (frame_bits < too_few_bits || frame_bits > too_many_bits)) in aac_encode_frame() 842 || frame_bits >= 6144 * s->channels - 3 ) in aac_encode_frame() 844 float ratio = ((float)rate_bits) / frame_bits; in aac_encode_frame() 846 if (frame_bits >= too_few_bits && frame_bits <= too_many_bits) { in aac_encode_frame()
|
H A D | dnxhdenc.c | 347 ctx->frame_bits = (ctx->coding_unit_size - in dnxhd_init_rc() 1047 if (bits > ctx->frame_bits) in dnxhd_encode_rdo() 1051 if (bits > ctx->frame_bits) in dnxhd_encode_rdo() 1055 if (bits < ctx->frame_bits) { in dnxhd_encode_rdo() 1103 if (bits > ctx->frame_bits) in dnxhd_find_qscale() 1106 if (bits < ctx->frame_bits) { in dnxhd_find_qscale() 1227 for (x = 0; x < ctx->m.mb_num && max_bits > ctx->frame_bits; x++) { in dnxhd_encode_fast() 1237 if (max_bits > ctx->frame_bits) in dnxhd_encode_fast()
|
H A D | ac3enc.h | 232 int frame_bits; ///< all frame bits except exponents and mantissas member
|
H A D | opusenc_psy.c | 315 float rate, frame_bits = 0; in celt_gauge_psy_weight() local 348 frame_bits += band_score[i]*8.0f; in celt_gauge_psy_weight() 354 rate = ((float)s->avctx->bit_rate) + frame_bits*frame_size*16; in celt_gauge_psy_weight()
|
H A D | ratecontrol.c | 895 av_assert1(s->frame_bits >= s->stuffing_bits); in ff_rate_estimate_qscale() 899 s->frame_bits - s->stuffing_bits); in ff_rate_estimate_qscale() 942 br_compensation, s->frame_bits, var, pict_type); in ff_rate_estimate_qscale() 1006 br_compensation, short_term_q, s->frame_bits, in ff_rate_estimate_qscale()
|
H A D | mpegvideo.h | 316 int frame_bits; ///< bits used for the current frame member
|
H A D | mpegvideo_enc.c | 1791 s->frame_bits = put_bits_count(&s->pb); in ff_mpv_encode_picture() 1793 stuffing_count = ff_vbv_update(s, s->frame_bits); in ff_mpv_encode_picture() 1821 s->frame_bits = put_bits_count(&s->pb); in ff_mpv_encode_picture() 1836 int minbits = s->frame_bits - 8 * in ff_mpv_encode_picture() 1873 s->total_bits += s->frame_bits; in ff_mpv_encode_picture() 1889 s->frame_bits = 0; in ff_mpv_encode_picture() 1898 av_assert1((s->frame_bits & 7) == 0); in ff_mpv_encode_picture() 1900 pkt->size = s->frame_bits / 8; in ff_mpv_encode_picture()
|
H A D | snowenc.c | 1856 s->m.frame_bits = 8*(s->c.bytestream - s->c.bytestream_start); in encode_frame() 1857 s->m.p_tex_bits = s->m.frame_bits - s->m.misc_bits - s->m.mv_bits; in encode_frame()
|
/third_party/alsa-utils/bat/ |
H A D | alsa.c | 42 size_t frame_bits; member 292 sndpcm->frame_bits = sndpcm->sample_bits * bat->channels; in set_snd_pcm_params() 295 sndpcm->period_bytes = sndpcm->period_size * sndpcm->frame_bits / 8; in set_snd_pcm_params() 337 offset += err * sndpcm->frame_bits / 8; in write_to_pcm() 385 int frames = bytes * 8 / sndpcm->frame_bits; /* frame count */ in write_to_pcm_loop() 541 offset += err * sndpcm->frame_bits / 8; in read_from_pcm() 575 frames = size * 8 / sndpcm->frame_bits; in read_from_pcm_loop()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_direct.h | 121 unsigned int frame_bits; member
|
H A D | pcm_file.c | 192 pcm->frame_bits/pcm->channels); in snd_pcm_file_replace_fname() 330 fmt->bwidth = pcm->frame_bits / 8; in setup_wav_header() 789 a->step = slave->frame_bits; in snd_pcm_file_hw_params()
|
H A D | pcm.c | 902 unsigned int frame_bits; in snd_pcm_hw_params_current() local 912 frame_bits = snd_pcm_format_physical_width(pcm->format) * pcm->channels; in snd_pcm_hw_params_current() 913 snd_interval_set_value(¶ms->intervals[SND_PCM_HW_PARAM_FRAME_BITS - SND_PCM_HW_PARAM_FIRST_INTERVAL], frame_bits); in snd_pcm_hw_params_current() 921 snd_interval_set_value(¶ms->intervals[SND_PCM_HW_PARAM_BUFFER_BYTES - SND_PCM_HW_PARAM_FIRST_INTERVAL], (pcm->buffer_size * frame_bits) / 8); in snd_pcm_hw_params_current() 2455 return bytes * 8 / pcm->frame_bits; in snd_pcm_bytes_to_frames() 2471 return frames * pcm->frame_bits / 8; in snd_pcm_frames_to_bytes() 7569 areas->step = pcm->frame_bits; in snd_pcm_areas_from_buf()
|
H A D | pcm_mmap.c | 239 info->step = pcm->frame_bits; in snd_pcm_channel_info_shm()
|
H A D | pcm_direct.c | 1185 COPY_SLAVE(frame_bits); 1584 COPY_SLAVE(frame_bits);
|
H A D | pcm_params.c | 2428 pcm->frame_bits = pcm->sample_bits * pcm->channels; in _snd_pcm_hw_params_internal() 2429 fb = pcm->frame_bits; in _snd_pcm_hw_params_internal()
|
H A D | pcm_local.h | 234 unsigned int frame_bits; member
|