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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc

Issue 1606613003: Remove extra_options from VideoCodec. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: compile Created 4 years, 11 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 /* 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
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
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codec_database.cc ('k') | webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698