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

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

Issue 2656603002: Add QP for libvpx VP8 decoder. (Closed)
Patch Set: Rebase. Created 3 years, 10 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 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 * WEBRTC VP8 wrapper interface 10 * WEBRTC VP8 wrapper interface
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // Copy reference image from this _decoder to the _decoder in copyTo. Set 142 // Copy reference image from this _decoder to the _decoder in copyTo. Set
143 // which frame type to copy in _refFrame->frame_type before the call to 143 // which frame type to copy in _refFrame->frame_type before the call to
144 // this function. 144 // this function.
145 int CopyReference(VP8DecoderImpl* copy); 145 int CopyReference(VP8DecoderImpl* copy);
146 146
147 int DecodePartitions(const EncodedImage& input_image, 147 int DecodePartitions(const EncodedImage& input_image,
148 const RTPFragmentationHeader* fragmentation); 148 const RTPFragmentationHeader* fragmentation);
149 149
150 int ReturnFrame(const vpx_image_t* img, 150 int ReturnFrame(const vpx_image_t* img,
151 uint32_t timeStamp, 151 uint32_t timeStamp,
152 int64_t ntp_time_ms); 152 int64_t ntp_time_ms,
153 int qp);
153 154
154 I420BufferPool buffer_pool_; 155 I420BufferPool buffer_pool_;
155 DecodedImageCallback* decode_complete_callback_; 156 DecodedImageCallback* decode_complete_callback_;
156 bool inited_; 157 bool inited_;
157 bool feedback_mode_; 158 bool feedback_mode_;
158 vpx_codec_ctx_t* decoder_; 159 vpx_codec_ctx_t* decoder_;
159 VideoCodec codec_; 160 VideoCodec codec_;
160 int image_format_; 161 int image_format_;
161 vpx_ref_frame_t* ref_frame_; 162 vpx_ref_frame_t* ref_frame_;
162 int propagation_cnt_; 163 int propagation_cnt_;
163 int last_frame_width_; 164 int last_frame_width_;
164 int last_frame_height_; 165 int last_frame_height_;
165 bool key_frame_required_; 166 bool key_frame_required_;
166 }; // end of VP8DecoderImpl class 167 }; // end of VP8DecoderImpl class
167 } // namespace webrtc 168 } // namespace webrtc
168 169
169 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ 170 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc ('k') | webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698