FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
indeo4data.h File Reference

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

#include <stdint.h>
#include "ivi_common.h"
#include "mathops.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_tscan_index_to_tab [15]
 
static const uint16_t ivi4_quant_8x8_intra [9][64]
 Indeo 4 dequant tables.
 
static const uint16_t ivi4_quant_8x8_inter [9][64]
 
static const uint16_t ivi4_quant_4x4_intra [5][16]
 
static const uint16_t ivi4_quant_4x4_inter [5][16]
 
static const 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 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 38 of file indeo4data.h.

Referenced by decode_pic_hdr().

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 45 of file indeo4data.h.

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 52 of file indeo4data.h.

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 56 of file indeo4data.h.

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 60 of file indeo4data.h.

const uint8_t* scan_index_to_tab[15]
static
const uint16_t ivi4_quant_8x8_intra[9][64]
static

Indeo 4 dequant tables.

Definition at line 90 of file indeo4data.h.

Referenced by decode_band_hdr().

const uint16_t ivi4_quant_8x8_inter[9][64]
static

Definition at line 183 of file indeo4data.h.

Referenced by decode_band_hdr().

const uint16_t ivi4_quant_4x4_intra[5][16]
static

Definition at line 276 of file indeo4data.h.

Referenced by decode_band_hdr().

const uint16_t ivi4_quant_4x4_inter[5][16]
static

Definition at line 309 of file indeo4data.h.

Referenced by decode_band_hdr().

const 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 346 of file indeo4data.h.

Referenced by decode_band_hdr().