OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 default: | 396 default: |
397 assert(false); | 397 assert(false); |
398 return "Unknown"; | 398 return "Unknown"; |
399 } | 399 } |
400 } | 400 } |
401 | 401 |
402 const char* VideoCodecTypeToStr(webrtc::VideoCodecType e) { | 402 const char* VideoCodecTypeToStr(webrtc::VideoCodecType e) { |
403 switch (e) { | 403 switch (e) { |
404 case kVideoCodecVP8: | 404 case kVideoCodecVP8: |
405 return "VP8"; | 405 return "VP8"; |
406 case kVideoCodecI420: | |
407 return "I420"; | |
408 case kVideoCodecRED: | 406 case kVideoCodecRED: |
409 return "RED"; | 407 return "RED"; |
410 case kVideoCodecULPFEC: | 408 case kVideoCodecULPFEC: |
411 return "ULPFEC"; | 409 return "ULPFEC"; |
412 case kVideoCodecUnknown: | 410 case kVideoCodecUnknown: |
413 return "Unknown"; | 411 return "Unknown"; |
414 default: | 412 default: |
415 assert(false); | 413 assert(false); |
416 return "Unknown"; | 414 return "Unknown"; |
417 } | 415 } |
(...skipping 13 matching lines...) Expand all Loading... |
431 } | 429 } |
432 int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( | 430 int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( |
433 VideoFrame& image) { | 431 VideoFrame& image) { |
434 // Forward to parent class. | 432 // Forward to parent class. |
435 video_processor_->FrameDecoded(image); | 433 video_processor_->FrameDecoded(image); |
436 return 0; | 434 return 0; |
437 } | 435 } |
438 | 436 |
439 } // namespace test | 437 } // namespace test |
440 } // namespace webrtc | 438 } // namespace webrtc |
OLD | NEW |