| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 size_t EncodedImage::GetBufferPaddingBytes(VideoCodecType codec_type) { | 71 size_t EncodedImage::GetBufferPaddingBytes(VideoCodecType codec_type) { |
| 72 switch (codec_type) { | 72 switch (codec_type) { |
| 73 case kVideoCodecVP8: | 73 case kVideoCodecVP8: |
| 74 case kVideoCodecVP9: | 74 case kVideoCodecVP9: |
| 75 return 0; | 75 return 0; |
| 76 case kVideoCodecH264: | 76 case kVideoCodecH264: |
| 77 return kBufferPaddingBytesH264; | 77 return kBufferPaddingBytesH264; |
| 78 case kVideoCodecI420: | 78 case kVideoCodecI420: |
| 79 case kVideoCodecRED: | 79 case kVideoCodecRED: |
| 80 case kVideoCodecULPFEC: | 80 case kVideoCodecULPFEC: |
| 81 case kVideoCodecFlexfec: |
| 81 case kVideoCodecGeneric: | 82 case kVideoCodecGeneric: |
| 82 case kVideoCodecUnknown: | 83 case kVideoCodecUnknown: |
| 83 return 0; | 84 return 0; |
| 84 } | 85 } |
| 85 RTC_NOTREACHED(); | 86 RTC_NOTREACHED(); |
| 86 return 0; | 87 return 0; |
| 87 } | 88 } |
| 88 | 89 |
| 89 } // namespace webrtc | 90 } // namespace webrtc |
| OLD | NEW |