Home
last modified time | relevance | path

Searched refs:vi_scale (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/external/mpp/mpp/codec/rc/
H A Drc_model_v2.c250 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 Drc_ctx.h42 RK_U32 vi_scale; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dsiena_sriov.c201 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 Dvfdi.h239 u8 vi_scale; member
H A Defx.h202 return 1 << efx->vi_scale; in efx_vf_size()
H A Dnet_driver.h1100 unsigned vi_scale; member
H A Dfarch.c1704 (1024U - EFX_VI_BASE) >> efx->vi_scale); in efx_farch_dimension_resources()