OLD | NEW |
1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
2 * | 2 * |
3 * Use of this source code is governed by a BSD-style license | 3 * Use of this source code is governed by a BSD-style license |
4 * that can be found in the LICENSE file in the root of the source | 4 * that can be found in the LICENSE file in the root of the source |
5 * tree. An additional intellectual property rights grant can be found | 5 * tree. An additional intellectual property rights grant can be found |
6 * in the file PATENTS. All contributing project authors may | 6 * in the file PATENTS. All contributing project authors may |
7 * be found in the AUTHORS file in the root of the source tree. | 7 * be found in the AUTHORS file in the root of the source tree. |
8 */ | 8 */ |
9 | 9 |
10 #include "webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h" | 10 #include "webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h" |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 } | 276 } |
277 if (vp8_info->temporalIdx == 0 && timestamp != timestamp_) { | 277 if (vp8_info->temporalIdx == 0 && timestamp != timestamp_) { |
278 timestamp_ = timestamp; | 278 timestamp_ = timestamp; |
279 tl0_pic_idx_++; | 279 tl0_pic_idx_++; |
280 } | 280 } |
281 last_base_layer_sync_ = base_layer_sync; | 281 last_base_layer_sync_ = base_layer_sync; |
282 vp8_info->tl0PicIdx = tl0_pic_idx_; | 282 vp8_info->tl0PicIdx = tl0_pic_idx_; |
283 } | 283 } |
284 } | 284 } |
285 | 285 |
286 TemporalLayers* TemporalLayers::Factory::Create( | 286 TemporalLayers* TemporalLayersFactory::Create( |
287 int temporal_layers, | 287 int temporal_layers, |
288 uint8_t initial_tl0_pic_idx) const { | 288 uint8_t initial_tl0_pic_idx) const { |
289 return new DefaultTemporalLayers(temporal_layers, initial_tl0_pic_idx); | 289 return new DefaultTemporalLayers(temporal_layers, initial_tl0_pic_idx); |
290 } | 290 } |
291 } // namespace webrtc | 291 } // namespace webrtc |
OLD | NEW |