Searched refs:vi_scale (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/external/mpp/mpp/codec/rc/ |
| H A D | rc_model_v2.c | 250 ctx->vi_scale = 32; in bits_frm_init() 255 …p_bit = ctx->gop_total_bits * 16 / (ctx->i_scale + ctx->vi_scale * vi_num + ctx->p_scale * (gop_le… in bits_frm_init() 262 mpp_data_reset_v2(ctx->vi_bit, p_bit * ctx->vi_scale / 16); in bits_frm_init() 263 ctx->vi_sumbits = 2 * p_bit * ctx->vi_scale / 16; in bits_frm_init() 344 ctx->vi_scale = 80 * ctx->vi_sumbits / (2 * ctx->p_sumbits); in bits_model_preset() 346 ctx->vi_scale = mpp_clip(ctx->vi_scale, 16, 320); in bits_model_preset() 406 ctx->vi_scale = 80 * ctx->vi_sumbits / (2 * ctx->p_sumbits); in bits_model_update() 408 ctx->vi_scale = mpp_clip(ctx->vi_scale, 16, 320); in bits_model_update() 431 RK_S32 vi_scale = ctx->vi_scale; in bits_model_alloc() local 465 total_bits = total_bits * vi_scale; in bits_model_alloc() [all …]
|
| H A D | rc_ctx.h | 42 RK_U32 vi_scale; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | siena_sriov.c | 201 unsigned vi_scale, vf_total; in efx_siena_sriov_cmd() local 217 vi_scale = MCDI_DWORD(outbuf, SRIOV_OUT_VI_SCALE); in efx_siena_sriov_cmd() 218 if (vi_scale > EFX_VI_SCALE_MAX) in efx_siena_sriov_cmd() 222 *vi_scale_out = vi_scale; in efx_siena_sriov_cmd() 643 FRF_CZ_TX_DPT_Q_MASK_WIDTH, min(efx->vi_scale, 1U), in efx_vfdi_init_txq() 1059 if (efx_siena_sriov_cmd(efx, false, &efx->vi_scale, &count)) { in efx_siena_sriov_probe() 1314 vfdi_status->vi_scale = efx->vi_scale; in efx_siena_sriov_init()
|
| H A D | vfdi.h | 239 u8 vi_scale; member
|
| H A D | efx.h | 202 return 1 << efx->vi_scale; in efx_vf_size()
|
| H A D | net_driver.h | 1100 unsigned vi_scale; member
|
| H A D | farch.c | 1704 (1024U - EFX_VI_BASE) >> efx->vi_scale); in efx_farch_dimension_resources()
|