Add enum value ScaleMethod::kFilterLinear.

Needed to get the same numerical values as used in libyuv.

BUG=
R=ossu@webrtc.org, pbos@webrtc.org

Review URL: https://codereview.webrtc.org/2033143003 .

Cr-Commit-Position: refs/heads/master@{#13035}
This commit is contained in:
Niels Möller 2016-06-03 15:44:58 +02:00
parent 293c86d673
commit e80990f20f

View File

@ -23,8 +23,10 @@
namespace webrtc {
// Supported scaling types
// Note: Must have the same values as libyuv::FilterMode.
enum ScaleMethod {
kScalePoint, // no interpolation
kFilterLinear,
kScaleBilinear,
kScaleBox
};