rotate_argb.h 1011 B

12345678910111213141516171819202122232425262728293031323334353637
  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. #ifndef INCLUDE_LIBYUV_ROTATE_ARGB_H_
  11. #define INCLUDE_LIBYUV_ROTATE_ARGB_H_
  12. #include "libyuv/basic_types.h"
  13. #include "libyuv/rotate.h" // For RotationMode.
  14. #ifdef __cplusplus
  15. namespace libyuv {
  16. extern "C" {
  17. #endif
  18. // Rotate ARGB frame
  19. LIBYUV_API
  20. int ARGBRotate(const uint8* src_argb,
  21. int src_stride_argb,
  22. uint8* dst_argb,
  23. int dst_stride_argb,
  24. int src_width,
  25. int src_height,
  26. enum RotationMode mode);
  27. #ifdef __cplusplus
  28. } // extern "C"
  29. } // namespace libyuv
  30. #endif
  31. #endif // INCLUDE_LIBYUV_ROTATE_ARGB_H_