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

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

Issue 2860063002: Remove layer_sync from TL frame config. (Closed)
Patch Set: remove enum Created 3 years, 7 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
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * This file defines classes for doing temporal layers with VP8. 10 * This file defines classes for doing temporal layers with VP8.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void FrameEncoded(unsigned int size, int qp) override {} 46 void FrameEncoded(unsigned int size, int qp) override {}
47 47
48 int GetTemporalLayerId( 48 int GetTemporalLayerId(
49 const TemporalLayers::FrameConfig& references) const override; 49 const TemporalLayers::FrameConfig& references) const override;
50 50
51 uint8_t Tl0PicIdx() const override; 51 uint8_t Tl0PicIdx() const override;
52 52
53 private: 53 private:
54 const size_t num_layers_; 54 const size_t num_layers_;
55 const std::vector<unsigned int> temporal_ids_; 55 const std::vector<unsigned int> temporal_ids_;
56 const std::vector<bool> temporal_layer_sync_;
56 const std::vector<TemporalLayers::FrameConfig> temporal_pattern_; 57 const std::vector<TemporalLayers::FrameConfig> temporal_pattern_;
57 58
58 uint8_t tl0_pic_idx_; 59 uint8_t tl0_pic_idx_;
59 uint8_t pattern_idx_; 60 uint8_t pattern_idx_;
60 uint32_t timestamp_; 61 uint32_t timestamp_;
61 bool last_base_layer_sync_; 62 bool last_base_layer_sync_;
62 rtc::Optional<std::vector<uint32_t>> new_bitrates_kbps_; 63 rtc::Optional<std::vector<uint32_t>> new_bitrates_kbps_;
63 }; 64 };
64 65
65 } // namespace webrtc 66 } // namespace webrtc
66 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_DEFAULT_TEMPORAL_LAYERS_H_ 67 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_DEFAULT_TEMPORAL_LAYERS_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698