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

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

Issue 668403002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 1 month 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/fdct8x8_test.cc ('k') | source/libvpx/test/i420_video_source.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) 2014 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 #include "third_party/googletest/src/include/gtest/gtest.h" 10 #include "third_party/googletest/src/include/gtest/gtest.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #if defined(_WIN32) && !defined(_WIN64) 77 #if defined(_WIN32) && !defined(_WIN64)
78 video.SetSize(4096, 3072); 78 video.SetSize(4096, 3072);
79 #else 79 #else
80 video.SetSize(4096, 4096); 80 video.SetSize(4096, 4096);
81 #endif 81 #endif
82 video.set_limit(2); 82 video.set_limit(2);
83 expected_res_ = VPX_CODEC_OK; 83 expected_res_ = VPX_CODEC_OK;
84 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); 84 ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
85 #endif 85 #endif
86 } 86 }
87
88 TEST_F(VP9FrameSizeTestsLarge, OneByOneVideo) {
89 ::libvpx_test::RandomVideoSource video;
90
91 video.SetSize(1, 1);
92 video.set_limit(2);
93 expected_res_ = VPX_CODEC_OK;
94 ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
95 }
87 } // namespace 96 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/fdct8x8_test.cc ('k') | source/libvpx/test/i420_video_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698