Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_av1_req_lat_if.c20 #define AV1_REF_SCALE_SHIFT 14 macro
21 #define AV1_REF_NO_SCALE BIT(AV1_REF_SCALE_SHIFT)
1445 ((ref_upscaled_width << AV1_REF_SCALE_SHIFT) + (frame_width >> 1)) / frame_width; in vdec_av1_slice_setup_scale_factors()
1447 ((ref_frame_height << AV1_REF_SCALE_SHIFT) + (frame_height >> 1)) / frame_height; in vdec_av1_slice_setup_scale_factors()
1455 AV1_REF_SCALE_SHIFT - AV1_SCALE_SUBPEL_BITS); in vdec_av1_slice_setup_scale_factors()
1458 AV1_REF_SCALE_SHIFT - AV1_SCALE_SUBPEL_BITS); in vdec_av1_slice_setup_scale_factors()
/linux-6.6.21/drivers/media/platform/verisilicon/
Drockchip_vpu981_hw_av1_dec.c20 #define AV1_REF_SCALE_SHIFT 14 macro
694 ((width << AV1_REF_SCALE_SHIFT) + cur_width / 2) / cur_width; in rockchip_vpu981_av1_dec_set_ref()
696 ((height << AV1_REF_SCALE_SHIFT) + cur_height / 2) / cur_height; in rockchip_vpu981_av1_dec_set_ref()
754 return (scale_width != (1 << AV1_REF_SCALE_SHIFT)) || in rockchip_vpu981_av1_dec_set_ref()
755 (scale_height != (1 << AV1_REF_SCALE_SHIFT)); in rockchip_vpu981_av1_dec_set_ref()