Lines Matching refs:bd
44 static INLINE tran_high_t highbd_check_range(tran_high_t input, int bd) {
51 const int32_t int_max = (1 << (7 + bd)) - 1;
57 (void)bd;
75 // bd of 8 uses trans_low with 16bits, need to remove 16bits
76 // bd of 10 uses trans_low with 18bits, need to remove 14bits
77 // bd of 12 uses trans_low with 20bits, need to remove 12bits
78 // bd of x uses trans_low with 8+x bits, need to remove 24-x bits
82 #define HIGHBD_WRAPLOW(x, bd) \
83 ((((int32_t)highbd_check_range((x), bd)) << (24 - bd)) >> (24 - bd))
90 #define HIGHBD_WRAPLOW(x, bd) ((int32_t)highbd_check_range((x), bd))
103 void vpx_highbd_idct4_c(const tran_low_t *input, tran_low_t *output, int bd);
104 void vpx_highbd_idct8_c(const tran_low_t *input, tran_low_t *output, int bd);
105 void vpx_highbd_idct16_c(const tran_low_t *input, tran_low_t *output, int bd);
107 void vpx_highbd_iadst4_c(const tran_low_t *input, tran_low_t *output, int bd);
108 void vpx_highbd_iadst8_c(const tran_low_t *input, tran_low_t *output, int bd);
109 void vpx_highbd_iadst16_c(const tran_low_t *input, tran_low_t *output, int bd);
112 int bd) {
113 trans = HIGHBD_WRAPLOW(trans, bd);
114 return clip_pixel_highbd(dest + (int)trans, bd);