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

Unified Diff: webrtc/common_video/libyuv/include/scaler.h

Issue 2033143003: Add enum value ScaleMethod::kFilterLinear. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_video/libyuv/include/scaler.h
diff --git a/webrtc/common_video/libyuv/include/scaler.h b/webrtc/common_video/libyuv/include/scaler.h
index 2b92f8148b29cd397e0dca30d1a35bd28bc82518..6e3e05da0f9e7a061cbea3f3f496a398d3cf0950 100644
--- a/webrtc/common_video/libyuv/include/scaler.h
+++ b/webrtc/common_video/libyuv/include/scaler.h
@@ -23,8 +23,10 @@
namespace webrtc {
// Supported scaling types
+// Note: Must have the same values as libyuv::FilterMode.
ossu 2016/06/03 11:50:32 So, the problem was it picked the wrong scaling mo
nisse-webrtc 2016/06/03 11:54:54 That's my understanding, yes.
ossu 2016/06/03 12:37:15 Ah! Then this one-liner really seems like the prud
enum ScaleMethod {
kScalePoint, // no interpolation
+ kFilterLinear,
kScaleBilinear,
kScaleBox
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698