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

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

Issue 554673004: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « source/libvpx/test/datarate_test.cc ('k') | source/libvpx/test/dct32x32_test.cc » ('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) 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
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 typedef void (*FdctFunc)(const int16_t *in, int16_t *out, int stride); 261 typedef void (*FdctFunc)(const int16_t *in, int16_t *out, int stride);
262 typedef void (*IdctFunc)(const int16_t *in, uint8_t *out, int stride); 262 typedef void (*IdctFunc)(const int16_t *in, uint8_t *out, int stride);
263 typedef void (*FhtFunc)(const int16_t *in, int16_t *out, int stride, 263 typedef void (*FhtFunc)(const int16_t *in, int16_t *out, int stride,
264 int tx_type); 264 int tx_type);
265 typedef void (*IhtFunc)(const int16_t *in, uint8_t *out, int stride, 265 typedef void (*IhtFunc)(const int16_t *in, uint8_t *out, int stride,
266 int tx_type); 266 int tx_type);
267 267
268 typedef std::tr1::tuple<FdctFunc, IdctFunc, int> Dct16x16Param; 268 typedef std::tr1::tuple<FdctFunc, IdctFunc, int> Dct16x16Param;
269 typedef std::tr1::tuple<FhtFunc, IhtFunc, int> Ht16x16Param; 269 typedef std::tr1::tuple<FhtFunc, IhtFunc, int> Ht16x16Param;
270 270
271 void fdct16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { 271 void fdct16x16_ref(const int16_t *in, int16_t *out, int stride,
272 int /*tx_type*/) {
272 vp9_fdct16x16_c(in, out, stride); 273 vp9_fdct16x16_c(in, out, stride);
273 } 274 }
274 275
275 void idct16x16_ref(const int16_t *in, uint8_t *dest, int stride, int tx_type) { 276 void idct16x16_ref(const int16_t *in, uint8_t *dest, int stride,
277 int /*tx_type*/) {
276 vp9_idct16x16_256_add_c(in, dest, stride); 278 vp9_idct16x16_256_add_c(in, dest, stride);
277 } 279 }
278 280
279 void fht16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { 281 void fht16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) {
280 vp9_fht16x16_c(in, out, stride, tx_type); 282 vp9_fht16x16_c(in, out, stride, tx_type);
281 } 283 }
282 284
283 void iht16x16_ref(const int16_t *in, uint8_t *dest, int stride, int tx_type) { 285 void iht16x16_ref(const int16_t *in, uint8_t *dest, int stride, int tx_type) {
284 vp9_iht16x16_256_add_c(in, dest, stride, tx_type); 286 vp9_iht16x16_256_add_c(in, dest, stride, tx_type);
285 } 287 }
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 make_tuple(&vp9_fht16x16_sse2, &vp9_iht16x16_256_add_sse2, 3))); 602 make_tuple(&vp9_fht16x16_sse2, &vp9_iht16x16_256_add_sse2, 3)));
601 #endif 603 #endif
602 604
603 #if HAVE_SSSE3 605 #if HAVE_SSSE3
604 INSTANTIATE_TEST_CASE_P( 606 INSTANTIATE_TEST_CASE_P(
605 SSSE3, Trans16x16DCT, 607 SSSE3, Trans16x16DCT,
606 ::testing::Values( 608 ::testing::Values(
607 make_tuple(&vp9_fdct16x16_c, &vp9_idct16x16_256_add_ssse3, 0))); 609 make_tuple(&vp9_fdct16x16_c, &vp9_idct16x16_256_add_ssse3, 0)));
608 #endif 610 #endif
609 } // namespace 611 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/datarate_test.cc ('k') | source/libvpx/test/dct32x32_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698