Home
last modified time | relevance | path

Searched refs:WARPEDMODEL_PREC_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.c56 #define WARPEDMODEL_PREC_BITS 16 macro
1112 gm_params->alpha = clamp_val(mat[2] - (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params()
1117 gv = ((long long)mat[4] * (1 << WARPEDMODEL_PREC_BITS)) * y; in vdec_av1_slice_get_shear_params()
1123 (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Drockchip_vpu981_hw_av1_dec.c58 #define WARPEDMODEL_PREC_BITS 16 macro
485 *alpha = clamp_val(mat[2] - (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in rockchip_vpu981_av1_dec_get_shear_params()
490 gv = ((long long)mat[4] * (1 << WARPEDMODEL_PREC_BITS)) * y; in rockchip_vpu981_av1_dec_get_shear_params()
496 (int)AV1_DIV_ROUND_UP_POW2_SIGNED(dv, shift) - (1 << WARPEDMODEL_PREC_BITS), in rockchip_vpu981_av1_dec_get_shear_params()