| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |