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
mbcoding.cpp File Reference
#include "portab.h"
#include "global.h"
#include "bitstream.h"
#include "vlc_codes.h"
+ Include dependency graph for mbcoding.cpp:

Data Structures

struct  VLC_TABLE
 

Macros

#define LEVELOFFSET   32
 

Functions

static int get_mv_data (Bitstream *bs)
 

Variables

static const VLC_TABLE coeff_tab [2][102]
 
static const byte max_level [2][2][64]
 
static const byte max_run [2][2][64]
 
static const VLC sprite_trajectory_len [15]
 
static const VLC mcbpc_intra_table [64]
 
static const VLC mcbpc_inter_table [257]
 
static const VLC cbpy_table [64]
 
static const VLC TMNMVtab0 []
 
static const VLC TMNMVtab1 []
 
static const VLC TMNMVtab2 []
 
static const VLC dc_lum_tab []
 

Data Structure Documentation

struct VLC_TABLE
+ Collaboration diagram for VLC_TABLE:
Data Fields
VLC vlc
EVENT event

Macro Definition Documentation

#define LEVELOFFSET   32

Function Documentation

static int get_mv_data ( Bitstream bs)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

const VLC_TABLE coeff_tab[2][102]
static
const byte max_level[2][2][64]
static
const byte max_run[2][2][64]
static
const VLC sprite_trajectory_len[15]
static
Initial value:
= {
{ 0x00 , 2},
{ 0x02 , 3}, { 0x03, 3}, { 0x04, 3}, { 0x05, 3}, { 0x06, 3},
{ 0x0E , 4}, { 0x1E, 5}, { 0x3E, 6}, { 0x7E, 7}, { 0xFE, 8},
{ 0x1FE, 9}, {0x3FE,10}, {0x7FE,11}, {0xFFE,12} }
const VLC mcbpc_intra_table[64]
static
Initial value:
= {
{-1, 0}, {20, 6}, {36, 6}, {52, 6}, {4, 4}, {4, 4}, {4, 4}, {4, 4},
{19, 3}, {19, 3}, {19, 3}, {19, 3}, {19, 3}, {19, 3}, {19, 3}, {19, 3},
{35, 3}, {35, 3}, {35, 3}, {35, 3}, {35, 3}, {35, 3}, {35, 3}, {35, 3},
{51, 3}, {51, 3}, {51, 3}, {51, 3}, {51, 3}, {51, 3}, {51, 3}, {51, 3},
{3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1},
{3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1},
{3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1},
{3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}, {3, 1}
}
const VLC mcbpc_inter_table[257]
static
const VLC cbpy_table[64]
static
Initial value:
= {
{-1, 0}, {-1, 0}, {6, 6}, {9, 6}, {8, 5}, {8, 5}, {4, 5}, {4, 5},
{2, 5}, {2, 5}, {1, 5}, {1, 5}, {0, 4}, {0, 4}, {0, 4}, {0, 4},
{12, 4}, {12, 4}, {12, 4}, {12, 4}, {10, 4}, {10, 4}, {10, 4}, {10, 4},
{14, 4}, {14, 4}, {14, 4}, {14, 4}, {5, 4}, {5, 4}, {5, 4}, {5, 4},
{13, 4}, {13, 4}, {13, 4}, {13, 4}, {3, 4}, {3, 4}, {3, 4}, {3, 4},
{11, 4}, {11, 4}, {11, 4}, {11, 4}, {7, 4}, {7, 4}, {7, 4}, {7, 4},
{15, 2}, {15, 2}, {15, 2}, {15, 2}, {15, 2}, {15, 2}, {15, 2}, {15, 2},
{15, 2}, {15, 2}, {15, 2}, {15, 2}, {15, 2}, {15, 2}, {15, 2}, {15, 2}
}
const VLC TMNMVtab0[]
static
Initial value:
= {
{3, 4}, {-3, 4}, {2, 3}, {2, 3}, {-2, 3}, {-2, 3}, {1, 2},
{1, 2}, {1, 2}, {1, 2}, {-1, 2}, {-1, 2}, {-1, 2}, {-1, 2}
}
const VLC TMNMVtab1[]
static
Initial value:
= {
{12, 10}, {-12, 10}, {11, 10}, {-11, 10},
{10, 9}, {10, 9}, {-10, 9}, {-10, 9},
{9, 9}, {9, 9}, {-9, 9}, {-9, 9},
{8, 9}, {8, 9}, {-8, 9}, {-8, 9},
{7, 7}, {7, 7}, {7, 7}, {7, 7},
{7, 7}, {7, 7}, {7, 7}, {7, 7},
{-7, 7}, {-7, 7}, {-7, 7}, {-7, 7},
{-7, 7}, {-7, 7}, {-7, 7}, {-7, 7},
{6, 7}, {6, 7}, {6, 7}, {6, 7},
{6, 7}, {6, 7}, {6, 7}, {6, 7},
{-6, 7}, {-6, 7}, {-6, 7}, {-6, 7},
{-6, 7}, {-6, 7}, {-6, 7}, {-6, 7},
{5, 7}, {5, 7}, {5, 7}, {5, 7},
{5, 7}, {5, 7}, {5, 7}, {5, 7},
{-5, 7}, {-5, 7}, {-5, 7}, {-5, 7},
{-5, 7}, {-5, 7}, {-5, 7}, {-5, 7},
{4, 6}, {4, 6}, {4, 6}, {4, 6},
{4, 6}, {4, 6}, {4, 6}, {4, 6},
{4, 6}, {4, 6}, {4, 6}, {4, 6},
{4, 6}, {4, 6}, {4, 6}, {4, 6},
{-4, 6}, {-4, 6}, {-4, 6}, {-4, 6},
{-4, 6}, {-4, 6}, {-4, 6}, {-4, 6},
{-4, 6}, {-4, 6}, {-4, 6}, {-4, 6},
{-4, 6}, {-4, 6}, {-4, 6}, {-4, 6}
}
const VLC TMNMVtab2[]
static
const VLC dc_lum_tab[]
static
Initial value:
= {
{0, 0}, {4, 3}, {3, 3}, {0, 3},
{2, 2}, {2, 2}, {1, 2}, {1, 2},
}