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

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

Issue 2855473006: Delete dead code VP8EncoderImpl::UpdateCodecFrameSize. (Closed)
Patch Set: Remove from header too. 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/vp8_impl.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 /* 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Set the cpu_speed setting for encoder based on resolution and/or platform. 69 // Set the cpu_speed setting for encoder based on resolution and/or platform.
70 int SetCpuSpeed(int width, int height); 70 int SetCpuSpeed(int width, int height);
71 71
72 // Determine number of encoder threads to use. 72 // Determine number of encoder threads to use.
73 int NumberOfThreads(int width, int height, int number_of_cores); 73 int NumberOfThreads(int width, int height, int number_of_cores);
74 74
75 // Call encoder initialize function and set control settings. 75 // Call encoder initialize function and set control settings.
76 int InitAndSetControlSettings(); 76 int InitAndSetControlSettings();
77 77
78 // Update frame size for codec.
79 int UpdateCodecFrameSize(int width, int height);
80
81 void PopulateCodecSpecific(CodecSpecificInfo* codec_specific, 78 void PopulateCodecSpecific(CodecSpecificInfo* codec_specific,
82 const vpx_codec_cx_pkt& pkt, 79 const vpx_codec_cx_pkt& pkt,
83 int stream_idx, 80 int stream_idx,
84 uint32_t timestamp); 81 uint32_t timestamp);
85 82
86 int GetEncodedPartitions(const VideoFrame& input_image); 83 int GetEncodedPartitions(const VideoFrame& input_image);
87 84
88 // Set the stream state for stream |stream_idx|. 85 // Set the stream state for stream |stream_idx|.
89 void SetStreamState(bool send_stream, int stream_idx); 86 void SetStreamState(bool send_stream, int stream_idx);
90 87
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 bool inited_; 142 bool inited_;
146 vpx_codec_ctx_t* decoder_; 143 vpx_codec_ctx_t* decoder_;
147 int propagation_cnt_; 144 int propagation_cnt_;
148 int last_frame_width_; 145 int last_frame_width_;
149 int last_frame_height_; 146 int last_frame_height_;
150 bool key_frame_required_; 147 bool key_frame_required_;
151 }; 148 };
152 } // namespace webrtc 149 } // namespace webrtc
153 150
154 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ 151 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698