| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 void idct4_c(const tran_low_t *input, tran_low_t *output); | 91 void idct4_c(const tran_low_t *input, tran_low_t *output); |
| 92 void idct8_c(const tran_low_t *input, tran_low_t *output); | 92 void idct8_c(const tran_low_t *input, tran_low_t *output); |
| 93 void idct16_c(const tran_low_t *input, tran_low_t *output); | 93 void idct16_c(const tran_low_t *input, tran_low_t *output); |
| 94 void idct32_c(const tran_low_t *input, tran_low_t *output); | 94 void idct32_c(const tran_low_t *input, tran_low_t *output); |
| 95 void iadst4_c(const tran_low_t *input, tran_low_t *output); | 95 void iadst4_c(const tran_low_t *input, tran_low_t *output); |
| 96 void iadst8_c(const tran_low_t *input, tran_low_t *output); | 96 void iadst8_c(const tran_low_t *input, tran_low_t *output); |
| 97 void iadst16_c(const tran_low_t *input, tran_low_t *output); | 97 void iadst16_c(const tran_low_t *input, tran_low_t *output); |
| 98 | 98 |
| 99 #if CONFIG_VP9_HIGHBITDEPTH | 99 #if CONFIG_VP9_HIGHBITDEPTH |
| 100 void vp9_highbd_idct4_c(const tran_low_t *input, tran_low_t *output, int bd); | 100 void vpx_highbd_idct4_c(const tran_low_t *input, tran_low_t *output, int bd); |
| 101 void vp9_highbd_idct8_c(const tran_low_t *input, tran_low_t *output, int bd); | 101 void vpx_highbd_idct8_c(const tran_low_t *input, tran_low_t *output, int bd); |
| 102 void vp9_highbd_idct16_c(const tran_low_t *input, tran_low_t *output, int bd); | 102 void vpx_highbd_idct16_c(const tran_low_t *input, tran_low_t *output, int bd); |
| 103 void highbd_idct32_c(const tran_low_t *input, tran_low_t *output, int bd); | |
| 104 | 103 |
| 105 void highbd_iadst4_c(const tran_low_t *input, tran_low_t *output, int bd); | 104 void vpx_highbd_iadst4_c(const tran_low_t *input, tran_low_t *output, int bd); |
| 106 void highbd_iadst8_c(const tran_low_t *input, tran_low_t *output, int bd); | 105 void vpx_highbd_iadst8_c(const tran_low_t *input, tran_low_t *output, int bd); |
| 107 void highbd_iadst16_c(const tran_low_t *input, tran_low_t *output, int bd); | 106 void vpx_highbd_iadst16_c(const tran_low_t *input, tran_low_t *output, int bd); |
| 108 | 107 |
| 109 static INLINE uint16_t highbd_clip_pixel_add(uint16_t dest, tran_high_t trans, | 108 static INLINE uint16_t highbd_clip_pixel_add(uint16_t dest, tran_high_t trans, |
| 110 int bd) { | 109 int bd) { |
| 111 trans = WRAPLOW(trans, bd); | 110 trans = WRAPLOW(trans, bd); |
| 112 return clip_pixel_highbd(WRAPLOW(dest + trans, bd), bd); | 111 return clip_pixel_highbd(WRAPLOW(dest + trans, bd), bd); |
| 113 } | 112 } |
| 114 #endif | 113 #endif |
| 115 | 114 |
| 116 static INLINE uint8_t clip_pixel_add(uint8_t dest, tran_high_t trans) { | 115 static INLINE uint8_t clip_pixel_add(uint8_t dest, tran_high_t trans) { |
| 117 trans = WRAPLOW(trans, 8); | 116 trans = WRAPLOW(trans, 8); |
| 118 return clip_pixel(WRAPLOW(dest + trans, 8)); | 117 return clip_pixel(WRAPLOW(dest + trans, 8)); |
| 119 } | 118 } |
| 120 #ifdef __cplusplus | 119 #ifdef __cplusplus |
| 121 } // extern "C" | 120 } // extern "C" |
| 122 #endif | 121 #endif |
| 123 | 122 |
| 124 #endif // VPX_DSP_INV_TXFM_H_ | 123 #endif // VPX_DSP_INV_TXFM_H_ |
| OLD | NEW |