GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
qpel_tab.cpp File Reference
#include "portab.h"
#include "qpel.inl"
+ Include dependency graph for qpel_tab.cpp:

Macros

#define SIZE   16
 
#define TABLE   FIR_Tab_16
 
#define STORE(d, s)   (d) = (s)
 
#define FUNC_H   H_Pass_16_C
 
#define FUNC_V   V_Pass_16_C
 
#define FUNC_HA   H_Pass_Avrg_16_C
 
#define FUNC_VA   V_Pass_Avrg_16_C
 
#define FUNC_HA_UP   H_Pass_Avrg_Up_16_C
 
#define FUNC_VA_UP   V_Pass_Avrg_Up_16_C
 
#define STORE(d, s)   (d) = ( (s)+(d)+1 ) >> 1
 
#define FUNC_H   H_Pass_16_Add_C
 
#define FUNC_V   V_Pass_16_Add_C
 
#define FUNC_HA   H_Pass_Avrg_16_Add_C
 
#define FUNC_VA   V_Pass_Avrg_16_Add_C
 
#define FUNC_HA_UP   H_Pass_Avrg_Up_16_Add_C
 
#define FUNC_VA_UP   V_Pass_Avrg_Up_16_Add_C
 
#define SIZE   8
 
#define TABLE   FIR_Tab_8
 
#define STORE(d, s)   (d) = (s)
 
#define FUNC_H   H_Pass_8_C
 
#define FUNC_V   V_Pass_8_C
 
#define FUNC_HA   H_Pass_Avrg_8_C
 
#define FUNC_VA   V_Pass_Avrg_8_C
 
#define FUNC_HA_UP   H_Pass_Avrg_Up_8_C
 
#define FUNC_VA_UP   V_Pass_Avrg_Up_8_C
 
#define STORE(d, s)   (d) = ( (s)+(d)+1 ) >> 1
 
#define FUNC_H   H_Pass_8_Add_C
 
#define FUNC_V   V_Pass_8_Add_C
 
#define FUNC_HA   H_Pass_Avrg_8_Add_C
 
#define FUNC_VA   V_Pass_Avrg_8_Add_C
 
#define FUNC_HA_UP   H_Pass_Avrg_Up_8_Add_C
 
#define FUNC_VA_UP   V_Pass_Avrg_Up_8_Add_C
 

Variables

static const int FIR_Tab_16 [17][16]
 
static const int FIR_Tab_8 [9][8]
 

Macro Definition Documentation

#define SIZE   16
#define TABLE   FIR_Tab_16
#define STORE (   d,
 
)    (d) = (s)
#define FUNC_H   H_Pass_16_C
#define FUNC_V   V_Pass_16_C
#define FUNC_HA   H_Pass_Avrg_16_C
#define FUNC_VA   V_Pass_Avrg_16_C
#define FUNC_HA_UP   H_Pass_Avrg_Up_16_C
#define FUNC_VA_UP   V_Pass_Avrg_Up_16_C
#define STORE (   d,
 
)    (d) = ( (s)+(d)+1 ) >> 1
#define FUNC_H   H_Pass_16_Add_C
#define FUNC_V   V_Pass_16_Add_C
#define FUNC_HA   H_Pass_Avrg_16_Add_C
#define FUNC_VA   V_Pass_Avrg_16_Add_C
#define FUNC_HA_UP   H_Pass_Avrg_Up_16_Add_C
#define FUNC_VA_UP   V_Pass_Avrg_Up_16_Add_C
#define SIZE   8
#define TABLE   FIR_Tab_8
#define STORE (   d,
 
)    (d) = (s)
#define FUNC_H   H_Pass_8_C
#define FUNC_V   V_Pass_8_C
#define FUNC_HA   H_Pass_Avrg_8_C
#define FUNC_VA   V_Pass_Avrg_8_C
#define FUNC_HA_UP   H_Pass_Avrg_Up_8_C
#define FUNC_VA_UP   V_Pass_Avrg_Up_8_C
#define STORE (   d,
 
)    (d) = ( (s)+(d)+1 ) >> 1
#define FUNC_H   H_Pass_8_Add_C
#define FUNC_V   V_Pass_8_Add_C
#define FUNC_HA   H_Pass_Avrg_8_Add_C
#define FUNC_VA   V_Pass_Avrg_8_Add_C
#define FUNC_HA_UP   H_Pass_Avrg_Up_8_Add_C
#define FUNC_VA_UP   V_Pass_Avrg_Up_8_Add_C

Variable Documentation

const int FIR_Tab_16[17][16]
static
Initial value:
= {
{ 14, -3, 2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 23, 19, -6, 3, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ -7, 20, 20, -6, 3, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 3, -6, 20, 20, -6, 3, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ -1, 3, -6, 20, 20, -6, 3, -1, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, -1, 3, -6, 20, 20, -6, 3, -1, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, -1, 3, -6, 20, 20, -6, 3, -1, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, -1, 3, -6, 20, 20, -6, 3, -1, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, -1, 3, -6, 20, 20, -6, 3, -1, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, -1, 3, -6, 20, 20, -6, 3, -1, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, -1, 3, -6, 20, 20, -6, 3, -1, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, -1, 3, -6, 20, 20, -6, 3, -1, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, -1, 3, -6, 20, 20, -6, 3, -1 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 3, -6, 20, 20, -6, 3 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 3, -6, 20, 20, -7 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 3, -6, 19, 23 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 2, -3, 14 }
}
const int FIR_Tab_8[9][8]
static
Initial value:
= {
{ 14, -3, 2, -1, 0, 0, 0, 0 },
{ 23, 19, -6, 3, -1, 0, 0, 0 },
{ -7, 20, 20, -6, 3, -1, 0, 0 },
{ 3, -6, 20, 20, -6, 3, -1, 0 },
{ -1, 3, -6, 20, 20, -6, 3, -1 },
{ 0, -1, 3, -6, 20, 20, -6, 3 },
{ 0, 0, -1, 3, -6, 20, 20, -7 },
{ 0, 0, 0, -1, 3, -6, 19, 23 },
{ 0, 0, 0, 0, -1, 2, -3, 14 }
}