Searched refs:gm_params (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_av1_req_lat_if.c | 1102 static void vdec_av1_slice_get_shear_params(struct vdec_av1_slice_gm *gm_params) in vdec_av1_slice_get_shear_params() argument 1104 const int *mat = gm_params->wmmat; in vdec_av1_slice_get_shear_params() 1109 if (gm_params->wmmat[2] <= 0) in vdec_av1_slice_get_shear_params() 1112 gm_params->alpha = clamp_val(mat[2] - (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params() 1113 gm_params->beta = clamp_val(mat[3], S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params() 1118 gm_params->gamma = clamp_val((int)AV1_DIV_ROUND_UP_POW2_SIGNED(gv, shift), in vdec_av1_slice_get_shear_params() 1122 gm_params->delta = clamp_val(mat[5] - (int)AV1_DIV_ROUND_UP_POW2_SIGNED(dv, shift) - in vdec_av1_slice_get_shear_params() 1125 gm_params->alpha = AV1_DIV_ROUND_UP_POW2_SIGNED(gm_params->alpha, 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() 1129 gm_params->gamma = AV1_DIV_ROUND_UP_POW2_SIGNED(gm_params->gamma, WARP_PARAM_REDUCE_BITS) * in vdec_av1_slice_get_shear_params() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec-stateless.rst | 3235 - This field has the same meaning as "gm_params" in :ref:`av1`.
|