xine-lib: xine-lib-1.2.12/src/post/planar/x86/noise.c File Reference

xine-lib 1.2.12

Macros | Functions
noise.c File Reference
`#include "noise.h"`

## Macros
#define | TYPEA int32_t
#define | REGA "%eax"
#define | MOVA(val) "\n\tmovl\t"val", %%eax"
#define | MEMA(reg) "(%"reg", %%eax)"
#define | ADDA(val) "\n\taddl\t"val", %%eax"

## Functions
static int | saturate (int v, int min, int max)
void | lineNoise_MMX (uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift)
void | lineNoise_MMX2 (uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift)
void | lineNoiseAvg_MMX (uint8_t *dst, const uint8_t *src, int len, int8_t **shift)

## Macro Definition Documentation

## ◆ ADDA

#define ADDA | ( |  | val | ) | "\n\taddl\t"val", %%eax"

## ◆ MEMA

#define MEMA | ( |  | reg | ) | "(%"reg", %%eax)"

## ◆ MOVA

#define MOVA | ( |  | val | ) | "\n\tmovl\t"val", %%eax"

## ◆ REGA

#define REGA "%eax"

## ◆ TYPEA

#define TYPEA int32_t

## Function Documentation

## ◆ lineNoise_MMX()

void lineNoise_MMX | ( | uint8_t * | dst,
|  | const uint8_t * | src,
|  | const int8_t * | noise,
|  | int | len,
|  | int | shift
| ) |  |

References ADDA, ASMALIGN, MEMA, MOVA, noise(), REGA, saturate, and TYPEA.

Referenced by noise_open_plugin().

## ◆ lineNoise_MMX2()

void lineNoise_MMX2 | ( | uint8_t * | dst,
|  | const uint8_t * | src,
|  | const int8_t * | noise,
|  | int | len,
|  | int | shift
| ) |  |

References ADDA, ASMALIGN, MEMA, MOVA, noise(), REGA, saturate, and TYPEA.

Referenced by noise_open_plugin().

## ◆ lineNoiseAvg_MMX()

void lineNoiseAvg_MMX | ( | uint8_t * | dst,
|  | const uint8_t * | src,
|  | int | len,
|  | int8_t ** | shift
| ) |  |

References ADDA, ASMALIGN, MEMA, MOVA, REGA, and TYPEA.

Referenced by noise_open_plugin().

## ◆ saturate()

static int saturate | ( | int | v,
|  | int | min,
|  | int | max
| ) |  |
| inlinestatic

References v.