Bug 1874684 - Part 17: Fix uninitialised variable warnings from clang-tidy. r=allstarschh
[gecko.git] / gfx / ycbcr / scale_yuv_argb.h
blob1c4b2d16a23252c38fa0d6e0bdbb3124a95449e2
1 /*
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.
9 */
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
19 #ifdef __cplusplus
20 namespace libyuv {
21 extern "C" {
22 #endif
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);
34 #ifdef __cplusplus
35 } // extern "C"
36 } // namespace libyuv
37 #endif
39 #endif // INCLUDE_LIBYUV_SCALE_YUV_ARGB_H_ NOLINT