Home
last modified time | relevance | path

Searched refs:total_bits (Results 1 – 3 of 3) sorted by relevance

/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_model_v2.c448 MPP_RET bits_model_alloc(RcModelV2Ctx *ctx, EncRcTaskInfo *cfg, RK_S64 total_bits) in bits_model_alloc() argument
457 RK_S64 total_bits_fix = total_bits; in bits_model_alloc()
464 cfg->frame_type, max_i_prop, i_scale, total_bits); in bits_model_alloc()
478 total_bits = total_bits * i_scale; in bits_model_alloc()
485 total_bits = total_bits * 16; in bits_model_alloc()
489 total_bits = total_bits * vi_scale; in bits_model_alloc()
495 alloc_bits = total_bits / (i_scale + 16 * (gop_len - vi_num) + vi_num * vi_scale); in bits_model_alloc()
500 total_bits, i_scale, gop_len, vi_num, vi_scale); in bits_model_alloc()
508 total_bits = total_bits * i_scale; in bits_model_alloc()
516 total_bits = total_bits * 16; in bits_model_alloc()
[all …]
H A Drc_ctx.h124 MPP_RET bits_model_alloc(RcModelV2Ctx *ctx, EncRcTaskInfo *cfg, RK_S64 total_bits);
/rockchip-linux_mpp/test/
H A Dmpi_rc2_test.c85 RK_U64 total_bits; member
835 ctx->total_bits += len * 8; in mpi_rc_enc()
1048 30 * (RK_U32)(ctx->total_bits / ctx->frm_idx), in mpi_rc_codec()
1053 30 * (RK_U32)(ctx->total_bits / ctx->frm_idx) / 1000, in mpi_rc_codec()