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

Go to the source code of this file.

Macros

#define ARGBToARGB   ARGBCopy
 
#define YToARGB   I400ToARGB
 
#define BG24ToARGB   RGB24ToARGB
 

Functions

LIBYUV_API int ARGBCopy (const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int I420ToARGB (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int I420ToABGR (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int I422ToARGB (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int I444ToARGB (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int J444ToARGB (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int I444ToABGR (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_abgr, int dst_stride_abgr, int width, int height)
 
LIBYUV_API int I420AlphaToARGB (const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, const uint8 *src_a, int src_stride_a, uint8 *dst_argb, int dst_stride_argb, int width, int height, int attenuate)
 
LIBYUV_API int I420AlphaToABGR (const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, const uint8 *src_a, int src_stride_a, uint8 *dst_abgr, int dst_stride_abgr, int width, int height, int attenuate)
 
LIBYUV_API int I400ToARGB (const uint8 *src_y, int src_stride_y, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int J400ToARGB (const uint8 *src_y, int src_stride_y, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int NV12ToARGB (const uint8 *src_y, int src_stride_y, const uint8 *src_uv, int src_stride_uv, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int NV21ToARGB (const uint8 *src_y, int src_stride_y, const uint8 *src_vu, int src_stride_vu, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int M420ToARGB (const uint8 *src_m420, int src_stride_m420, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int YUY2ToARGB (const uint8 *src_yuy2, int src_stride_yuy2, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int UYVYToARGB (const uint8 *src_uyvy, int src_stride_uyvy, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int J420ToARGB (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int J422ToARGB (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int J420ToABGR (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_abgr, int dst_stride_abgr, int width, int height)
 
LIBYUV_API int J422ToABGR (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_abgr, int dst_stride_abgr, int width, int height)
 
LIBYUV_API int H420ToARGB (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int H422ToARGB (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_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int H420ToABGR (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_abgr, int dst_stride_abgr, int width, int height)
 
LIBYUV_API int H422ToABGR (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_abgr, int dst_stride_abgr, int width, int height)
 
LIBYUV_API int BGRAToARGB (const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ABGRToARGB (const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int RGBAToARGB (const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int RGB24ToARGB (const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int RAWToARGB (const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int RGB565ToARGB (const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGB1555ToARGB (const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGB4444ToARGB (const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ConvertToARGB (const uint8 *src_frame, size_t src_size, uint8 *dst_argb, int dst_stride_argb, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 format)
 

Macro Definition Documentation

◆ ARGBToARGB

#define ARGBToARGB   ARGBCopy

◆ BG24ToARGB

#define BG24ToARGB   RGB24ToARGB

◆ YToARGB

#define YToARGB   I400ToARGB

Function Documentation

◆ ABGRToARGB()

LIBYUV_API int ABGRToARGB ( const uint8 src_frame,
int  src_stride_frame,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGB1555ToARGB()

LIBYUV_API int ARGB1555ToARGB ( const uint8 src_frame,
int  src_stride_frame,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGB4444ToARGB()

LIBYUV_API int ARGB4444ToARGB ( const uint8 src_frame,
int  src_stride_frame,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBCopy()

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

◆ BGRAToARGB()

LIBYUV_API int BGRAToARGB ( const uint8 src_frame,
int  src_stride_frame,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ConvertToARGB()

LIBYUV_API int ConvertToARGB ( const uint8 src_frame,
size_t  src_size,
uint8 dst_argb,
int  dst_stride_argb,
int  crop_x,
int  crop_y,
int  src_width,
int  src_height,
int  crop_width,
int  crop_height,
enum RotationMode  rotation,
uint32  format 
)

◆ H420ToABGR()

LIBYUV_API int H420ToABGR ( 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_abgr,
int  dst_stride_abgr,
int  width,
int  height 
)

◆ H420ToARGB()

LIBYUV_API int H420ToARGB ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ H422ToABGR()

LIBYUV_API int H422ToABGR ( 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_abgr,
int  dst_stride_abgr,
int  width,
int  height 
)

◆ H422ToARGB()

LIBYUV_API int H422ToARGB ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ I400ToARGB()

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

◆ I420AlphaToABGR()

LIBYUV_API int I420AlphaToABGR ( const uint8 src_y,
int  src_stride_y,
const uint8 src_u,
int  src_stride_u,
const uint8 src_v,
int  src_stride_v,
const uint8 src_a,
int  src_stride_a,
uint8 dst_abgr,
int  dst_stride_abgr,
int  width,
int  height,
int  attenuate 
)

◆ I420AlphaToARGB()

LIBYUV_API int I420AlphaToARGB ( const uint8 src_y,
int  src_stride_y,
const uint8 src_u,
int  src_stride_u,
const uint8 src_v,
int  src_stride_v,
const uint8 src_a,
int  src_stride_a,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height,
int  attenuate 
)

◆ I420ToABGR()

LIBYUV_API int I420ToABGR ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ I420ToARGB()

LIBYUV_API int I420ToARGB ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ I422ToARGB()

LIBYUV_API int I422ToARGB ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ I444ToABGR()

LIBYUV_API int I444ToABGR ( 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_abgr,
int  dst_stride_abgr,
int  width,
int  height 
)

◆ I444ToARGB()

LIBYUV_API int I444ToARGB ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ J400ToARGB()

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

◆ J420ToABGR()

LIBYUV_API int J420ToABGR ( 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_abgr,
int  dst_stride_abgr,
int  width,
int  height 
)

◆ J420ToARGB()

LIBYUV_API int J420ToARGB ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ J422ToABGR()

LIBYUV_API int J422ToABGR ( 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_abgr,
int  dst_stride_abgr,
int  width,
int  height 
)

◆ J422ToARGB()

LIBYUV_API int J422ToARGB ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ J444ToARGB()

LIBYUV_API int J444ToARGB ( 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_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ M420ToARGB()

LIBYUV_API int M420ToARGB ( const uint8 src_m420,
int  src_stride_m420,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ NV12ToARGB()

LIBYUV_API int NV12ToARGB ( const uint8 src_y,
int  src_stride_y,
const uint8 src_uv,
int  src_stride_uv,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ NV21ToARGB()

LIBYUV_API int NV21ToARGB ( const uint8 src_y,
int  src_stride_y,
const uint8 src_vu,
int  src_stride_vu,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ RAWToARGB()

LIBYUV_API int RAWToARGB ( const uint8 src_frame,
int  src_stride_frame,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ RGB24ToARGB()

LIBYUV_API int RGB24ToARGB ( const uint8 src_frame,
int  src_stride_frame,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ RGB565ToARGB()

LIBYUV_API int RGB565ToARGB ( const uint8 src_frame,
int  src_stride_frame,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ RGBAToARGB()

LIBYUV_API int RGBAToARGB ( const uint8 src_frame,
int  src_stride_frame,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ UYVYToARGB()

LIBYUV_API int UYVYToARGB ( const uint8 src_uyvy,
int  src_stride_uyvy,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ YUY2ToARGB()

LIBYUV_API int YUY2ToARGB ( const uint8 src_yuy2,
int  src_stride_yuy2,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)