Home
last modified time | relevance | path

Searched refs:bitres (Results 1 - 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Daacpsy.c329 ctx->bitres.size = 6144 - pctx->frame_bits; in psy_3gpp_init()
330 ctx->bitres.size -= ctx->bitres.size % 8; in psy_3gpp_init()
331 pctx->fill_level = ctx->bitres.size; in psy_3gpp_init()
719 if (ctx->bitres.bits > 0) { in psy_3gpp_analyze_channel()
727 desired_bits = calc_bit_demand(pctx, pe, ctx->bitres.bits, ctx->bitres.size, wi->num_windows == 8); in psy_3gpp_analyze_channel()
734 if (ctx->bitres.bits > 0) in psy_3gpp_analyze_channel()
735 desired_pe *= av_clipf(pctx->pe.previous / PSY_3GPP_BITS_TO_PE(ctx->bitres.bits), in psy_3gpp_analyze_channel()
739 ctx->bitres in psy_3gpp_analyze_channel()
[all...]
H A Dpsymodel.h106 } bitres; member
H A Daacenc.c716 s->psy.bitres.alloc = -1; in aac_encode_frame()
717 s->psy.bitres.bits = s->last_frame_pb_count / s->channels; in aac_encode_frame()
719 if (s->psy.bitres.alloc > 0) { in aac_encode_frame()
721 target_bits += s->psy.bitres.alloc in aac_encode_frame()
723 s->psy.bitres.alloc /= chans; in aac_encode_frame()
H A Daaccoder_twoloop.h130 if (s->psy.bitres.alloc >= 0) { in search_for_quantizers_twoloop()
135 destbits = s->psy.bitres.alloc in search_for_quantizers_twoloop()

Completed in 6 milliseconds