webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
convert_argb.cc File Reference
#include "libyuv/convert_argb.h"
#include "libyuv/cpu_id.h"
#include "libyuv/planar_functions.h"
#include "libyuv/rotate_argb.h"
#include "libyuv/row.h"
#include "libyuv/video_common.h"

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_abgr, int dst_stride_abgr, 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 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 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 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 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 I422ToABGR (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 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 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 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 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 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 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 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 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 BGRAToARGB (const uint8 *src_bgra, int src_stride_bgra, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBToBGRA (const uint8 *src_bgra, int src_stride_bgra, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ABGRToARGB (const uint8 *src_abgr, int src_stride_abgr, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGBToABGR (const uint8 *src_abgr, int src_stride_abgr, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int RGBAToARGB (const uint8 *src_rgba, int src_stride_rgba, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int RGB24ToARGB (const uint8 *src_rgb24, int src_stride_rgb24, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int RAWToARGB (const uint8 *src_raw, int src_stride_raw, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int RGB565ToARGB (const uint8 *src_rgb565, int src_stride_rgb565, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGB1555ToARGB (const uint8 *src_argb1555, int src_stride_argb1555, uint8 *dst_argb, int dst_stride_argb, int width, int height)
 
LIBYUV_API int ARGB4444ToARGB (const uint8 *src_argb4444, int src_stride_argb4444, 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_uv, int src_stride_uv, 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)
 

Function Documentation

◆ ABGRToARGB()

LIBYUV_API int ABGRToARGB ( const uint8 src_abgr,
int  src_stride_abgr,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGB1555ToARGB()

LIBYUV_API int ARGB1555ToARGB ( const uint8 src_argb1555,
int  src_stride_argb1555,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGB4444ToARGB()

LIBYUV_API int ARGB4444ToARGB ( const uint8 src_argb4444,
int  src_stride_argb4444,
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 
)

◆ ARGBToABGR()

LIBYUV_API int ARGBToABGR ( const uint8 src_abgr,
int  src_stride_abgr,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ ARGBToBGRA()

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

◆ BGRAToARGB()

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

◆ 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_abgr,
int  dst_stride_abgr,
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 
)

◆ I422ToABGR()

LIBYUV_API int I422ToABGR ( 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 
)

◆ 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_uv,
int  src_stride_uv,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ RAWToARGB()

LIBYUV_API int RAWToARGB ( const uint8 src_raw,
int  src_stride_raw,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ RGB24ToARGB()

LIBYUV_API int RGB24ToARGB ( const uint8 src_rgb24,
int  src_stride_rgb24,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ RGB565ToARGB()

LIBYUV_API int RGB565ToARGB ( const uint8 src_rgb565,
int  src_stride_rgb565,
uint8 dst_argb,
int  dst_stride_argb,
int  width,
int  height 
)

◆ RGBAToARGB()

LIBYUV_API int RGBAToARGB ( const uint8 src_rgba,
int  src_stride_rgba,
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 
)