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

Side by Side Diff: source/libvpx/vp9/encoder/vp9_dct.c

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/vp9/encoder/vp9_blockiness.c ('k') | source/libvpx/vp9/encoder/vp9_denoiser.h » ('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 #include <assert.h> 11 #include <assert.h>
12 #include <math.h> 12 #include <math.h>
13 13
14 #include "./vp9_rtcd.h" 14 #include "./vp9_rtcd.h"
15 #include "./vpx_config.h" 15 #include "./vpx_config.h"
16 #include "./vpx_dsp_rtcd.h" 16 #include "./vpx_dsp_rtcd.h"
17 17
18 #include "vp9/common/vp9_blockd.h" 18 #include "vp9/common/vp9_blockd.h"
19 #include "vp9/common/vp9_idct.h" 19 #include "vp9/common/vp9_idct.h"
20 #include "vp9/common/vp9_systemdependent.h"
21 #include "vpx_dsp/fwd_txfm.h" 20 #include "vpx_dsp/fwd_txfm.h"
22 #include "vpx_ports/mem.h" 21 #include "vpx_ports/mem.h"
23 22
24 static void fdct4(const tran_low_t *input, tran_low_t *output) { 23 static void fdct4(const tran_low_t *input, tran_low_t *output) {
25 tran_high_t step[4]; 24 tran_high_t step[4];
26 tran_high_t temp1, temp2; 25 tran_high_t temp1, temp2;
27 26
28 step[0] = input[0] + input[3]; 27 step[0] = input[0] + input[3];
29 step[1] = input[1] + input[2]; 28 step[1] = input[1] + input[2];
30 step[2] = input[1] - input[2]; 29 step[2] = input[1] - input[2];
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 void vp9_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, 801 void vp9_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output,
803 int stride) { 802 int stride) {
804 vp9_fwht4x4_c(input, output, stride); 803 vp9_fwht4x4_c(input, output, stride);
805 } 804 }
806 805
807 void vp9_highbd_fht16x16_c(const int16_t *input, tran_low_t *output, 806 void vp9_highbd_fht16x16_c(const int16_t *input, tran_low_t *output,
808 int stride, int tx_type) { 807 int stride, int tx_type) {
809 vp9_fht16x16_c(input, output, stride, tx_type); 808 vp9_fht16x16_c(input, output, stride, tx_type);
810 } 809 }
811 #endif // CONFIG_VP9_HIGHBITDEPTH 810 #endif // CONFIG_VP9_HIGHBITDEPTH
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_blockiness.c ('k') | source/libvpx/vp9/encoder/vp9_denoiser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698