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

Side by Side Diff: source/libvpx/vp9/encoder/x86/vp9_dct32x32_sse2_impl.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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 #include <emmintrin.h> // SSE2 11 #include <emmintrin.h> // SSE2
12
13 #include "./vp9_rtcd.h"
12 #include "vp9/common/vp9_idct.h" // for cospi constants 14 #include "vp9/common/vp9_idct.h" // for cospi constants
13 #include "vp9/encoder/x86/vp9_dct_sse2.h" 15 #include "vp9/encoder/x86/vp9_dct_sse2.h"
14 #include "vp9/encoder/vp9_dct.h" 16 #include "vp9/encoder/vp9_dct.h"
15 #include "vpx_ports/mem.h" 17 #include "vpx_ports/mem.h"
16 18
17 #if DCT_HIGH_BIT_DEPTH 19 #if DCT_HIGH_BIT_DEPTH
18 #define ADD_EPI16 _mm_adds_epi16 20 #define ADD_EPI16 _mm_adds_epi16
19 #define SUB_EPI16 _mm_subs_epi16 21 #define SUB_EPI16 _mm_subs_epi16
20 #if FDCT32x32_HIGH_PRECISION 22 #if FDCT32x32_HIGH_PRECISION
21 void vp9_fdct32x32_rows_c(const int16_t *intermediate, tran_low_t *out) { 23 void vp9_fdct32x32_rows_c(const int16_t *intermediate, tran_low_t *out) {
(...skipping 3118 matching lines...) Expand 10 before | Expand all | Expand 10 after
3140 } 3142 }
3141 } 3143 }
3142 } 3144 }
3143 } 3145 }
3144 } // NOLINT 3146 } // NOLINT
3145 3147
3146 #undef ADD_EPI16 3148 #undef ADD_EPI16
3147 #undef SUB_EPI16 3149 #undef SUB_EPI16
3148 #undef HIGH_FDCT32x32_2D_C 3150 #undef HIGH_FDCT32x32_2D_C
3149 #undef HIGH_FDCT32x32_2D_ROWS_C 3151 #undef HIGH_FDCT32x32_2D_ROWS_C
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/x86/vp9_dct32x32_sse2.c ('k') | source/libvpx/vp9/encoder/x86/vp9_dct_avx2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698