Home
last modified time | relevance | path

Searched refs:WARP_PARAM_REDUCE_BITS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_av1_req_lat_if.c55 #define WARP_PARAM_REDUCE_BITS 6 macro
1125 gm_params->alpha = AV1_DIV_ROUND_UP_POW2_SIGNED(gm_params->alpha, WARP_PARAM_REDUCE_BITS) * in vdec_av1_slice_get_shear_params()
1126 (1 << WARP_PARAM_REDUCE_BITS); in vdec_av1_slice_get_shear_params()
1127 gm_params->beta = AV1_DIV_ROUND_UP_POW2_SIGNED(gm_params->beta, WARP_PARAM_REDUCE_BITS) * in vdec_av1_slice_get_shear_params()
1128 (1 << WARP_PARAM_REDUCE_BITS); in vdec_av1_slice_get_shear_params()
1129 gm_params->gamma = AV1_DIV_ROUND_UP_POW2_SIGNED(gm_params->gamma, WARP_PARAM_REDUCE_BITS) * in vdec_av1_slice_get_shear_params()
1130 (1 << WARP_PARAM_REDUCE_BITS); in vdec_av1_slice_get_shear_params()
1131 gm_params->delta = AV1_DIV_ROUND_UP_POW2_SIGNED(gm_params->delta, WARP_PARAM_REDUCE_BITS) * in vdec_av1_slice_get_shear_params()
1132 (1 << WARP_PARAM_REDUCE_BITS); in vdec_av1_slice_get_shear_params()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Drockchip_vpu981_hw_av1_dec.c57 #define WARP_PARAM_REDUCE_BITS 6 macro
499 *alpha = AV1_DIV_ROUND_UP_POW2_SIGNED(*alpha, WARP_PARAM_REDUCE_BITS) in rockchip_vpu981_av1_dec_get_shear_params()
500 * (1 << WARP_PARAM_REDUCE_BITS); in rockchip_vpu981_av1_dec_get_shear_params()
501 *beta = AV1_DIV_ROUND_UP_POW2_SIGNED(*beta, WARP_PARAM_REDUCE_BITS) in rockchip_vpu981_av1_dec_get_shear_params()
502 * (1 << WARP_PARAM_REDUCE_BITS); in rockchip_vpu981_av1_dec_get_shear_params()
503 *gamma = AV1_DIV_ROUND_UP_POW2_SIGNED(*gamma, WARP_PARAM_REDUCE_BITS) in rockchip_vpu981_av1_dec_get_shear_params()
504 * (1 << WARP_PARAM_REDUCE_BITS); in rockchip_vpu981_av1_dec_get_shear_params()
505 *delta = AV1_DIV_ROUND_UP_POW2_SIGNED(*delta, WARP_PARAM_REDUCE_BITS) in rockchip_vpu981_av1_dec_get_shear_params()
506 * (1 << WARP_PARAM_REDUCE_BITS); in rockchip_vpu981_av1_dec_get_shear_params()