FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
xvid_idct_mmi.c File Reference
#include "idctdsp_mips.h"
#include "xvididct_mips.h"

Go to the source code of this file.

Macros

#define BITS_INV_ACC   5
 
#define SHIFT_INV_ROW   (16 - BITS_INV_ACC)
 
#define SHIFT_INV_COL   (1 + BITS_INV_ACC)
 
#define RND_INV_ROW   (1024 * (6 - BITS_INV_ACC))
 
#define RND_INV_COL   (16 * (BITS_INV_ACC - 3))
 
#define RND_INV_CORR   (RND_INV_COL - 1)
 
#define BITS_FRW_ACC   3
 
#define SHIFT_FRW_COL   BITS_FRW_ACC
 
#define SHIFT_FRW_ROW   (BITS_FRW_ACC + 17)
 
#define RND_FRW_ROW   (262144*(BITS_FRW_ACC - 1))
 
#define DCT_8_INV_ROW_MMI(A1, A2, A3, A4)
 
#define DCT_8_INV_COL(A1, A2)
 

Functions

void ff_xvid_idct_mmi (int16_t *block)
 
void ff_xvid_idct_put_mmi (uint8_t *dest, int32_t line_size, int16_t *block)
 
void ff_xvid_idct_add_mmi (uint8_t *dest, int32_t line_size, int16_t *block)
 

Variables

static const int16_t tg_1_16 [4 *4]
 
static const int32_t rounder_0 [2 *8]
 
static const int16_t tab_i_04_mmi [32 *4]
 

Macro Definition Documentation

#define BITS_INV_ACC   5

Definition at line 27 of file xvid_idct_mmi.c.

#define SHIFT_INV_ROW   (16 - BITS_INV_ACC)

Definition at line 28 of file xvid_idct_mmi.c.

#define SHIFT_INV_COL   (1 + BITS_INV_ACC)

Definition at line 29 of file xvid_idct_mmi.c.

#define RND_INV_ROW   (1024 * (6 - BITS_INV_ACC))

Definition at line 30 of file xvid_idct_mmi.c.

#define RND_INV_COL   (16 * (BITS_INV_ACC - 3))

Definition at line 31 of file xvid_idct_mmi.c.

#define RND_INV_CORR   (RND_INV_COL - 1)

Definition at line 32 of file xvid_idct_mmi.c.

#define BITS_FRW_ACC   3

Definition at line 34 of file xvid_idct_mmi.c.

#define SHIFT_FRW_COL   BITS_FRW_ACC

Definition at line 35 of file xvid_idct_mmi.c.

#define SHIFT_FRW_ROW   (BITS_FRW_ACC + 17)

Definition at line 36 of file xvid_idct_mmi.c.

#define RND_FRW_ROW   (262144*(BITS_FRW_ACC - 1))

Definition at line 37 of file xvid_idct_mmi.c.

#define DCT_8_INV_ROW_MMI (   A1,
  A2,
  A3,
  A4 
)

Definition at line 95 of file xvid_idct_mmi.c.

Referenced by ff_xvid_idct_mmi().

#define DCT_8_INV_COL (   A1,
  A2 
)

Definition at line 148 of file xvid_idct_mmi.c.

Referenced by ff_xvid_idct_mmi().

Function Documentation

void ff_xvid_idct_mmi ( int16_t *  block)

Definition at line 223 of file xvid_idct_mmi.c.

Referenced by ff_xvid_idct_add_mmi(), and ff_xvid_idct_put_mmi().

void ff_xvid_idct_put_mmi ( uint8_t dest,
int32_t  line_size,
int16_t *  block 
)

Definition at line 243 of file xvid_idct_mmi.c.

void ff_xvid_idct_add_mmi ( uint8_t dest,
int32_t  line_size,
int16_t *  block 
)

Definition at line 249 of file xvid_idct_mmi.c.

Variable Documentation

const int16_t tg_1_16[4 *4]
static
Initial value:
= {
13036, 13036, 13036, 13036,
27146, 27146, 27146, 27146,
-21746,-21746,-21746,-21746,
23170, 23170, 23170, 23170
}

Definition at line 39 of file xvid_idct_mmi.c.

Referenced by ff_xvid_idct_mmi().

const int32_t rounder_0[2 *8]
static
Initial value:
= {
65536,65536,
3597, 3597,
2260, 2260,
1203, 1203,
0, 0,
120, 120,
512, 512,
512, 512
}

Definition at line 46 of file xvid_idct_mmi.c.

Referenced by ff_xvid_idct_mmi().

const int16_t tab_i_04_mmi[32 *4]
static

Definition at line 57 of file xvid_idct_mmi.c.

Referenced by ff_xvid_idct_mmi().