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

Unified Diff: webrtc/modules/video_coding/codecs/vp8/vp8_impl.h

Issue 2751133002: Remove dead code in vp8_impl files. (Closed)
Patch Set: rebase Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/codecs/vp8/vp8_impl.h
diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h
index 6572b564c2c682cc54736f7b11ef7dad30eede53..7d7e9d6adfadabc834e0439465564a0f95d9b3c3 100644
--- a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h
+++ b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h
@@ -93,21 +93,18 @@ class VP8EncoderImpl : public VP8Encoder {
uint32_t MaxIntraTarget(uint32_t optimal_buffer_size);
+ const bool use_gf_boost_;
+
EncodedImageCallback* encoded_complete_callback_;
VideoCodec codec_;
bool inited_;
int64_t timestamp_;
- bool feedback_mode_;
int qp_max_;
int cpu_speed_default_;
int number_of_cores_;
uint32_t rc_max_intra_target_;
- int token_partitions_;
ReferencePictureSelection rps_;
std::vector<TemporalLayers*> temporal_layers_;
- bool down_scale_requested_;
- uint32_t down_scale_bitrate_;
- const bool use_gf_boost_;
std::vector<uint16_t> picture_id_;
std::vector<int> last_key_frame_picture_id_;
std::vector<bool> key_frame_request_;
@@ -118,7 +115,7 @@ class VP8EncoderImpl : public VP8Encoder {
std::vector<vpx_codec_ctx_t> encoders_;
std::vector<vpx_codec_enc_cfg_t> configurations_;
std::vector<vpx_rational_t> downsampling_factors_;
-}; // end of VP8EncoderImpl class
+};
class VP8DecoderImpl : public VP8Decoder {
public:
@@ -140,33 +137,22 @@ class VP8DecoderImpl : public VP8Decoder {
const char* ImplementationName() const override;
private:
- // Copy reference image from this _decoder to the _decoder in copyTo. Set
- // which frame type to copy in _refFrame->frame_type before the call to
- // this function.
- int CopyReference(VP8DecoderImpl* copy);
-
- int DecodePartitions(const EncodedImage& input_image,
- const RTPFragmentationHeader* fragmentation);
-
int ReturnFrame(const vpx_image_t* img,
uint32_t timeStamp,
int64_t ntp_time_ms,
int qp);
+ const bool use_postproc_arm_;
+
I420BufferPool buffer_pool_;
DecodedImageCallback* decode_complete_callback_;
bool inited_;
- bool feedback_mode_;
vpx_codec_ctx_t* decoder_;
- VideoCodec codec_;
- int image_format_;
- vpx_ref_frame_t* ref_frame_;
int propagation_cnt_;
int last_frame_width_;
int last_frame_height_;
bool key_frame_required_;
- const bool use_postproc_arm_;
-}; // end of VP8DecoderImpl class
+};
} // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698