MythTV  master
Functions | Variables
blend.c File Reference
#include "blend.h"
#include "ffmpeg-mmx.h"
Include dependency graph for blend.c:

Go to the source code of this file.

Functions

void blendregion_mmx (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, const uint8_t *asrc, int srcstrd, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int alphamod, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendcolumn2_mmx (uint8_t *ysrc1, uint8_t *usrc1, uint8_t *vsrc1, uint8_t *asrc1, int srcstrd1, uint8_t *ysrc2, uint8_t *usrc2, uint8_t *vsrc2, uint8_t *asrc2, int srcstrd2, const uint8_t *mask, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int alphamod, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendcolor_mmx (uint8_t ysrc, uint8_t usrc, uint8_t vsrc, const uint8_t *asrc, int srcstrd, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int alphamod, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendconst_mmx (uint8_t ysrc, uint8_t usrc, uint8_t vsrc, uint8_t asrc, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendcolumn_mmx (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, const uint8_t *asrc, int srcstrd, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int alphamod, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendregion (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, const uint8_t *asrc, int srcstrd, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int alphamod, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendcolumn2 (uint8_t *ysrc1, uint8_t *usrc1, uint8_t *vsrc1, uint8_t *asrc1, int srcstrd1, uint8_t *ysrc2, uint8_t *usrc2, uint8_t *vsrc2, uint8_t *asrc2, int srcstrd2, const uint8_t *mask, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int alphamod, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendcolor (uint8_t ysrc, uint8_t usrc, uint8_t vsrc, const uint8_t *asrc, int srcstrd, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int alphamod, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendconst (uint8_t ysrc, uint8_t usrc, uint8_t vsrc, uint8_t asrc, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 
void blendcolumn (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, const uint8_t *asrc, int srcstrd, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint8_t *adst, int dststrd, int width, int height, int alphamod, int dochroma, const int16_t rec_lut[256], uint8_t pow_lut[256][256])
 

Variables

static const mmx_t mm_cpool []
 

Function Documentation

◆ blendregion_mmx()

void blendregion_mmx ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
const uint8_t *  asrc,
int  srcstrd,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  alphamod,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 16 of file blend.c.

◆ blendcolumn2_mmx()

void blendcolumn2_mmx ( uint8_t *  ysrc1,
uint8_t *  usrc1,
uint8_t *  vsrc1,
uint8_t *  asrc1,
int  srcstrd1,
uint8_t *  ysrc2,
uint8_t *  usrc2,
uint8_t *  vsrc2,
uint8_t *  asrc2,
int  srcstrd2,
const uint8_t *  mask,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  alphamod,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 237 of file blend.c.

◆ blendcolor_mmx()

void blendcolor_mmx ( uint8_t  ysrc,
uint8_t  usrc,
uint8_t  vsrc,
const uint8_t *  asrc,
int  srcstrd,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  alphamod,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 559 of file blend.c.

◆ blendconst_mmx()

void blendconst_mmx ( uint8_t  ysrc,
uint8_t  usrc,
uint8_t  vsrc,
uint8_t  asrc,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 775 of file blend.c.

◆ blendcolumn_mmx()

void blendcolumn_mmx ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
const uint8_t *  asrc,
int  srcstrd,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  alphamod,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 978 of file blend.c.

◆ blendregion()

void blendregion ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
const uint8_t *  asrc,
int  srcstrd,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  alphamod,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 1217 of file blend.c.

◆ blendcolumn2()

void blendcolumn2 ( uint8_t *  ysrc1,
uint8_t *  usrc1,
uint8_t *  vsrc1,
uint8_t *  asrc1,
int  srcstrd1,
uint8_t *  ysrc2,
uint8_t *  usrc2,
uint8_t *  vsrc2,
uint8_t *  asrc2,
int  srcstrd2,
const uint8_t *  mask,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  alphamod,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 1272 of file blend.c.

◆ blendcolor()

void blendcolor ( uint8_t  ysrc,
uint8_t  usrc,
uint8_t  vsrc,
const uint8_t *  asrc,
int  srcstrd,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  alphamod,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 1361 of file blend.c.

◆ blendconst()

void blendconst ( uint8_t  ysrc,
uint8_t  usrc,
uint8_t  vsrc,
uint8_t  asrc,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 1412 of file blend.c.

◆ blendcolumn()

void blendcolumn ( const uint8_t *  ysrc,
const uint8_t *  usrc,
const uint8_t *  vsrc,
const uint8_t *  asrc,
int  srcstrd,
uint8_t *  ydst,
uint8_t *  udst,
uint8_t *  vdst,
uint8_t *  adst,
int  dststrd,
int  width,
int  height,
int  alphamod,
int  dochroma,
const int16_t  rec_lut[256],
uint8_t  pow_lut[256][256] 
)

Definition at line 1461 of file blend.c.

Variable Documentation

◆ mm_cpool

const mmx_t mm_cpool[]
static
Initial value:
=
{
{ .uw = {128, 128, 128, 128} },
{ .uw = {255, 255, 255, 255} },
{ .uw = {514, 514, 514, 514} },
{ .uw = {1, 1, 1, 1} },
{ .uw = {257, 257, 257, 257} }
}

Definition at line 7 of file blend.c.

Referenced by blendcolor_mmx(), blendcolumn2_mmx(), blendcolumn_mmx(), blendconst_mmx(), and blendregion_mmx().