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

Unified Diff: webrtc/modules/video_processing/spatial_resampler.h

Issue 2020593002: Refactor scaling. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Address Per's comments. Add I420Buffer::Scale helper method. Created 4 years, 6 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_processing/spatial_resampler.h
diff --git a/webrtc/modules/video_processing/spatial_resampler.h b/webrtc/modules/video_processing/spatial_resampler.h
index 51820e24e5ed8fd00f060d6523cc297a5e912d18..66f7bbc8877d07d79c52eccf996b47494ce7d35b 100644
--- a/webrtc/modules/video_processing/spatial_resampler.h
+++ b/webrtc/modules/video_processing/spatial_resampler.h
@@ -16,8 +16,8 @@
#include "webrtc/modules/include/module_common_types.h"
#include "webrtc/modules/video_processing/include/video_processing_defines.h"
-#include "webrtc/common_video/libyuv/include/scaler.h"
-#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
+#include "webrtc/common_video/include/i420_buffer_pool.h"
+#include "webrtc/video_frame.h"
namespace webrtc {
@@ -52,7 +52,7 @@ class VPMSimpleSpatialResampler : public VPMSpatialResampler {
VideoFrameResampling resampling_mode_;
int32_t target_width_;
int32_t target_height_;
- Scaler scaler_;
+ I420BufferPool buffer_pool_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698