libavcodec/indeo4data.h File Reference

This file contains data needed for the Indeo 4 decoder. More...

#include <stdint.h>
#include "dsputil.h"
#include "ivi_common.h"

Go to the source code of this file.

Variables

static const uint16_t ivi4_common_pic_sizes [14]
 standard picture dimensions
static const uint8_t ivi4_alternate_scan_8x8 [64]
 Indeo 4 8x8 scan (zigzag) patterns.
static const uint8_t ivi4_alternate_scan_4x4 [16]
static const uint8_t ivi4_vertical_scan_4x4 [16]
static const uint8_t ivi4_horizontal_scan_4x4 [16]
static const uint8_t * scan_index_to_tab [15]
static uint16_t ivi4_quant_8x8_intra [9][64]
 Indeo 4 dequant tables.
static uint16_t ivi4_quant_8x8_inter [9][64]
static uint16_t ivi4_quant_4x4_intra [5][16]
static uint16_t ivi4_quant_4x4_inter [5][16]
static uint8_t quant_index_to_tab [22]
 Table for mapping quant matrix index from the bitstream into internal quant table number.


Detailed Description

This file contains data needed for the Indeo 4 decoder.

Definition in file indeo4data.h.


Variable Documentation

const uint8_t ivi4_alternate_scan_4x4[16] [static]

Initial value:

 {
    0, 1, 4, 5, 8, 12, 2, 3, 9, 13, 6, 7, 10, 11, 14, 15
}

Definition at line 51 of file indeo4data.h.

const uint8_t ivi4_alternate_scan_8x8[64] [static]

Initial value:

 {
     0,  8,  1,  9, 16, 24,  2,  3, 17, 25, 10, 11, 32, 40, 48, 56,
     4,  5,  6,  7, 33, 41, 49, 57, 18, 19, 26, 27, 12, 13, 14, 15,
    34, 35, 43, 42, 50, 51, 59, 58, 20, 21, 22, 23, 31, 30, 29, 28,
    36, 37, 38, 39, 47, 46, 45, 44, 52, 53, 54, 55, 63, 62, 61, 60
}
Indeo 4 8x8 scan (zigzag) patterns.

Definition at line 44 of file indeo4data.h.

const uint16_t ivi4_common_pic_sizes[14] [static]

Initial value:

 {
    640, 480, 320, 240, 160, 120, 704, 480, 352, 240, 352, 288, 176, 144
}
standard picture dimensions

Definition at line 37 of file indeo4data.h.

Referenced by decode_pic_hdr().

const uint8_t ivi4_horizontal_scan_4x4[16] [static]

Initial value:

 {
    0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
}

Definition at line 59 of file indeo4data.h.

uint16_t ivi4_quant_4x4_inter[5][16] [static]

Definition at line 308 of file indeo4data.h.

Referenced by decode_band_hdr().

uint16_t ivi4_quant_4x4_intra[5][16] [static]

Definition at line 275 of file indeo4data.h.

Referenced by decode_band_hdr().

uint16_t ivi4_quant_8x8_inter[9][64] [static]

Definition at line 182 of file indeo4data.h.

Referenced by decode_band_hdr().

uint16_t ivi4_quant_8x8_intra[9][64] [static]

Indeo 4 dequant tables.

Definition at line 89 of file indeo4data.h.

Referenced by decode_band_hdr().

const uint8_t ivi4_vertical_scan_4x4[16] [static]

Initial value:

 {
    0, 4, 8, 12, 1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15
}

Definition at line 55 of file indeo4data.h.

uint8_t quant_index_to_tab[22] [static]

Initial value:

 {
    0, 1, 0, 2, 1, 3, 0, 4, 1, 5, 0, 1, 6, 7, 8, 
    0, 1, 2, 2, 3, 3, 4                          
}
Table for mapping quant matrix index from the bitstream into internal quant table number.

Definition at line 345 of file indeo4data.h.

Referenced by decode_band_hdr().

const uint8_t* scan_index_to_tab[15] [static]

Initial value:

 {
    
    ff_zigzag_direct,
    ivi4_alternate_scan_8x8,
    ff_ivi_horizontal_scan_8x8,
    ff_ivi_vertical_scan_8x8,
    ff_zigzag_direct,

    
    ff_ivi_direct_scan_4x4,
    ivi4_alternate_scan_4x4,
    ivi4_vertical_scan_4x4,
    ivi4_horizontal_scan_4x4,
    ff_ivi_direct_scan_4x4,

    
    ff_ivi_horizontal_scan_8x8,
    ff_ivi_horizontal_scan_8x8,
    ff_ivi_horizontal_scan_8x8,
    ff_ivi_horizontal_scan_8x8,
    ff_ivi_horizontal_scan_8x8
}

Definition at line 63 of file indeo4data.h.

Referenced by decode_band_hdr().


Generated on Fri Oct 26 02:43:48 2012 for FFmpeg by  doxygen 1.5.8