Remove ViEEncoder::ScaleInputImage.
BUG=webrtc:1695 R=asapersson@webrtc.org Review URL: https://codereview.webrtc.org/1447073002 . Cr-Commit-Position: refs/heads/master@{#10677}
This commit is contained in:
parent
bd05f0ba52
commit
2be7c54b13
@ -255,19 +255,6 @@ int32_t ViEEncoder::SetEncoder(const webrtc::VideoCodec& video_codec) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t ViEEncoder::ScaleInputImage(bool enable) {
|
||||
VideoFrameResampling resampling_mode = kFastRescaling;
|
||||
// TODO(mflodman) What?
|
||||
if (enable) {
|
||||
// kInterpolation is currently not supported.
|
||||
LOG_F(LS_ERROR) << "Not supported.";
|
||||
return -1;
|
||||
}
|
||||
vpm_->SetInputFrameResampleMode(resampling_mode);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ViEEncoder::GetPaddingNeededBps() const {
|
||||
int64_t time_of_last_frame_activity_ms;
|
||||
int min_transmit_bitrate_bps;
|
||||
|
||||
@ -89,9 +89,6 @@ class ViEEncoder : public RtcpIntraFrameObserver,
|
||||
int32_t DeRegisterExternalEncoder(uint8_t pl_type);
|
||||
int32_t SetEncoder(const VideoCodec& video_codec);
|
||||
|
||||
// Scale or crop/pad image.
|
||||
int32_t ScaleInputImage(bool enable);
|
||||
|
||||
// Implementing VideoCaptureCallback.
|
||||
void DeliverFrame(VideoFrame video_frame) override;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user