libavcodec/sh4/idct_sh4.c File Reference

#include "dsputil.h"

Go to the source code of this file.

Defines

#define c1   1.38703984532214752434
#define c2   1.30656296487637657577
#define c3   1.17587560241935884520
#define c4   1.00000000000000000000
#define c5   0.78569495838710234903
#define c6   0.54119610014619712324
#define c7   0.27589937928294311353
#define ftrv()   ftrv_(xf,fv)
#define load_matrix(table)   load_matrix_(xf,table)
#define DEFREG   float fv[4],xf[16]
#define fr0   fv[0]
#define fr1   fv[1]
#define fr2   fv[2]
#define fr3   fv[3]
#define DESCALE(x, n)   (x)*(1.0f/(1<<(n)))
#define OA(fblock, ofs)   *(float*)((char*)fblock + ofs)

Functions

static void ftrv_ (const float xf[], float fv[])
static void load_matrix_ (float xf[], const float table[])
void idct_sh4 (DCTELEM *block)

Variables

static const float even_table []
static const float odd_table []


Define Documentation

#define c1   1.38703984532214752434

#define c2   1.30656296487637657577

#define c3   1.17587560241935884520

Definition at line 26 of file idct_sh4.c.

Referenced by idct4col_add(), idct4col_put(), and idct4row().

#define c4   1.00000000000000000000

Definition at line 27 of file idct_sh4.c.

Referenced by idct248_ref().

#define c5   0.78569495838710234903

Definition at line 28 of file idct_sh4.c.

#define c6   0.54119610014619712324

Definition at line 29 of file idct_sh4.c.

#define c7   0.27589937928294311353

Definition at line 30 of file idct_sh4.c.

#define DEFREG   float fv[4],xf[16]

Definition at line 110 of file idct_sh4.c.

Referenced by idct_sh4().

#define DESCALE ( x,
n   )     (x)*(1.0f/(1<<(n)))

Definition at line 121 of file idct_sh4.c.

#define fr0   fv[0]

Definition at line 113 of file idct_sh4.c.

Referenced by idct_sh4().

#define fr1   fv[1]

Definition at line 114 of file idct_sh4.c.

Referenced by idct_sh4().

#define fr2   fv[2]

Definition at line 115 of file idct_sh4.c.

Referenced by idct_sh4().

#define fr3   fv[3]

Definition at line 116 of file idct_sh4.c.

Referenced by idct_sh4().

 
#define ftrv (  )     ftrv_(xf,fv)

Definition at line 107 of file idct_sh4.c.

Referenced by idct_sh4().

#define load_matrix ( table   )     load_matrix_(xf,table)

Definition at line 108 of file idct_sh4.c.

Referenced by idct_sh4().

#define OA ( fblock,
ofs   )     *(float*)((char*)fblock + ofs)

Referenced by idct_sh4().


Function Documentation

static void ftrv_ ( const float  xf[],
float  fv[] 
) [static]

Definition at line 88 of file idct_sh4.c.

void idct_sh4 ( DCTELEM block  ) 

Definition at line 132 of file idct_sh4.c.

Referenced by dsputil_init_sh4(), idct_add(), and idct_put().

static void load_matrix_ ( float  xf[],
const float  table[] 
) [static]

Definition at line 101 of file idct_sh4.c.


Variable Documentation

const float even_table[] [static]

Initial value:

 {
        c4, c4, c4, c4,
        c2, c6,-c6,-c2,
        c4,-c4,-c4, c4,
        c6,-c2, c2,-c6
}

Definition at line 32 of file idct_sh4.c.

Referenced by idct_sh4().

const float odd_table[] [static]

Initial value:

 {
        c1, c3, c5, c7,
        c3,-c7,-c1,-c5,
        c5,-c1, c7, c3,
        c7,-c5, c3,-c1
}

Definition at line 39 of file idct_sh4.c.

Referenced by idct_sh4().


Generated on Fri Oct 3 22:46:58 2008 for ffmpeg by  doxygen 1.5.6