mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
90, 180, 270 rotate of array with a minimum size of 8x8. Also deinterleave on rotate for NV12/NV21 formats. Review URL: http://webrtc-codereview.appspot.com/195002 git-svn-id: http://libyuv.googlecode.com/svn/trunk@23 16f28f9a-4ce2-e073-06de-1de4eb20be90
46 lines
1.7 KiB
C++
46 lines
1.7 KiB
C++
/*
|
|
* Copyright (c) 2011 The LibYuv project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef LIBYUV_SOURCE_ROTATE_H_
|
|
#define LIBYUV_SOURCE_ROTATE_H_
|
|
|
|
#include "basic_types.h"
|
|
|
|
namespace libyuv {
|
|
void Rotate90(const uint8* src, int src_pitch,
|
|
uint8* dst, int dst_pitch,
|
|
int width, int height);
|
|
void Rotate180(const uint8* src, int src_pitch,
|
|
uint8* dst, int dst_pitch,
|
|
int width, int height);
|
|
void Rotate270(const uint8* src, int src_pitch,
|
|
uint8* dst, int dst_pitch,
|
|
int width, int height);
|
|
|
|
void Rotate90_deinterleave(const uint8* src, int src_pitch,
|
|
uint8* dst_a, int dst_pitch_a,
|
|
uint8* dst_b, int dst_pitch_b,
|
|
int width, int height);
|
|
void Rotate180_deinterleave(const uint8* src, int src_pitch,
|
|
uint8* dst_a, int dst_pitch_a,
|
|
uint8* dst_b, int dst_pitch_b,
|
|
int width, int height);
|
|
void Rotate270_deinterleave(const uint8* src, int src_pitch,
|
|
uint8* dst_a, int dst_pitch_a,
|
|
uint8* dst_b, int dst_pitch_b,
|
|
int width, int height);
|
|
|
|
void Transpose(const uint8* src, int src_pitch,
|
|
uint8* dst, int dst_pitch,
|
|
int width, int height);
|
|
} // namespace libyuv
|
|
|
|
#endif // LIBYUV_SOURCE_ROTATE_H_
|