Home | History | Annotate | Download | only in libyuv
      1 /*
      2  * Copyright (c) 2016, Alliance for Open Media. All rights reserved
      3  *
      4  * This source code is subject to the terms of the BSD 2 Clause License and
      5  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
      6  * was not distributed with this source code in the LICENSE file, you can
      7  * obtain it at www.aomedia.org/license/software. If the Alliance for Open
      8  * Media Patent License 1.0 was not distributed with this source code in the
      9  * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
     10  */
     11 
     12 #ifndef INCLUDE_LIBYUV_ROTATE_ARGB_H_  // NOLINT
     13 #define INCLUDE_LIBYUV_ROTATE_ARGB_H_
     14 
     15 #include "libyuv/basic_types.h"
     16 #include "libyuv/rotate.h"  // For RotationMode.
     17 
     18 #ifdef __cplusplus
     19 namespace libyuv {
     20 extern "C" {
     21 #endif
     22 
     23 // Rotate ARGB frame
     24 LIBYUV_API
     25 int ARGBRotate(const uint8* src_argb, int src_stride_argb,
     26                uint8* dst_argb, int dst_stride_argb,
     27                int src_width, int src_height, enum RotationMode mode);
     28 
     29 #ifdef __cplusplus
     30 }  // extern "C"
     31 }  // namespace libyuv
     32 #endif
     33 
     34 #endif  // INCLUDE_LIBYUV_ROTATE_ARGB_H_  NOLINT
     35