webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Typedefs | Enumerations | Functions
rotate.h File Reference
#include "libyuv/basic_types.h"

Go to the source code of this file.

Typedefs

typedef enum RotationMode RotationModeEnum
 

Enumerations

enum  RotationMode {
  kRotate0 = 0, kRotate90 = 90, kRotate180 = 180, kRotate270 = 270,
  kRotateNone = 0, kRotateClockwise = 90, kRotateCounterClockwise = 270
}
 

Functions

LIBYUV_API int I420Rotate (const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_y, int dst_stride_y, uint8 *dst_u, int dst_stride_u, uint8 *dst_v, int dst_stride_v, int src_width, int src_height, enum RotationMode mode)
 
LIBYUV_API int NV12ToI420Rotate (const uint8 *src_y, int src_stride_y, const uint8 *src_uv, int src_stride_uv, uint8 *dst_y, int dst_stride_y, uint8 *dst_u, int dst_stride_u, uint8 *dst_v, int dst_stride_v, int src_width, int src_height, enum RotationMode mode)
 
LIBYUV_API int RotatePlane (const uint8 *src, int src_stride, uint8 *dst, int dst_stride, int src_width, int src_height, enum RotationMode mode)
 
LIBYUV_API void RotatePlane90 (const uint8 *src, int src_stride, uint8 *dst, int dst_stride, int width, int height)
 
LIBYUV_API void RotatePlane180 (const uint8 *src, int src_stride, uint8 *dst, int dst_stride, int width, int height)
 
LIBYUV_API void RotatePlane270 (const uint8 *src, int src_stride, uint8 *dst, int dst_stride, int width, int height)
 
LIBYUV_API void RotateUV90 (const uint8 *src, int src_stride, uint8 *dst_a, int dst_stride_a, uint8 *dst_b, int dst_stride_b, int width, int height)
 
LIBYUV_API void RotateUV180 (const uint8 *src, int src_stride, uint8 *dst_a, int dst_stride_a, uint8 *dst_b, int dst_stride_b, int width, int height)
 
LIBYUV_API void RotateUV270 (const uint8 *src, int src_stride, uint8 *dst_a, int dst_stride_a, uint8 *dst_b, int dst_stride_b, int width, int height)
 
LIBYUV_API void TransposePlane (const uint8 *src, int src_stride, uint8 *dst, int dst_stride, int width, int height)
 
LIBYUV_API void TransposeUV (const uint8 *src, int src_stride, uint8 *dst_a, int dst_stride_a, uint8 *dst_b, int dst_stride_b, int width, int height)
 

Typedef Documentation

◆ RotationModeEnum

Enumeration Type Documentation

◆ RotationMode

Enumerator
kRotate0 
kRotate90 
kRotate180 
kRotate270 
kRotateNone 
kRotateClockwise 
kRotateCounterClockwise 

Function Documentation

◆ I420Rotate()

LIBYUV_API int I420Rotate ( const uint8 src_y,
int  src_stride_y,
const uint8 src_u,
int  src_stride_u,
const uint8 src_v,
int  src_stride_v,
uint8 dst_y,
int  dst_stride_y,
uint8 dst_u,
int  dst_stride_u,
uint8 dst_v,
int  dst_stride_v,
int  src_width,
int  src_height,
enum RotationMode  mode 
)

◆ NV12ToI420Rotate()

LIBYUV_API int NV12ToI420Rotate ( const uint8 src_y,
int  src_stride_y,
const uint8 src_uv,
int  src_stride_uv,
uint8 dst_y,
int  dst_stride_y,
uint8 dst_u,
int  dst_stride_u,
uint8 dst_v,
int  dst_stride_v,
int  src_width,
int  src_height,
enum RotationMode  mode 
)

◆ RotatePlane()

LIBYUV_API int RotatePlane ( const uint8 src,
int  src_stride,
uint8 dst,
int  dst_stride,
int  src_width,
int  src_height,
enum RotationMode  mode 
)

◆ RotatePlane180()

LIBYUV_API void RotatePlane180 ( const uint8 src,
int  src_stride,
uint8 dst,
int  dst_stride,
int  width,
int  height 
)

◆ RotatePlane270()

LIBYUV_API void RotatePlane270 ( const uint8 src,
int  src_stride,
uint8 dst,
int  dst_stride,
int  width,
int  height 
)

◆ RotatePlane90()

LIBYUV_API void RotatePlane90 ( const uint8 src,
int  src_stride,
uint8 dst,
int  dst_stride,
int  width,
int  height 
)

◆ RotateUV180()

LIBYUV_API void RotateUV180 ( const uint8 src,
int  src_stride,
uint8 dst_a,
int  dst_stride_a,
uint8 dst_b,
int  dst_stride_b,
int  width,
int  height 
)

◆ RotateUV270()

LIBYUV_API void RotateUV270 ( const uint8 src,
int  src_stride,
uint8 dst_a,
int  dst_stride_a,
uint8 dst_b,
int  dst_stride_b,
int  width,
int  height 
)

◆ RotateUV90()

LIBYUV_API void RotateUV90 ( const uint8 src,
int  src_stride,
uint8 dst_a,
int  dst_stride_a,
uint8 dst_b,
int  dst_stride_b,
int  width,
int  height 
)

◆ TransposePlane()

LIBYUV_API void TransposePlane ( const uint8 src,
int  src_stride,
uint8 dst,
int  dst_stride,
int  width,
int  height 
)

◆ TransposeUV()

LIBYUV_API void TransposeUV ( const uint8 src,
int  src_stride,
uint8 dst_a,
int  dst_stride_a,
uint8 dst_b,
int  dst_stride_b,
int  width,
int  height 
)