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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 startBitrate(0), | 52 startBitrate(0), |
53 maxBitrate(0), | 53 maxBitrate(0), |
54 minBitrate(0), | 54 minBitrate(0), |
55 targetBitrate(0), | 55 targetBitrate(0), |
56 maxFramerate(0), | 56 maxFramerate(0), |
57 qpMax(0), | 57 qpMax(0), |
58 numberOfSimulcastStreams(0), | 58 numberOfSimulcastStreams(0), |
59 simulcastStream(), | 59 simulcastStream(), |
60 spatialLayers(), | 60 spatialLayers(), |
61 mode(kRealtimeVideo), | 61 mode(kRealtimeVideo), |
62 codecSpecific() {} | 62 codec_specific_() {} |
63 | 63 |
64 VideoCodecVP8* VideoCodec::VP8() { | 64 VideoCodecVP8* VideoCodec::VP8() { |
65 RTC_DCHECK_EQ(codecType, kVideoCodecVP8); | 65 RTC_DCHECK_EQ(codecType, kVideoCodecVP8); |
66 return &codecSpecific.VP8; | 66 return &codec_specific_.VP8; |
67 } | 67 } |
68 | 68 |
69 const VideoCodecVP8& VideoCodec::VP8() const { | 69 const VideoCodecVP8& VideoCodec::VP8() const { |
70 RTC_DCHECK_EQ(codecType, kVideoCodecVP8); | 70 RTC_DCHECK_EQ(codecType, kVideoCodecVP8); |
71 return codecSpecific.VP8; | 71 return codec_specific_.VP8; |
72 } | 72 } |
73 | 73 |
74 VideoCodecVP9* VideoCodec::VP9() { | 74 VideoCodecVP9* VideoCodec::VP9() { |
75 RTC_DCHECK_EQ(codecType, kVideoCodecVP9); | 75 RTC_DCHECK_EQ(codecType, kVideoCodecVP9); |
76 return &codecSpecific.VP9; | 76 return &codec_specific_.VP9; |
77 } | 77 } |
78 | 78 |
79 const VideoCodecVP9& VideoCodec::VP9() const { | 79 const VideoCodecVP9& VideoCodec::VP9() const { |
80 RTC_DCHECK_EQ(codecType, kVideoCodecVP9); | 80 RTC_DCHECK_EQ(codecType, kVideoCodecVP9); |
81 return codecSpecific.VP9; | 81 return codec_specific_.VP9; |
82 } | 82 } |
83 | 83 |
84 VideoCodecH264* VideoCodec::H264() { | 84 VideoCodecH264* VideoCodec::H264() { |
85 RTC_DCHECK_EQ(codecType, kVideoCodecH264); | 85 RTC_DCHECK_EQ(codecType, kVideoCodecH264); |
86 return &codecSpecific.H264; | 86 return &codec_specific_.H264; |
87 } | 87 } |
88 | 88 |
89 const VideoCodecH264& VideoCodec::H264() const { | 89 const VideoCodecH264& VideoCodec::H264() const { |
90 RTC_DCHECK_EQ(codecType, kVideoCodecH264); | 90 RTC_DCHECK_EQ(codecType, kVideoCodecH264); |
91 return codecSpecific.H264; | 91 return codec_specific_.H264; |
92 } | 92 } |
93 | 93 |
94 } // namespace webrtc | 94 } // namespace webrtc |
OLD | NEW |