Searched refs:total_bits (Results 1 – 3 of 3) sorted by relevance
| /rockchip-linux_mpp/mpp/codec/rc/ |
| H A D | rc_model_v2.c | 448 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 D | rc_ctx.h | 124 MPP_RET bits_model_alloc(RcModelV2Ctx *ctx, EncRcTaskInfo *cfg, RK_S64 total_bits);
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_rc2_test.c | 85 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()
|