diff options
author | Hendrik Dahlkamp <hendrik@google.com> | 2013-01-30 18:13:09 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-01-30 18:13:09 -0800 |
commit | b4c1fd246279b207cb4aaa5e8055885f639c4524 (patch) | |
tree | 8ff16b765a83ba911233a1d7bfa27cce9cee3b7c /files/include/libyuv/scale_argb.h | |
parent | 59535dc1ff51cb698bf9485dee9e147d5254e586 (diff) | |
parent | 33cfdeb7b267ab635413797fffb046b73272f7ec (diff) | |
download | libyuv-b4c1fd246279b207cb4aaa5e8055885f639c4524.tar.gz |
am 33cfdeb7: Update libyuv to r397
# Via Adam Hampson
* commit '33cfdeb7b267ab635413797fffb046b73272f7ec':
Update libyuv to r397
Diffstat (limited to 'files/include/libyuv/scale_argb.h')
-rw-r--r-- | files/include/libyuv/scale_argb.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/files/include/libyuv/scale_argb.h b/files/include/libyuv/scale_argb.h new file mode 100644 index 00000000..1af0e1dc --- /dev/null +++ b/files/include/libyuv/scale_argb.h @@ -0,0 +1,34 @@ +/* + * Copyright 2012 The LibYuv Project Authors. All rights reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#ifndef INCLUDE_LIBYUV_SCALE_ARGB_H_ // NOLINT +#define INCLUDE_LIBYUV_SCALE_ARGB_H_ + +#include "libyuv/basic_types.h" +#include "libyuv/scale.h" // For FilterMode + +#ifdef __cplusplus +namespace libyuv { +extern "C" { +#endif + +LIBYUV_API +int ARGBScale(const uint8* src_argb, int src_stride_argb, + int src_width, int src_height, + uint8* dst_argb, int dst_stride_argb, + int dst_width, int dst_height, + FilterMode filtering); + +#ifdef __cplusplus +} // extern "C" +} // namespace libyuv +#endif + +#endif // INCLUDE_LIBYUV_SCALE_ARGB_H_ NOLINT |