libavcodec/cavsdata.h File Reference

#include "cavs.h"

Go to the source code of this file.

Defines

#define EOB   0,0,0

Variables

const uint8_t ff_cavs_partition_flags [30]
const uint8_t ff_cavs_scan3x3 [4] = {4,5,7,8}
const uint8_t ff_cavs_chroma_qp [64]
const uint8_t ff_cavs_dequant_shift [64]
const uint16_t ff_cavs_dequant_mul [64]
const cavs_vector ff_cavs_un_mv = {0,0,1,NOT_AVAIL}
 mark block as unavailable, i.e.
const cavs_vector ff_cavs_dir_mv = {0,0,1,REF_DIR}
 mark block as "no prediction from this direction" e.g.
const cavs_vector ff_cavs_intra_mv = {0,0,1,REF_INTRA}
 mark block as using intra prediction
struct dec_2dvlc ff_cavs_intra_dec [7]
struct dec_2dvlc ff_cavs_inter_dec [7]
struct dec_2dvlc ff_cavs_chroma_dec [5]
static const uint8_t alpha_tab [64]
static const uint8_t beta_tab [64]
static const uint8_t tc_tab [64]
const int8_t ff_left_modifier_l [8] = { 0, -1, 6, -1, -1, 7, 6, 7 }
const int8_t ff_top_modifier_l [8] = { -1, 1, 5, -1, -1, 5, 7, 7 }
const int8_t ff_left_modifier_c [7] = { 5, -1, 2, -1, 6, 5, 6 }
const int8_t ff_top_modifier_c [7] = { 4, 1, -1, -1, 4, 6, 6 }


Define Documentation

#define EOB   0,0,0

Definition at line 102 of file cavsdata.h.


Variable Documentation

const uint8_t alpha_tab[64] [static]

Initial value:

 {
   0,  0,  0,  0,  0,  0,  1,  1,  1,  1,  1,  2,  2,  2,  3,  3,
   4,  4,  5,  5,  6,  7,  8,  9, 10, 11, 12, 13, 15, 16, 18, 20,
  22, 24, 26, 28, 30, 33, 33, 35, 35, 36, 37, 37, 39, 39, 42, 44,
  46, 48, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64
}

Definition at line 479 of file cavsdata.h.

const uint8_t beta_tab[64] [static]

Initial value:

 {
   0,  0,  0,  0,  0,  0,  1,  1,  1,  1,  1,  1,  1,  2,  2,  2,
   2,  2,  3,  3,  3,  3,  4,  4,  4,  4,  5,  5,  5,  5,  6,  6,
   6,  7,  7,  7,  8,  8,  8,  9,  9, 10, 10, 11, 11, 12, 13, 14,
  15, 16, 17, 18, 19, 20, 21, 22, 23, 23, 24, 24, 25, 25, 26, 27
}

Definition at line 486 of file cavsdata.h.

Definition at line 378 of file cavsdata.h.

Referenced by decode_residual_chroma().

const uint8_t ff_cavs_chroma_qp[64]

Initial value:

 {
  0,  1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,
  16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,
  32,33,34,35,36,37,38,39,40,41,42,42,43,43,44,44,
  45,45,46,46,47,47,48,48,48,49,49,49,50,50,50,51
}

Definition at line 62 of file cavsdata.h.

Referenced by decode_residual_chroma().

const uint16_t ff_cavs_dequant_mul[64]

Initial value:

 {
  32768,36061,38968,42495,46341,50535,55437,60424,
  32932,35734,38968,42495,46177,50535,55109,59933,
  65535,35734,38968,42577,46341,50617,55027,60097,
  32809,35734,38968,42454,46382,50576,55109,60056,
  65535,35734,38968,42495,46320,50515,55109,60076,
  65535,35744,38968,42495,46341,50535,55099,60087,
  65535,35734,38973,42500,46341,50535,55109,60097,
  32771,35734,38965,42497,46341,50535,55109,60099
}

Definition at line 80 of file cavsdata.h.

Referenced by decode_residual_block().

const uint8_t ff_cavs_dequant_shift[64]

Initial value:

 {
  14,14,14,14,14,14,14,14,
  13,13,13,13,13,13,13,13,
  13,12,12,12,12,12,12,12,
  11,11,11,11,11,11,11,11,
  11,10,10,10,10,10,10,10,
  10, 9, 9, 9, 9, 9, 9, 9,
  9, 8, 8, 8, 8, 8, 8, 8,
  7, 7, 7, 7, 7, 7, 7, 7
}

Definition at line 69 of file cavsdata.h.

Referenced by decode_residual_block().

const cavs_vector ff_cavs_dir_mv = {0,0,1,REF_DIR}

mark block as "no prediction from this direction" e.g.

forward motion vector in BWD partition

Definition at line 97 of file cavsdata.h.

Referenced by decode_mb_b(), and ff_cavs_init_pic().

Definition at line 241 of file cavsdata.h.

Referenced by decode_residual_inter().

Definition at line 104 of file cavsdata.h.

Referenced by decode_mb_i().

const cavs_vector ff_cavs_intra_mv = {0,0,1,REF_INTRA}

mark block as using intra prediction

Definition at line 100 of file cavsdata.h.

const uint8_t ff_cavs_partition_flags[30]

Definition at line 27 of file cavsdata.h.

Referenced by decode_mb_b(), ff_cavs_filter(), and ff_cavs_inter().

const uint8_t ff_cavs_scan3x3[4] = {4,5,7,8}

Definition at line 60 of file cavsdata.h.

Referenced by decode_mb_i().

const cavs_vector ff_cavs_un_mv = {0,0,1,NOT_AVAIL}

mark block as unavailable, i.e.

out of picture or not yet decoded

Definition at line 93 of file cavsdata.h.

Referenced by ff_cavs_init(), ff_cavs_init_mb(), ff_cavs_init_pic(), ff_cavs_mv(), and ff_cavs_next_mb().

const int8_t ff_left_modifier_c[7] = { 5, -1, 2, -1, 6, 5, 6 }

Definition at line 502 of file cavsdata.h.

Referenced by ff_cavs_modify_mb_i().

const int8_t ff_left_modifier_l[8] = { 0, -1, 6, -1, -1, 7, 6, 7 }

Definition at line 500 of file cavsdata.h.

Referenced by ff_cavs_modify_mb_i().

const int8_t ff_top_modifier_c[7] = { 4, 1, -1, -1, 4, 6, 6 }

Definition at line 503 of file cavsdata.h.

Referenced by ff_cavs_modify_mb_i().

const int8_t ff_top_modifier_l[8] = { -1, 1, 5, -1, -1, 5, 7, 7 }

Definition at line 501 of file cavsdata.h.

Referenced by ff_cavs_modify_mb_i().

const uint8_t tc_tab[64] [static]

Initial value:

 {
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
  2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4,
  5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9
}

Definition at line 493 of file cavsdata.h.


Generated on Fri Oct 26 02:38:15 2012 for FFmpeg by  doxygen 1.5.8