webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
planar_functions.cc File Reference
#include "libyuv/planar_functions.h"
#include <string.h>
#include "libyuv/cpu_id.h"
#include "libyuv/row.h"
#include "libyuv/scale_row.h"

Macros

#define MAXTWIDTH   2048
 

Functions

LIBYUV_API void CopyPlane (const uint8 *src_y, int src_stride_y, uint8 *dst_y, int dst_stride_y, int width, int height)
 
LIBYUV_API void CopyPlane_16 (const uint16 *src_y, int src_stride_y, uint16 *dst_y, int dst_stride_y, int width, int height)
 
LIBYUV_API int I422Copy (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 width, int height)
 
LIBYUV_API int I444Copy (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 width, int height)
 
LIBYUV_API int I400ToI400 (const uint8 *src_y, int src_stride_y, uint8 *dst_y, int dst_stride_y, int width, int height)
 
LIBYUV_API int I420ToI400 (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, int width, int height)
 
LIBYUV_API void SplitUVPlane (const uint8 *src_uv, int src_stride_uv, uint8 *dst_u, int dst_stride_u, uint8 *dst_v, int dst_stride_v, int width, int height)
 
LIBYUV_API void MergeUVPlane (const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_uv, int dst_stride_uv, int width, int height)
 
void MirrorPlane (const uint8 *src_y, int src_stride_y, uint8 *dst_y, int dst_stride_y, int width, int height)
 
LIBYUV_API int YUY2ToI422 (const uint8 *src_yuy2, int src_stride_yuy2, uint8 *dst_y, int dst_stride_y, uint8 *dst_u, int dst_stride_u, uint8 *dst_v, int dst_stride_v, int width, int height)
 
LIBYUV_API int UYVYToI422 (const uint8 *src_uyvy, int src_stride_uyvy, uint8 *dst_y, int dst_stride_y, uint8 *dst_u, int dst_stride_u, uint8 *dst_v, int dst_stride_v, int width, int height)
 
LIBYUV_API int YUY2ToY (const uint8 *src_yuy2, int src_stride_yuy2, uint8 *dst_y, int dst_stride_y, int width, int height)
 
LIBYUV_API int I400Mirror (const uint8 *src_y, int src_stride_y, uint8 *dst_y, int dst_stride_y, int width, int height)
 
LIBYUV_API int I420Mirror (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 width, int height)
 
LIBYUV_API int ARGBMirror (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API ARGBBlendRow GetARGBBlend ()
 
LIBYUV_API int ARGBBlend (const uint8 *src_argb0, int src_stride_argb0, const uint8 *src_argb1, int src_stride_argb1, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int BlendPlane (const uint8 *src_y0, int src_stride_y0, const uint8 *src_y1, int src_stride_y1, const uint8 *alpha, int alpha_stride, uint8 *dst_y, int dst_stride_y, int width, int height)
 
LIBYUV_API int I420Blend (const uint8 *src_y0, int src_stride_y0, const uint8 *src_u0, int src_stride_u0, const uint8 *src_v0, int src_stride_v0, const uint8 *src_y1, int src_stride_y1, const uint8 *src_u1, int src_stride_u1, const uint8 *src_v1, int src_stride_v1, const uint8 *alpha, int alpha_stride, uint8 *dst_y, int dst_stride_y, uint8 *dst_u, int dst_stride_u, uint8 *dst_v, int dst_stride_v, int width, int height)
 
LIBYUV_API int ARGBMultiply (const uint8 *src_argb0, int src_stride_argb0, const uint8 *src_argb1, int src_stride_argb1, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBAdd (const uint8 *src_argb0, int src_stride_argb0, const uint8 *src_argb1, int src_stride_argb1, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBSubtract (const uint8 *src_argb0, int src_stride_argb0, const uint8 *src_argb1, int src_stride_argb1, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int I422ToRGBA (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_rgba, int dst_stride_rgba, int width, int height)
 
LIBYUV_API int I422ToBGRA (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_bgra, int dst_stride_bgra, int width, int height)
 
LIBYUV_API int NV12ToRGB565 (const uint8 *src_y, int src_stride_y, const uint8 *src_uv, int src_stride_uv, uint8 *dst_rgb565, int dst_stride_rgb565, int width, int height)
 
LIBYUV_API int RAWToRGB24 (const uint8 *src_raw, int src_stride_raw, uint8 *dst_rgb24, int dst_stride_rgb24, int width, int height)
 
LIBYUV_API void SetPlane (uint8 *dst_y, int dst_stride_y, int width, int height, uint32 value)
 
LIBYUV_API int I420Rect (uint8 *dst_y, int dst_stride_y, uint8 *dst_u, int dst_stride_u, uint8 *dst_v, int dst_stride_v, int x, int y, int width, int height, int value_y, int value_u, int value_v)
 
LIBYUV_API int ARGBRect (uint8 *dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height, uint32 value)
 
LIBYUV_API int ARGBAttenuate (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBUnattenuate (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBGrayTo (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBGray (uint8 *dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height)
 
LIBYUV_API int ARGBSepia (uint8 *dst_argb, int dst_stride_argb, int dst_x, int dst_y, int width, int height)
 
LIBYUV_API int ARGBColorMatrix (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, const int8 *matrix_argb, int width, int height)
 
LIBYUV_API int RGBColorMatrix (uint8 *dst_argb, int dst_stride_argb, const int8 *matrix_rgb, int dst_x, int dst_y, int width, int height)
 
LIBYUV_API int ARGBColorTable (uint8 *dst_argb, int dst_stride_argb, const uint8 *table_argb, int dst_x, int dst_y, int width, int height)
 
LIBYUV_API int RGBColorTable (uint8 *dst_argb, int dst_stride_argb, const uint8 *table_argb, int dst_x, int dst_y, int width, int height)
 
LIBYUV_API int ARGBQuantize (uint8 *dst_argb, int dst_stride_argb, int scale, int interval_size, int interval_offset, int dst_x, int dst_y, int width, int height)
 
LIBYUV_API int ARGBComputeCumulativeSum (const uint8 *src_argb, int src_stride_argb, int32 *dst_cumsum, int dst_stride32_cumsum, int width, int height)
 
LIBYUV_API int ARGBBlur (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int32 *dst_cumsum, int dst_stride32_cumsum, int width, int height, int radius)
 
LIBYUV_API int ARGBShade (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height, uint32 value)
 
LIBYUV_API int InterpolatePlane (const uint8 *src0, int src_stride0, const uint8 *src1, int src_stride1, uint8 *dst, int dst_stride, int width, int height, int interpolation)
 
LIBYUV_API int ARGBInterpolate (const uint8 *src_argb0, int src_stride_argb0, const uint8 *src_argb1, int src_stride_argb1, uint8 *dst_argb, int dst_stride_argb, int width, int height, int interpolation)
 
LIBYUV_API int I420Interpolate (const uint8 *src0_y, int src0_stride_y, const uint8 *src0_u, int src0_stride_u, const uint8 *src0_v, int src0_stride_v, const uint8 *src1_y, int src1_stride_y, const uint8 *src1_u, int src1_stride_u, const uint8 *src1_v, int src1_stride_v, uint8 *dst_y, int dst_stride_y, uint8 *dst_u, int dst_stride_u, uint8 *dst_v, int dst_stride_v, int width, int height, int interpolation)
 
LIBYUV_API int ARGBShuffle (const uint8 *src_bgra, int src_stride_bgra, uint8 *dst_argb, int dst_stride_argb, const uint8 *shuffler, int width, int height)
 
LIBYUV_API int ARGBSobel (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBSobelToPlane (const uint8 *src_argb, int src_stride_argb, uint8 *dst_y, int dst_stride_y, int width, int height)
 
LIBYUV_API int ARGBSobelXY (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBPolynomial (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, const float *poly, int width, int height)
 
LIBYUV_API int HalfFloatPlane (const uint16 *src_y, int src_stride_y, uint16 *dst_y, int dst_stride_y, float scale, int width, int height)
 
LIBYUV_API int ARGBLumaColorTable (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, const uint8 *luma, int width, int height)
 
LIBYUV_API int ARGBCopyAlpha (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBExtractAlpha (const uint8 *src_argb, int src_stride, uint8 *dst_a, int dst_stride, int width, int height)
 
LIBYUV_API int ARGBCopyYToAlpha (const uint8 *src_y, int src_stride_y, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int YUY2ToNV12 (const uint8 *src_yuy2, int src_stride_yuy2, uint8 *dst_y, int dst_stride_y, uint8 *dst_uv, int dst_stride_uv, int width, int height)
 
LIBYUV_API int UYVYToNV12 (const uint8 *src_uyvy, int src_stride_uyvy, uint8 *dst_y, int dst_stride_y, uint8 *dst_uv, int dst_stride_uv, int width, int height)
 

Macro Definition Documentation

◆ MAXTWIDTH

#define MAXTWIDTH   2048

Function Documentation

◆ ARGBAdd()

LIBYUV_API int ARGBAdd ( const uint8 src_argb0,
int  src_stride_argb0,
const uint8 src_argb1,
int  src_stride_argb1,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBAttenuate()

LIBYUV_API int ARGBAttenuate ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBBlend()

LIBYUV_API int ARGBBlend ( const uint8 src_argb0,
int  src_stride_argb0,
const uint8 src_argb1,
int  src_stride_argb1,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBBlur()

LIBYUV_API int ARGBBlur ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int32 dst_cumsum,
int  dst_stride32_cumsum,
int  width,
int  height,
int  radius 
)

◆ ARGBColorMatrix()

LIBYUV_API int ARGBColorMatrix ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
const int8 matrix_argb,
int  width,
int  height 
)

◆ ARGBColorTable()

LIBYUV_API int ARGBColorTable ( uint8 dst_argb,
int  dst_stride_argb,
const uint8 table_argb,
int  dst_x,
int  dst_y,
int  width,
int  height 
)

◆ ARGBComputeCumulativeSum()

LIBYUV_API int ARGBComputeCumulativeSum ( const uint8 src_argb,
int  src_stride_argb,
int32 dst_cumsum,
int  dst_stride32_cumsum,
int  width,
int  height 
)

◆ ARGBCopyAlpha()

LIBYUV_API int ARGBCopyAlpha ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBCopyYToAlpha()

LIBYUV_API int ARGBCopyYToAlpha ( const uint8 src_y,
int  src_stride_y,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBExtractAlpha()

LIBYUV_API int ARGBExtractAlpha ( const uint8 src_argb,
int  src_stride,
uint8 dst_a,
int  dst_stride,
int  width,
int  height 
)

◆ ARGBGray()

LIBYUV_API int ARGBGray ( uint8 dst_argb,
int  dst_stride_argb,
int  dst_x,
int  dst_y,
int  width,
int  height 
)

◆ ARGBGrayTo()

LIBYUV_API int ARGBGrayTo ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBInterpolate()

LIBYUV_API int ARGBInterpolate ( const uint8 src_argb0,
int  src_stride_argb0,
const uint8 src_argb1,
int  src_stride_argb1,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height,
int  interpolation 
)

◆ ARGBLumaColorTable()

LIBYUV_API int ARGBLumaColorTable ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
const uint8 luma,
int  width,
int  height 
)

◆ ARGBMirror()

LIBYUV_API int ARGBMirror ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBMultiply()

LIBYUV_API int ARGBMultiply ( const uint8 src_argb0,
int  src_stride_argb0,
const uint8 src_argb1,
int  src_stride_argb1,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBPolynomial()

LIBYUV_API int ARGBPolynomial ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
const float *  poly,
int  width,
int  height 
)

◆ ARGBQuantize()

LIBYUV_API int ARGBQuantize ( uint8 dst_argb,
int  dst_stride_argb,
int  scale,
int  interval_size,
int  interval_offset,
int  dst_x,
int  dst_y,
int  width,
int  height 
)

◆ ARGBRect()

LIBYUV_API int ARGBRect ( uint8 dst_argb,
int  dst_stride_argb,
int  dst_x,
int  dst_y,
int  width,
int  height,
uint32  value 
)

◆ ARGBSepia()

LIBYUV_API int ARGBSepia ( uint8 dst_argb,
int  dst_stride_argb,
int  dst_x,
int  dst_y,
int  width,
int  height 
)

◆ ARGBShade()

LIBYUV_API int ARGBShade ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height,
uint32  value 
)

◆ ARGBShuffle()

LIBYUV_API int ARGBShuffle ( const uint8 src_bgra,
int  src_stride_bgra,
uint8 dst_argb,
int  dst_stride_argb,
const uint8 shuffler,
int  width,
int  height 
)

◆ ARGBSobel()

LIBYUV_API int ARGBSobel ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBSobelToPlane()

LIBYUV_API int ARGBSobelToPlane ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_y,
int  dst_stride_y,
int  width,
int  height 
)

◆ ARGBSobelXY()

LIBYUV_API int ARGBSobelXY ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBSubtract()

LIBYUV_API int ARGBSubtract ( const uint8 src_argb0,
int  src_stride_argb0,
const uint8 src_argb1,
int  src_stride_argb1,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBUnattenuate()

LIBYUV_API int ARGBUnattenuate ( const uint8 src_argb,
int  src_stride_argb,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ BlendPlane()

LIBYUV_API int BlendPlane ( const uint8 src_y0,
int  src_stride_y0,
const uint8 src_y1,
int  src_stride_y1,
const uint8 alpha,
int  alpha_stride,
uint8 dst_y,
int  dst_stride_y,
int  width,
int  height 
)

◆ CopyPlane()

LIBYUV_API void CopyPlane ( const uint8 src_y,
int  src_stride_y,
uint8 dst_y,
int  dst_stride_y,
int  width,
int  height 
)

◆ CopyPlane_16()

LIBYUV_API void CopyPlane_16 ( const uint16 src_y,
int  src_stride_y,
uint16 dst_y,
int  dst_stride_y,
int  width,
int  height 
)

◆ GetARGBBlend()

LIBYUV_API ARGBBlendRow GetARGBBlend ( )

◆ HalfFloatPlane()

LIBYUV_API int HalfFloatPlane ( const uint16 src_y,
int  src_stride_y,
uint16 dst_y,
int  dst_stride_y,
float  scale,
int  width,
int  height 
)

◆ I400Mirror()

LIBYUV_API int I400Mirror ( const uint8 src_y,
int  src_stride_y,
uint8 dst_y,
int  dst_stride_y,
int  width,
int  height 
)

◆ I400ToI400()

LIBYUV_API int I400ToI400 ( const uint8 src_y,
int  src_stride_y,
uint8 dst_y,
int  dst_stride_y,
int  width,
int  height 
)

◆ I420Blend()

LIBYUV_API int I420Blend ( const uint8 src_y0,
int  src_stride_y0,
const uint8 src_u0,
int  src_stride_u0,
const uint8 src_v0,
int  src_stride_v0,
const uint8 src_y1,
int  src_stride_y1,
const uint8 src_u1,
int  src_stride_u1,
const uint8 src_v1,
int  src_stride_v1,
const uint8 alpha,
int  alpha_stride,
uint8 dst_y,
int  dst_stride_y,
uint8 dst_u,
int  dst_stride_u,
uint8 dst_v,
int  dst_stride_v,
int  width,
int  height 
)

◆ I420Interpolate()

LIBYUV_API int I420Interpolate ( const uint8 src0_y,
int  src0_stride_y,
const uint8 src0_u,
int  src0_stride_u,
const uint8 src0_v,
int  src0_stride_v,
const uint8 src1_y,
int  src1_stride_y,
const uint8 src1_u,
int  src1_stride_u,
const uint8 src1_v,
int  src1_stride_v,
uint8 dst_y,
int  dst_stride_y,
uint8 dst_u,
int  dst_stride_u,
uint8 dst_v,
int  dst_stride_v,
int  width,
int  height,
int  interpolation 
)

◆ I420Mirror()

LIBYUV_API int I420Mirror ( 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  width,
int  height 
)

◆ I420Rect()

LIBYUV_API int I420Rect ( uint8 dst_y,
int  dst_stride_y,
uint8 dst_u,
int  dst_stride_u,
uint8 dst_v,
int  dst_stride_v,
int  x,
int  y,
int  width,
int  height,
int  value_y,
int  value_u,
int  value_v 
)

◆ I420ToI400()

LIBYUV_API int I420ToI400 ( 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,
int  width,
int  height 
)

◆ I422Copy()

LIBYUV_API int I422Copy ( 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  width,
int  height 
)

◆ I422ToBGRA()

LIBYUV_API int I422ToBGRA ( 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_bgra,
int  dst_stride_bgra,
int  width,
int  height 
)

◆ I422ToRGBA()

LIBYUV_API int I422ToRGBA ( 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_rgba,
int  dst_stride_rgba,
int  width,
int  height 
)

◆ I444Copy()

LIBYUV_API int I444Copy ( 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  width,
int  height 
)

◆ InterpolatePlane()

LIBYUV_API int InterpolatePlane ( const uint8 src0,
int  src_stride0,
const uint8 src1,
int  src_stride1,
uint8 dst,
int  dst_stride,
int  width,
int  height,
int  interpolation 
)

◆ MergeUVPlane()

LIBYUV_API void MergeUVPlane ( const uint8 src_u,
int  src_stride_u,
const uint8 src_v,
int  src_stride_v,
uint8 dst_uv,
int  dst_stride_uv,
int  width,
int  height 
)

◆ MirrorPlane()

void MirrorPlane ( const uint8 src_y,
int  src_stride_y,
uint8 dst_y,
int  dst_stride_y,
int  width,
int  height 
)

◆ NV12ToRGB565()

LIBYUV_API int NV12ToRGB565 ( const uint8 src_y,
int  src_stride_y,
const uint8 src_uv,
int  src_stride_uv,
uint8 dst_rgb565,
int  dst_stride_rgb565,
int  width,
int  height 
)

◆ RAWToRGB24()

LIBYUV_API int RAWToRGB24 ( const uint8 src_raw,
int  src_stride_raw,
uint8 dst_rgb24,
int  dst_stride_rgb24,
int  width,
int  height 
)

◆ RGBColorMatrix()

LIBYUV_API int RGBColorMatrix ( uint8 dst_argb,
int  dst_stride_argb,
const int8 matrix_rgb,
int  dst_x,
int  dst_y,
int  width,
int  height 
)

◆ RGBColorTable()

LIBYUV_API int RGBColorTable ( uint8 dst_argb,
int  dst_stride_argb,
const uint8 table_argb,
int  dst_x,
int  dst_y,
int  width,
int  height 
)

◆ SetPlane()

LIBYUV_API void SetPlane ( uint8 dst_y,
int  dst_stride_y,
int  width,
int  height,
uint32  value 
)

◆ SplitUVPlane()

LIBYUV_API void SplitUVPlane ( const uint8 src_uv,
int  src_stride_uv,
uint8 dst_u,
int  dst_stride_u,
uint8 dst_v,
int  dst_stride_v,
int  width,
int  height 
)

◆ UYVYToI422()

LIBYUV_API int UYVYToI422 ( const uint8 src_uyvy,
int  src_stride_uyvy,
uint8 dst_y,
int  dst_stride_y,
uint8 dst_u,
int  dst_stride_u,
uint8 dst_v,
int  dst_stride_v,
int  width,
int  height 
)

◆ UYVYToNV12()

LIBYUV_API int UYVYToNV12 ( const uint8 src_uyvy,
int  src_stride_uyvy,
uint8 dst_y,
int  dst_stride_y,
uint8 dst_uv,
int  dst_stride_uv,
int  width,
int  height 
)

◆ YUY2ToI422()

LIBYUV_API int YUY2ToI422 ( const uint8 src_yuy2,
int  src_stride_yuy2,
uint8 dst_y,
int  dst_stride_y,
uint8 dst_u,
int  dst_stride_u,
uint8 dst_v,
int  dst_stride_v,
int  width,
int  height 
)

◆ YUY2ToNV12()

LIBYUV_API int YUY2ToNV12 ( const uint8 src_yuy2,
int  src_stride_yuy2,
uint8 dst_y,
int  dst_stride_y,
uint8 dst_uv,
int  dst_stride_uv,
int  width,
int  height 
)

◆ YUY2ToY()

LIBYUV_API int YUY2ToY ( const uint8 src_yuy2,
int  src_stride_yuy2,
uint8 dst_y,
int  dst_stride_y,
int  width,
int  height 
)