2 * Copyright 2012 The LibYuv Project Authors. All rights reserved.
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.
11 #ifndef INCLUDE_LIBYUV_SCALE_YUV_ARGB_H_ // NOLINT
12 #define INCLUDE_LIBYUV_SCALE_YUV_ARGB_H_
14 #include "libyuv/basic_types.h"
15 #include "libyuv/scale.h" // For FilterMode
17 #include "mozilla/gfx/Types.h" // For YUVColorSpace
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
,
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
);
39 #endif // INCLUDE_LIBYUV_SCALE_YUV_ARGB_H_ NOLINT