| 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" |
| 11 | 11 |
| 12 #include <assert.h> | 12 #include <assert.h> |
| 13 #include <stdlib.h> | 13 #include <stdlib.h> |
| 14 #include <string.h> | 14 #include <string.h> |
| 15 | 15 |
| 16 #include "webrtc/modules/interface/module_common_types.h" | 16 #include "webrtc/modules/include/module_common_types.h" |
| 17 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" | 17 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" |
| 18 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" | 18 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" |
| 19 | 19 |
| 20 #include "vpx/vpx_encoder.h" | 20 #include "vpx/vpx_encoder.h" |
| 21 #include "vpx/vp8cx.h" | 21 #include "vpx/vp8cx.h" |
| 22 | 22 |
| 23 namespace webrtc { | 23 namespace webrtc { |
| 24 | 24 |
| 25 DefaultTemporalLayers::DefaultTemporalLayers(int numberOfTemporalLayers, | 25 DefaultTemporalLayers::DefaultTemporalLayers(int numberOfTemporalLayers, |
| 26 uint8_t initial_tl0_pic_idx) | 26 uint8_t initial_tl0_pic_idx) |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 vp8_info->tl0PicIdx = tl0_pic_idx_; | 286 vp8_info->tl0PicIdx = tl0_pic_idx_; |
| 287 } | 287 } |
| 288 } | 288 } |
| 289 | 289 |
| 290 TemporalLayers* TemporalLayers::Factory::Create( | 290 TemporalLayers* TemporalLayers::Factory::Create( |
| 291 int temporal_layers, | 291 int temporal_layers, |
| 292 uint8_t initial_tl0_pic_idx) const { | 292 uint8_t initial_tl0_pic_idx) const { |
| 293 return new DefaultTemporalLayers(temporal_layers, initial_tl0_pic_idx); | 293 return new DefaultTemporalLayers(temporal_layers, initial_tl0_pic_idx); |
| 294 } | 294 } |
| 295 } // namespace webrtc | 295 } // namespace webrtc |
| OLD | NEW |