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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp9/vp9_impl.h

Issue 2398963003: Move usage of QualityScaler to ViEEncoder. (Closed)
Patch Set: rebase Created 4 years 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 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 const CodecSpecificInfo* codec_specific_info, 42 const CodecSpecificInfo* codec_specific_info,
43 const std::vector<FrameType>* frame_types) override; 43 const std::vector<FrameType>* frame_types) override;
44 44
45 int RegisterEncodeCompleteCallback(EncodedImageCallback* callback) override; 45 int RegisterEncodeCompleteCallback(EncodedImageCallback* callback) override;
46 46
47 int SetChannelParameters(uint32_t packet_loss, int64_t rtt) override; 47 int SetChannelParameters(uint32_t packet_loss, int64_t rtt) override;
48 48
49 int SetRateAllocation(const BitrateAllocation& bitrate_allocation, 49 int SetRateAllocation(const BitrateAllocation& bitrate_allocation,
50 uint32_t frame_rate) override; 50 uint32_t frame_rate) override;
51 51
52 void OnDroppedFrame() override {}
53
54 const char* ImplementationName() const override; 52 const char* ImplementationName() const override;
55 53
56 struct LayerFrameRefSettings { 54 struct LayerFrameRefSettings {
57 int8_t upd_buf = -1; // -1 - no update, 0..7 - update buffer 0..7 55 int8_t upd_buf = -1; // -1 - no update, 0..7 - update buffer 0..7
58 int8_t ref_buf1 = -1; // -1 - no reference, 0..7 - reference buffer 0..7 56 int8_t ref_buf1 = -1; // -1 - no reference, 0..7 - reference buffer 0..7
59 int8_t ref_buf2 = -1; // -1 - no reference, 0..7 - reference buffer 0..7 57 int8_t ref_buf2 = -1; // -1 - no reference, 0..7 - reference buffer 0..7
60 int8_t ref_buf3 = -1; // -1 - no reference, 0..7 - reference buffer 0..7 58 int8_t ref_buf3 = -1; // -1 - no reference, 0..7 - reference buffer 0..7
61 }; 59 };
62 60
63 struct SuperFrameRefSettings { 61 struct SuperFrameRefSettings {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 Vp9FrameBufferPool frame_buffer_pool_; 160 Vp9FrameBufferPool frame_buffer_pool_;
163 DecodedImageCallback* decode_complete_callback_; 161 DecodedImageCallback* decode_complete_callback_;
164 bool inited_; 162 bool inited_;
165 vpx_codec_ctx_t* decoder_; 163 vpx_codec_ctx_t* decoder_;
166 VideoCodec codec_; 164 VideoCodec codec_;
167 bool key_frame_required_; 165 bool key_frame_required_;
168 }; 166 };
169 } // namespace webrtc 167 } // namespace webrtc
170 168
171 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_IMPL_H_ 169 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc ('k') | webrtc/modules/video_coding/generic_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698