rgb2rgb_template.c File Reference

Go to the source code of this file.

Functions

static void RENAME() rgb24to32 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb32to24 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb15to16 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb16to15 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb32to16 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb32tobgr16 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb32to15 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb32tobgr15 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb24to16 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb24tobgr16 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb24to15 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb24tobgr15 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb15to24 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb16to24 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb15to32 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb16to32 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb32tobgr32 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() rgb24tobgr24 (const uint8_t *src, uint8_t *dst, long src_size)
static void RENAME() yuvPlanartoyuy2 (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, long width, long height, long lumStride, long chromStride, long dstStride, long vertLumPerChroma)
static void RENAME() yv12toyuy2 (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, long width, long height, long lumStride, long chromStride, long dstStride)
 height should be a multiple of 2 and width should be a multiple of 16 (if this is a problem for anyone then tell me, and ill fix it)
static void RENAME() yuvPlanartouyvy (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, long width, long height, long lumStride, long chromStride, long dstStride, long vertLumPerChroma)
static void RENAME() yv12touyvy (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, long width, long height, long lumStride, long chromStride, long dstStride)
 height should be a multiple of 2 and width should be a multiple of 16 (if this is a problem for anyone then tell me, and ill fix it)
static void RENAME() yuv422ptoyuy2 (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, long width, long height, long lumStride, long chromStride, long dstStride)
 width should be a multiple of 16
static void RENAME() yuy2toyv12 (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, long width, long height, long lumStride, long chromStride, long srcStride)
 height should be a multiple of 2 and width should be a multiple of 16 (if this is a problem for anyone then tell me, and ill fix it)
static void RENAME() yvu9toyv12 (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, long width, long height, long lumStride, long chromStride)
static void RENAME() planar2x (const uint8_t *src, uint8_t *dst, long srcWidth, long srcHeight, long srcStride, long dstStride)
static void RENAME() uyvytoyv12 (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, long width, long height, long lumStride, long chromStride, long srcStride)
 height should be a multiple of 2 and width should be a multiple of 16 (if this is a problem for anyone then tell me, and ill fix it) chrominance data is only taken from every secound line others are ignored FIXME write HQ version
static void RENAME() rgb24toyv12 (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, long width, long height, long lumStride, long chromStride, long srcStride)
 height should be a multiple of 2 and width should be a multiple of 2 (if this is a problem for anyone then tell me, and ill fix it) chrominance data is only taken from every secound line others are ignored in the C version FIXME write HQ version
void RENAME() interleaveBytes (uint8_t *src1, uint8_t *src2, uint8_t *dest, long width, long height, long src1Stride, long src2Stride, long dstStride)
static void RENAME() vu9_to_vu12 (const uint8_t *src1, const uint8_t *src2, uint8_t *dst1, uint8_t *dst2, long width, long height, long srcStride1, long srcStride2, long dstStride1, long dstStride2)
static void RENAME() yvu9_to_yuy2 (const uint8_t *src1, const uint8_t *src2, const uint8_t *src3, uint8_t *dst, long width, long height, long srcStride1, long srcStride2, long srcStride3, long dstStride)
static void RENAME() rgb2rgb_init (void)


Function Documentation

static void RENAME() rgb24to32 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 85 of file rgb2rgb_template.c.

static void RENAME() rgb32to24 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 145 of file rgb2rgb_template.c.

static void RENAME() rgb15to16 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 237 of file rgb2rgb_template.c.

static void RENAME() rgb16to15 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 286 of file rgb2rgb_template.c.

static void RENAME() rgb32to16 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 342 of file rgb2rgb_template.c.

static void RENAME() rgb32tobgr16 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 440 of file rgb2rgb_template.c.

static void RENAME() rgb32to15 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 501 of file rgb2rgb_template.c.

static void RENAME() rgb32tobgr15 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 599 of file rgb2rgb_template.c.

static void RENAME() rgb24to16 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 660 of file rgb2rgb_template.c.

static void RENAME() rgb24tobgr16 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 723 of file rgb2rgb_template.c.

static void RENAME() rgb24to15 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 786 of file rgb2rgb_template.c.

static void RENAME() rgb24tobgr15 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 849 of file rgb2rgb_template.c.

static void RENAME() rgb15to24 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 935 of file rgb2rgb_template.c.

static void RENAME() rgb16to24 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 1077 of file rgb2rgb_template.c.

static void RENAME() rgb15to32 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 1218 of file rgb2rgb_template.c.

static void RENAME() rgb16to32 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 1296 of file rgb2rgb_template.c.

static void RENAME() rgb32tobgr32 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 1368 of file rgb2rgb_template.c.

static void RENAME() rgb24tobgr24 ( const uint8_t *  src,
uint8_t *  dst,
long  src_size 
) [inline, static]

Definition at line 1431 of file rgb2rgb_template.c.

static void RENAME() yuvPlanartoyuy2 ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
uint8_t *  dst,
long  width,
long  height,
long  lumStride,
long  chromStride,
long  dstStride,
long  vertLumPerChroma 
) [inline, static]

Definition at line 1501 of file rgb2rgb_template.c.

Referenced by yuv422ptoyuy2(), and yv12toyuy2().

static void RENAME() yv12toyuy2 ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
uint8_t *  dst,
long  width,
long  height,
long  lumStride,
long  chromStride,
long  dstStride 
) [inline, static]

height should be a multiple of 2 and width should be a multiple of 16 (if this is a problem for anyone then tell me, and ill fix it)

Definition at line 1646 of file rgb2rgb_template.c.

static void RENAME() yuvPlanartouyvy ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
uint8_t *  dst,
long  width,
long  height,
long  lumStride,
long  chromStride,
long  dstStride,
long  vertLumPerChroma 
) [inline, static]

Definition at line 1654 of file rgb2rgb_template.c.

Referenced by yv12touyvy().

static void RENAME() yv12touyvy ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
uint8_t *  dst,
long  width,
long  height,
long  lumStride,
long  chromStride,
long  dstStride 
) [inline, static]

height should be a multiple of 2 and width should be a multiple of 16 (if this is a problem for anyone then tell me, and ill fix it)

Definition at line 1753 of file rgb2rgb_template.c.

static void RENAME() yuv422ptoyuy2 ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
uint8_t *  dst,
long  width,
long  height,
long  lumStride,
long  chromStride,
long  dstStride 
) [inline, static]

width should be a multiple of 16

Definition at line 1765 of file rgb2rgb_template.c.

static void RENAME() yuy2toyv12 ( const uint8_t *  src,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
long  width,
long  height,
long  lumStride,
long  chromStride,
long  srcStride 
) [inline, static]

height should be a multiple of 2 and width should be a multiple of 16 (if this is a problem for anyone then tell me, and ill fix it)

Definition at line 1777 of file rgb2rgb_template.c.

static void RENAME() yvu9toyv12 ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
long  width,
long  height,
long  lumStride,
long  chromStride 
) [inline, static]

Definition at line 1897 of file rgb2rgb_template.c.

static void RENAME() planar2x ( const uint8_t *  src,
uint8_t *  dst,
long  srcWidth,
long  srcHeight,
long  srcStride,
long  dstStride 
) [inline, static]

Definition at line 1907 of file rgb2rgb_template.c.

static void RENAME() uyvytoyv12 ( const uint8_t *  src,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
long  width,
long  height,
long  lumStride,
long  chromStride,
long  srcStride 
) [inline, static]

height should be a multiple of 2 and width should be a multiple of 16 (if this is a problem for anyone then tell me, and ill fix it) chrominance data is only taken from every secound line others are ignored FIXME write HQ version

Definition at line 2015 of file rgb2rgb_template.c.

static void RENAME() rgb24toyv12 ( const uint8_t *  src,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
long  width,
long  height,
long  lumStride,
long  chromStride,
long  srcStride 
) [inline, static]

height should be a multiple of 2 and width should be a multiple of 2 (if this is a problem for anyone then tell me, and ill fix it) chrominance data is only taken from every secound line others are ignored in the C version FIXME write HQ version

Definition at line 2141 of file rgb2rgb_template.c.

void RENAME() interleaveBytes ( uint8_t *  src1,
uint8_t *  src2,
uint8_t *  dest,
long  width,
long  height,
long  src1Stride,
long  src2Stride,
long  dstStride 
)

Definition at line 2437 of file rgb2rgb_template.c.

static void RENAME() vu9_to_vu12 ( const uint8_t *  src1,
const uint8_t *  src2,
uint8_t *  dst1,
uint8_t *  dst2,
long  width,
long  height,
long  srcStride1,
long  srcStride2,
long  dstStride1,
long  dstStride2 
) [inline, static]

Definition at line 2518 of file rgb2rgb_template.c.

static void RENAME() yvu9_to_yuy2 ( const uint8_t *  src1,
const uint8_t *  src2,
const uint8_t *  src3,
uint8_t *  dst,
long  width,
long  height,
long  srcStride1,
long  srcStride2,
long  srcStride3,
long  dstStride 
) [inline, static]

Definition at line 2621 of file rgb2rgb_template.c.

static void RENAME() rgb2rgb_init ( void   )  [inline, static]

Definition at line 2712 of file rgb2rgb_template.c.


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5