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

Side by Side Diff: webrtc/modules/video_coding/codecs/test/videoprocessor.cc

Issue 1882733006: Delete I420 encoder and decoder. Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete i420 directory from PRESUBMIT.py. Created 4 years, 8 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/i420/include/i420.h ('k') | webrtc/modules/video_coding/test/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698