libavcodec/arm/dsputil_iwmmxt.c File Reference

#include "libavcodec/dsputil.h"
#include "dsputil_iwmmxt_rnd_template.c"

Go to the source code of this file.

Defines

#define DEF(x, y)   x ## _no_rnd_ ## y ##_iwmmxt
#define SET_RND(regd)   __asm__ volatile ("mov r12, #1 \n\t tbcsth " #regd ", r12":::"r12");
#define WAVG2B   "wavg2b"
#define DEF(x, y)   x ## _ ## y ##_iwmmxt
#define SET_RND(regd)   __asm__ volatile ("mov r12, #2 \n\t tbcsth " #regd ", r12":::"r12");
#define WAVG2B   "wavg2br"
#define OP(AVG)

Functions

void put_pixels8_y2_iwmmxt (uint8_t *block, const uint8_t *pixels, const int line_size, int h)
void put_no_rnd_pixels8_y2_iwmmxt (uint8_t *block, const uint8_t *pixels, const int line_size, int h)
void add_pixels_clamped_iwmmxt (const DCTELEM *block, uint8_t *pixels, int line_size)
static void clear_blocks_iwmmxt (DCTELEM *blocks)
static void nop (uint8_t *block, const uint8_t *pixels, int line_size, int h)
void ff_dsputil_init_iwmmxt (DSPContext *c, AVCodecContext *avctx)

Variables

int mm_flags = FF_MM_IWMMXT


Define Documentation

#define DEF ( x,
 )     x ## _ ## y ##_iwmmxt

Definition at line 32 of file dsputil_iwmmxt.c.

#define DEF ( x,
 )     x ## _no_rnd_ ## y ##_iwmmxt

#define OP ( AVG   ) 

Definition at line 41 of file dsputil_iwmmxt.c.

#define SET_RND ( regd   )     __asm__ volatile ("mov r12, #2 \n\t tbcsth " #regd ", r12":::"r12");

Definition at line 33 of file dsputil_iwmmxt.c.

#define SET_RND ( regd   )     __asm__ volatile ("mov r12, #1 \n\t tbcsth " #regd ", r12":::"r12");

#define WAVG2B   "wavg2br"

Definition at line 34 of file dsputil_iwmmxt.c.

#define WAVG2B   "wavg2b"

Definition at line 34 of file dsputil_iwmmxt.c.

Referenced by pixels16_x2(), pixels16_y2(), pixels8_x2(), and pixels8_y2().


Function Documentation

void add_pixels_clamped_iwmmxt ( const DCTELEM block,
uint8_t *  pixels,
int  line_size 
)

Definition at line 88 of file dsputil_iwmmxt.c.

Referenced by ff_dsputil_init_iwmmxt().

static void clear_blocks_iwmmxt ( DCTELEM blocks  )  [static]

Definition at line 126 of file dsputil_iwmmxt.c.

Referenced by ff_dsputil_init_iwmmxt().

void ff_dsputil_init_iwmmxt ( DSPContext c,
AVCodecContext avctx 
)

Definition at line 155 of file dsputil_iwmmxt.c.

Referenced by dsputil_init_arm().

static void nop ( uint8_t *  block,
const uint8_t *  pixels,
int  line_size,
int  h 
) [static]

Definition at line 145 of file dsputil_iwmmxt.c.

void put_no_rnd_pixels8_y2_iwmmxt ( uint8_t *  block,
const uint8_t *  pixels,
const int  line_size,
int  h 
)

Definition at line 82 of file dsputil_iwmmxt.c.

Referenced by ff_dsputil_init_iwmmxt().

void put_pixels8_y2_iwmmxt ( uint8_t *  block,
const uint8_t *  pixels,
const int  line_size,
int  h 
)

Definition at line 78 of file dsputil_iwmmxt.c.

Referenced by ff_dsputil_init_iwmmxt().


Variable Documentation

int mm_flags = FF_MM_IWMMXT


Generated on Fri Oct 26 02:36:51 2012 for FFmpeg by  doxygen 1.5.8