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

Side by Side Diff: source/libvpx/test/subtract_test.cc

Issue 11555023: libvpx: Add VP9 decoder. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 8 years 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 | Annotate | Revision Log
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 "third_party/googletest/src/include/gtest/gtest.h" 11 #include "third_party/googletest/src/include/gtest/gtest.h"
12 #include "test/acm_random.h" 12 #include "test/acm_random.h"
13 extern "C" { 13 extern "C" {
14 #include "vpx_config.h" 14 #include "vpx_config.h"
15 #include "vpx_rtcd.h" 15 #include "vp8_rtcd.h"
16 #include "vp8/common/blockd.h" 16 #include "vp8/common/blockd.h"
17 #include "vp8/encoder/block.h" 17 #include "vp8/encoder/block.h"
18 #include "vpx_mem/vpx_mem.h" 18 #include "vpx_mem/vpx_mem.h"
19 } 19 }
20 20
21 typedef void (*subtract_b_fn_t)(BLOCK *be, BLOCKD *bd, int pitch); 21 typedef void (*subtract_b_fn_t)(BLOCK *be, BLOCKD *bd, int pitch);
22 22
23 namespace { 23 namespace {
24 24
25 class SubtractBlockTest : public ::testing::TestWithParam<subtract_b_fn_t> {}; 25 class SubtractBlockTest : public ::testing::TestWithParam<subtract_b_fn_t> {};
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 INSTANTIATE_TEST_CASE_P(MMX, SubtractBlockTest, 104 INSTANTIATE_TEST_CASE_P(MMX, SubtractBlockTest,
105 ::testing::Values(vp8_subtract_b_mmx)); 105 ::testing::Values(vp8_subtract_b_mmx));
106 #endif 106 #endif
107 107
108 #if HAVE_SSE2 108 #if HAVE_SSE2
109 INSTANTIATE_TEST_CASE_P(SSE2, SubtractBlockTest, 109 INSTANTIATE_TEST_CASE_P(SSE2, SubtractBlockTest,
110 ::testing::Values(vp8_subtract_b_sse2)); 110 ::testing::Values(vp8_subtract_b_sse2));
111 #endif 111 #endif
112 112
113 } // namespace 113 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698