Searched refs:CLIP3 (Results 1 – 2 of 2) sorted by relevance
| /rockchip-linux_mpp/mpp/hal/vpu/vp8d/ |
| H A D | hal_vp8d_vdpu2.c | 28 #define CLIP3(l, h, v) ((v) < (l) ? (l) : ((v) > (h) ? (h) : (v))) macro 529 …regs->reg129.sw_filt_level_0 = CLIP3(0, 63, (RK_S32)pic_param->filter_level + pic_param->stVP8Segm… in hal_vp8d_vdpu2_gen_regs() 530 …regs->reg129.sw_filt_level_1 = CLIP3(0, 63, (RK_S32)pic_param->filter_level + pic_param->stVP8Segm… in hal_vp8d_vdpu2_gen_regs() 531 …regs->reg129.sw_filt_level_2 = CLIP3(0, 63, (RK_S32)pic_param->filter_level + pic_param->stVP8Segm… in hal_vp8d_vdpu2_gen_regs() 532 …regs->reg129.sw_filt_level_3 = CLIP3(0, 63, (RK_S32)pic_param->filter_level + pic_param->stVP8Segm… in hal_vp8d_vdpu2_gen_regs() 561 …regs->reg130.sw_quant_0 = CLIP3(0, 127, pic_param->y1ac_delta_q + pic_param->stVP8Segments.segment… in hal_vp8d_vdpu2_gen_regs() 562 …regs->reg130.sw_quant_1 = CLIP3(0, 127, pic_param->y1ac_delta_q + pic_param->stVP8Segments.segment… in hal_vp8d_vdpu2_gen_regs() 563 …regs->reg151.sw_quant_2 = CLIP3(0, 127, pic_param->y1ac_delta_q + pic_param->stVP8Segments.segment… in hal_vp8d_vdpu2_gen_regs() 564 …regs->reg151.sw_quant_3 = CLIP3(0, 127, pic_param->y1ac_delta_q + pic_param->stVP8Segments.segment… in hal_vp8d_vdpu2_gen_regs()
|
| H A D | hal_vp8d_vdpu1.c | 28 #define CLIP3(l, h, v) ((v) < (l) ? (l) : ((v) > (h) ? (h) : (v))) macro 539 regs->reg32.sw_filt_level_0 = CLIP3(0, 63, in hal_vp8d_vdpu1_gen_regs() 542 regs->reg32.sw_filt_level_1 = CLIP3(0, 63, in hal_vp8d_vdpu1_gen_regs() 545 regs->reg32.sw_filt_level_2 = CLIP3(0, 63, in hal_vp8d_vdpu1_gen_regs() 548 regs->reg32.sw_filt_level_3 = CLIP3(0, 63, in hal_vp8d_vdpu1_gen_regs() 579 regs->reg33.sw_quant_0 = CLIP3(0, 127, in hal_vp8d_vdpu1_gen_regs() 582 regs->reg33.sw_quant_1 = CLIP3(0, 127, in hal_vp8d_vdpu1_gen_regs() 585 regs->reg46.sw_quant_2 = CLIP3(0, 127, in hal_vp8d_vdpu1_gen_regs() 588 regs->reg46.sw_quant_3 = CLIP3(0, 127, in hal_vp8d_vdpu1_gen_regs()
|