Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 236 } | 236 } |
| 237 | 237 |
| 238 const kTestParams kTestCases[] = { | 238 const kTestParams kTestCases[] = { |
| 239 // TODO: consider not enumerating every combination by hand. | 239 // TODO: consider not enumerating every combination by hand. |
| 240 {kCodecVP8, 1 /* num_video_tracks */, 0 /*num_audio_tracks*/}, | 240 {kCodecVP8, 1 /* num_video_tracks */, 0 /*num_audio_tracks*/}, |
| 241 {kCodecVP8, 0, 1}, | 241 {kCodecVP8, 0, 1}, |
| 242 {kCodecVP8, 1, 1}, | 242 {kCodecVP8, 1, 1}, |
| 243 {kCodecVP9, 1, 0}, | 243 {kCodecVP9, 1, 0}, |
| 244 {kCodecVP9, 0, 1}, | 244 {kCodecVP9, 0, 1}, |
| 245 {kCodecVP9, 1, 1}, | 245 {kCodecVP9, 1, 1}, |
| 246 {kCodecH264, 1, 0}, | |
| 247 {kCodecH264, 0, 1}, | |
| 248 {kCodecH264, 1, 1}, | |
|
emircan
2016/04/25 19:26:16
Good time to adress TODO:
const VideoCodec kCodecs
mcasas
2016/04/26 18:13:38
I tried for a while but it turned out to be
involv
| |
| 246 }; | 249 }; |
| 247 | 250 |
| 248 INSTANTIATE_TEST_CASE_P(, WebmMuxerTest, ValuesIn(kTestCases)); | 251 INSTANTIATE_TEST_CASE_P(, WebmMuxerTest, ValuesIn(kTestCases)); |
| 249 | 252 |
| 250 } // namespace media | 253 } // namespace media |
| OLD | NEW |