Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: source/libvpx/vpx_dsp/inv_txfm.h

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/libvpx/vpx_dsp/fwd_txfm.c ('k') | source/libvpx/vpx_dsp/inv_txfm.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « source/libvpx/vpx_dsp/fwd_txfm.c ('k') | source/libvpx/vpx_dsp/inv_txfm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698