scale_yuv_argb.h (1300B)
1 /* 2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #ifndef INCLUDE_LIBYUV_SCALE_YUV_ARGB_H_ // NOLINT 12 #define INCLUDE_LIBYUV_SCALE_YUV_ARGB_H_ 13 14 #include "libyuv/basic_types.h" 15 #include "libyuv/scale.h" // For FilterMode 16 17 #include "mozilla/gfx/Types.h" // For YUVColorSpace 18 19 #ifdef __cplusplus 20 namespace libyuv { 21 extern "C" { 22 #endif 23 24 int YUVToARGBScale(const uint8_t* src_y, int src_stride_y, 25 const uint8_t* src_u, int src_stride_u, 26 const uint8_t* src_v, int src_stride_v, 27 uint32_t src_fourcc, 28 mozilla::gfx::YUVColorSpace yuv_color_space, 29 int src_width, int src_height, 30 uint8_t* dst_argb, int dst_stride_argb, 31 int dst_width, int dst_height, 32 enum FilterMode filtering); 33 34 #ifdef __cplusplus 35 } // extern "C" 36 } // namespace libyuv 37 #endif 38 39 #endif // INCLUDE_LIBYUV_SCALE_YUV_ARGB_H_ NOLINT