libavcodec/sparc/dsputil_vis.c File Reference

#include "config.h"
#include <inttypes.h>
#include "libavcodec/dsputil.h"
#include "vis.h"

Go to the source code of this file.

Defines

#define ATTR_ALIGN(alignd)   __attribute__ ((aligned(alignd)))
#define DUP4(x)   {x, x, x, x}
#define DUP8(x)   {x, x, x, x, x, x, x, x}
#define REF_0   0
#define REF_0_1   1
#define REF_2   2
#define REF_2_1   3
#define REF_4   4
#define REF_4_1   5
#define REF_6   6
#define REF_6_1   7
#define REF_S0   8
#define REF_S0_1   9
#define REF_S2   10
#define REF_S2_1   11
#define REF_S4   12
#define REF_S4_1   13
#define REF_S6   14
#define REF_S6_1   15
#define DST_0   16
#define DST_1   17
#define DST_2   18
#define DST_3   19
#define CONST_1   20
#define CONST_2   20
#define CONST_3   20
#define CONST_6   20
#define MASK_fe   20
#define CONST_128   22
#define CONST_256   22
#define CONST_512   22
#define CONST_1024   22
#define TMP0   24
#define TMP1   25
#define TMP2   26
#define TMP3   27
#define TMP4   28
#define TMP5   29
#define ZERO   30
#define MASK_7f   30
#define TMP6   32
#define TMP8   34
#define TMP10   36
#define TMP12   38
#define TMP14   40
#define TMP16   42
#define TMP18   44
#define TMP20   46
#define TMP22   48
#define TMP24   50
#define TMP26   52
#define TMP28   54
#define TMP30   56
#define TMP32   58
#define ACCEL_SPARC_VIS   1
#define ACCEL_SPARC_VIS2   2

Functions

void ff_simple_idct_put_vis (uint8_t *dest, int line_size, DCTELEM *data)
void ff_simple_idct_add_vis (uint8_t *dest, int line_size, DCTELEM *data)
void ff_simple_idct_vis (DCTELEM *data)
static const int16_t constants1[] ATTR_ALIGN (8)
static void MC_put_o_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_o_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_o_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_o_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_x_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_x_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_x_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_x_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_y_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_y_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_y_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_y_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_xy_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_xy_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_xy_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_xy_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_no_round_o_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_no_round_o_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_no_round_o_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_no_round_o_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_no_round_x_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_no_round_x_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_no_round_x_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_no_round_x_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_no_round_y_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_no_round_y_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_no_round_y_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_no_round_y_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_no_round_xy_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_put_no_round_xy_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_no_round_xy_16_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static void MC_avg_no_round_xy_8_vis (uint8_t *dest, const uint8_t *_ref, const int stride, int height)
static int vis_level (void)
void dsputil_init_vis (DSPContext *c, AVCodecContext *avctx)


Define Documentation

#define ACCEL_SPARC_VIS   1

Definition at line 3987 of file dsputil_vis.c.

Referenced by dsputil_init_vis(), and vis_level().

#define ACCEL_SPARC_VIS2   2

Definition at line 3988 of file dsputil_vis.c.

Referenced by vis_level().

#define ATTR_ALIGN ( alignd   )     __attribute__ ((aligned(alignd)))

Definition at line 57 of file dsputil_vis.c.

Referenced by ff_fdct_mmx(), ff_fdct_mmx2(), ff_fdct_sse2(), and idct_col().

#define CONST_1   20

Definition at line 93 of file dsputil_vis.c.

Referenced by MC_put_no_round_xy_16_vis(), and MC_put_no_round_xy_8_vis().

#define CONST_1024   22

#define CONST_128   22

#define CONST_2   20

Definition at line 94 of file dsputil_vis.c.

Referenced by MC_put_no_round_xy_16_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().

#define CONST_256   22

#define CONST_3   20

#define CONST_512   22

#define CONST_6   20

#define DST_0   16

#define DST_1   17

#define DST_2   18

#define DST_3   19

#define DUP4 (  )     {x, x, x, x}

Definition at line 59 of file dsputil_vis.c.

#define DUP8 (  )     {x, x, x, x, x, x, x, x}

Definition at line 60 of file dsputil_vis.c.

#define MASK_7f   30

#define MASK_fe   20

#define REF_0   0

#define REF_0_1   1

#define REF_2   2

#define REF_2_1   3

#define REF_4   4

#define REF_4_1   5

#define REF_6   6

#define REF_6_1   7

#define REF_S0   8

#define REF_S0_1   9

#define REF_S2   10

#define REF_S2_1   11

#define REF_S4   12

#define REF_S4_1   13

#define REF_S6   14

#define REF_S6_1   15

#define TMP0   24

#define TMP1   25

Definition at line 103 of file dsputil_vis.c.

#define TMP10   36

#define TMP12   38

#define TMP14   40

#define TMP16   42

#define TMP18   44

#define TMP2   26

#define TMP20   46

#define TMP22   48

#define TMP24   50

#define TMP26   52

#define TMP28   54

#define TMP3   27

Definition at line 105 of file dsputil_vis.c.

#define TMP30   56

#define TMP32   58

#define TMP4   28

#define TMP5   29

Definition at line 107 of file dsputil_vis.c.

Referenced by MC_avg_no_round_x_8_vis(), and MC_avg_x_8_vis().

#define TMP6   32

#define TMP8   34

#define ZERO   30


Function Documentation

static const int16_t constants1 [] ATTR_ALIGN (  )  [static]

void dsputil_init_vis ( DSPContext c,
AVCodecContext avctx 
)

Definition at line 3999 of file dsputil_vis.c.

Referenced by dsputil_init().

void ff_simple_idct_add_vis ( uint8_t *  dest,
int  line_size,
DCTELEM data 
)

Definition at line 477 of file simple_idct_vis.c.

Referenced by dsputil_init_vis().

void ff_simple_idct_put_vis ( uint8_t *  dest,
int  line_size,
DCTELEM data 
)

Definition at line 427 of file simple_idct_vis.c.

Referenced by dsputil_init_vis().

void ff_simple_idct_vis ( DCTELEM data  ) 

Definition at line 387 of file simple_idct_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_no_round_o_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2111 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_no_round_o_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2272 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_no_round_x_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2683 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_no_round_x_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2774 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_no_round_xy_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 3667 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_no_round_xy_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 3864 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_no_round_y_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 3188 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_no_round_y_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 3317 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_o_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 170 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_o_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 331 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_x_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 742 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_x_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 833 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_xy_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 1726 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_xy_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 1923 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_y_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 1247 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_avg_y_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 1376 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_no_round_o_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2067 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_no_round_o_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2090 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_no_round_x_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2366 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_no_round_x_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2559 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_no_round_xy_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 3397 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_no_round_xy_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 3562 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_no_round_y_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 2940 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_no_round_y_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 3096 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_o_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 126 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_o_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 149 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_x_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 425 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_x_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 618 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_xy_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 1456 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_xy_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 1621 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_y_16_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 999 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static void MC_put_y_8_vis ( uint8_t *  dest,
const uint8_t *  _ref,
const int  stride,
int  height 
) [static]

Definition at line 1155 of file dsputil_vis.c.

Referenced by dsputil_init_vis().

static int vis_level ( void   )  [static]

Definition at line 3990 of file dsputil_vis.c.

Referenced by dsputil_init_vis().


Generated on Fri Oct 26 02:35:44 2012 for FFmpeg by  doxygen 1.5.8