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

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

Issue 996503002: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 9 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/test/tools_common.sh ('k') | source/libvpx/test/vp9_ethread_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) 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 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 struct EncodePerfTestVideo { 50 struct EncodePerfTestVideo {
51 const char *name; 51 const char *name;
52 uint32_t width; 52 uint32_t width;
53 uint32_t height; 53 uint32_t height;
54 uint32_t bitrate; 54 uint32_t bitrate;
55 int frames; 55 int frames;
56 }; 56 };
57 57
58 const EncodePerfTestVideo kVP9EncodePerfTestVectors[] = { 58 const EncodePerfTestVideo kVP9EncodePerfTestVectors[] = {
59 {"niklas_1280_720_30.yuv", 1280, 720, 600, 10}, 59 {"niklas_1280_720_30.y4m", 1280, 720, 600, 10},
60 }; 60 };
61 61
62 struct EncodeParameters { 62 struct EncodeParameters {
63 int32_t tile_rows; 63 int32_t tile_rows;
64 int32_t tile_cols; 64 int32_t tile_cols;
65 int32_t lossless; 65 int32_t lossless;
66 int32_t error_resilient; 66 int32_t error_resilient;
67 int32_t frame_parallel; 67 int32_t frame_parallel;
68 vpx_color_space_t cs; 68 vpx_color_space_t cs;
69 // TODO(JBB): quantizers / bitrate 69 // TODO(JBB): quantizers / bitrate
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 ASSERT_NO_FATAL_FAILURE(RunLoop(video)); 184 ASSERT_NO_FATAL_FAILURE(RunLoop(video));
185 delete(video); 185 delete(video);
186 } 186 }
187 187
188 VP9_INSTANTIATE_TEST_CASE( 188 VP9_INSTANTIATE_TEST_CASE(
189 Vp9EncoderParmsGetToDecoder, 189 Vp9EncoderParmsGetToDecoder,
190 ::testing::ValuesIn(kVP9EncodeParameterSet), 190 ::testing::ValuesIn(kVP9EncodeParameterSet),
191 ::testing::ValuesIn(kVP9EncodePerfTestVectors)); 191 ::testing::ValuesIn(kVP9EncodePerfTestVectors));
192 192
193 } // namespace 193 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/tools_common.sh ('k') | source/libvpx/test/vp9_ethread_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698