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

Side by Side Diff: source/libvpx/vp9/common/vp9_idct.h

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 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/vp9/common/vp9_enums.h ('k') | source/libvpx/vp9/common/vp9_idct.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
11 #ifndef VP9_COMMON_VP9_IDCT_H_ 11 #ifndef VP9_COMMON_VP9_IDCT_H_
12 #define VP9_COMMON_VP9_IDCT_H_ 12 #define VP9_COMMON_VP9_IDCT_H_
13 13
14 #include <assert.h> 14 #include <assert.h>
15 15
16 #include "./vpx_config.h" 16 #include "./vpx_config.h"
17 #include "vpx_ports/mem.h"
17 #include "vp9/common/vp9_common.h" 18 #include "vp9/common/vp9_common.h"
18 #include "vp9/common/vp9_enums.h" 19 #include "vp9/common/vp9_enums.h"
19 20
20 #ifdef __cplusplus 21 #ifdef __cplusplus
21 extern "C" { 22 extern "C" {
22 #endif 23 #endif
23 24
24 // Constants and Macros used by all idct/dct functions 25 // Constants and Macros used by all idct/dct functions
25 #define DCT_CONST_BITS 14 26 #define DCT_CONST_BITS 14
26 #define DCT_CONST_ROUNDING (1 << (DCT_CONST_BITS - 1)) 27 #define DCT_CONST_ROUNDING (1 << (DCT_CONST_BITS - 1))
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 int bd) { 203 int bd) {
203 trans = WRAPLOW(trans, bd); 204 trans = WRAPLOW(trans, bd);
204 return clip_pixel_highbd(WRAPLOW(dest + trans, bd), bd); 205 return clip_pixel_highbd(WRAPLOW(dest + trans, bd), bd);
205 } 206 }
206 #endif // CONFIG_VP9_HIGHBITDEPTH 207 #endif // CONFIG_VP9_HIGHBITDEPTH
207 #ifdef __cplusplus 208 #ifdef __cplusplus
208 } // extern "C" 209 } // extern "C"
209 #endif 210 #endif
210 211
211 #endif // VP9_COMMON_VP9_IDCT_H_ 212 #endif // VP9_COMMON_VP9_IDCT_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_enums.h ('k') | source/libvpx/vp9/common/vp9_idct.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698