libavcodec/mpeg12decdata.h File Reference

MPEG1/2 decoder tables. More...

#include <stdint.h>
#include "mpegvideo.h"

Go to the source code of this file.

Defines

#define MB_TYPE_ZERO_MV   0x20000000
#define IS_ZERO_MV(a)   ((a)&MB_TYPE_ZERO_MV)

Variables

static const uint8_t table_mb_ptype [7][2]
static const uint32_t ptype2mb_type [7]
static const uint8_t table_mb_btype [11][2]
static const uint32_t btype2mb_type [11]
static const uint8_t non_linear_qscale [32]


Detailed Description

MPEG1/2 decoder tables.

Definition in file mpeg12decdata.h.


Define Documentation

#define IS_ZERO_MV (  )     ((a)&MB_TYPE_ZERO_MV)

Definition at line 36 of file mpeg12decdata.h.

#define MB_TYPE_ZERO_MV   0x20000000

Definition at line 35 of file mpeg12decdata.h.

Referenced by mpeg_decode_mb().


Variable Documentation

const uint32_t btype2mb_type[11] [static]

Initial value:

 {
                    MB_TYPE_INTRA,
                    MB_TYPE_L1,
                    MB_TYPE_L1   | MB_TYPE_CBP,
                    MB_TYPE_L0,
                    MB_TYPE_L0   | MB_TYPE_CBP,
                    MB_TYPE_L0L1,
                    MB_TYPE_L0L1 | MB_TYPE_CBP,
    MB_TYPE_QUANT | MB_TYPE_INTRA,
    MB_TYPE_QUANT | MB_TYPE_L1   | MB_TYPE_CBP,
    MB_TYPE_QUANT | MB_TYPE_L0   | MB_TYPE_CBP,
    MB_TYPE_QUANT | MB_TYPE_L0L1 | MB_TYPE_CBP,
}

Definition at line 72 of file mpeg12decdata.h.

Referenced by mpeg_decode_mb().

const uint8_t non_linear_qscale[32] [static]

Initial value:

 {
    0, 1, 2, 3, 4, 5, 6, 7,
    8,10,12,14,16,18,20,22,
    24,28,32,36,40,44,48,52,
    56,64,72,80,88,96,104,112,
}

Definition at line 86 of file mpeg12decdata.h.

Referenced by get_qscale().

const uint32_t ptype2mb_type[7] [static]

const uint8_t table_mb_btype[11][2] [static]

Initial value:

 {
    { 3, 5 }, 
    { 2, 3 }, 
    { 3, 3 }, 
    { 2, 4 }, 
    { 3, 4 }, 
    { 2, 2 }, 
    { 3, 2 }, 
    { 1, 6 }, 
    { 2, 6 }, 
    { 3, 6 }, 
    { 2, 5 }, 
}

Definition at line 58 of file mpeg12decdata.h.

Referenced by ff_mpeg12_init_vlcs().

const uint8_t table_mb_ptype[7][2] [static]

Initial value:

 {
    { 3, 5 }, 
    { 1, 2 }, 
    { 1, 3 }, 
    { 1, 1 }, 
    { 1, 6 }, 
    { 1, 5 }, 
    { 2, 5 }, 
}

Definition at line 38 of file mpeg12decdata.h.

Referenced by ff_mpeg12_init_vlcs().


Generated on Fri Oct 26 02:47:57 2012 for FFmpeg by  doxygen 1.5.8