Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
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.alloc = desired_bits; in psy_3gpp_analyze_channel()
Dpsymodel.h106 } bitres; member
Daacenc.c713 s->psy.bitres.alloc = -1; in aac_encode_frame()
714 s->psy.bitres.bits = s->last_frame_pb_count / s->channels; in aac_encode_frame()
716 if (s->psy.bitres.alloc > 0) { in aac_encode_frame()
718 target_bits += s->psy.bitres.alloc in aac_encode_frame()
720 s->psy.bitres.alloc /= chans; in aac_encode_frame()
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()