libavcodec/vp56data.h File Reference

VP5 and VP6 compatible video decoder (common data). More...

#include "libavutil/common.h"

Go to the source code of this file.

Data Structures

struct  VP56Tree

Enumerations

enum  VP56Frame {
  VP56_FRAME_NONE = -1, VP56_FRAME_CURRENT = 0, VP56_FRAME_PREVIOUS = 1, VP56_FRAME_GOLDEN = 2,
  VP56_FRAME_GOLDEN2 = 3, VP56_FRAME_UNUSED = 4, VP56_FRAME_UNUSED2 = 5
}
enum  VP56mb {
  VP56_MB_INTER_NOVEC_PF = 0, VP56_MB_INTRA = 1, VP56_MB_INTER_DELTA_PF = 2, VP56_MB_INTER_V1_PF = 3,
  VP56_MB_INTER_V2_PF = 4, VP56_MB_INTER_NOVEC_GF = 5, VP56_MB_INTER_DELTA_GF = 6, VP56_MB_INTER_4V = 7,
  VP56_MB_INTER_V1_GF = 8, VP56_MB_INTER_V2_GF = 9
}

Variables

const uint8_t vp56_b2p []
const uint8_t vp56_b6to4 []
const uint8_t vp56_coeff_parse_table [6][11]
const uint8_t vp56_def_mb_types_stats [3][10][2]
const VP56Tree vp56_pva_tree []
const VP56Tree vp56_pc_tree []
const uint8_t vp56_coeff_bias []
const uint8_t vp56_coeff_bit_length []
static const VP56Frame vp56_reference_frame []
static const uint8_t vp56_ac_dequant [64]
static const uint8_t vp56_dc_dequant [64]
static const uint8_t vp56_pre_def_mb_type_stats [16][3][10][2]
static const uint8_t vp56_filter_threshold []
static const uint8_t vp56_mb_type_model_model []
static const VP56Tree vp56_pmbtm_tree []
static const VP56Tree vp56_pmbt_tree []
static const int8_t vp56_candidate_predictor_pos [12][2]


Detailed Description

VP5 and VP6 compatible video decoder (common data).

Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>

This file is part of FFmpeg.

FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file vp56data.h.


Enumeration Type Documentation

enum VP56Frame

Enumerator:
VP56_FRAME_NONE 
VP56_FRAME_CURRENT 
VP56_FRAME_PREVIOUS 
VP56_FRAME_GOLDEN 
VP56_FRAME_GOLDEN2 
VP56_FRAME_UNUSED 
VP56_FRAME_UNUSED2 

Definition at line 29 of file vp56data.h.

enum VP56mb

Enumerator:
VP56_MB_INTER_NOVEC_PF  Inter MB, no vector, from previous frame.
VP56_MB_INTRA  Intra MB.
VP56_MB_INTER_DELTA_PF  Inter MB, above/left vector + delta, from previous frame.
VP56_MB_INTER_V1_PF  Inter MB, first vector, from previous frame.
VP56_MB_INTER_V2_PF  Inter MB, second vector, from previous frame.
VP56_MB_INTER_NOVEC_GF  Inter MB, no vector, from golden frame.
VP56_MB_INTER_DELTA_GF  Inter MB, above/left vector + delta, from golden frame.
VP56_MB_INTER_4V  Inter MB, 4 vectors, from previous frame.
VP56_MB_INTER_V1_GF  Inter MB, first vector, from golden frame.
VP56_MB_INTER_V2_GF  Inter MB, second vector, from golden frame.

Definition at line 39 of file vp56data.h.


Variable Documentation

const uint8_t vp56_ac_dequant[64] [static]

Initial value:

 {
    94, 92, 90, 88, 86, 82, 78, 74,
    70, 66, 62, 58, 54, 53, 52, 51,
    50, 49, 48, 47, 46, 45, 44, 43,
    42, 40, 39, 37, 36, 35, 34, 33,
    32, 31, 30, 29, 28, 27, 26, 25,
    24, 23, 22, 21, 20, 19, 18, 17,
    16, 15, 14, 13, 12, 11, 10,  9,
     8,  7,  6,  5,  4,  3,  2,  1,
}

Definition at line 79 of file vp56data.h.

Referenced by ff_vp56_init_dequant().

const uint8_t vp56_b2p[]

Definition at line 26 of file vp56data.c.

Referenced by vp56_add_predictors_dc(), and vp56_decode_mb().

const uint8_t vp56_b6to4[]

Definition at line 27 of file vp56data.c.

Referenced by vp56_add_predictors_dc(), vp5_parse_coeff(), and vp6_parse_coeff().

const int8_t vp56_candidate_predictor_pos[12][2] [static]

Initial value:

 {
    {  0, -1 },
    { -1,  0 },
    { -1, -1 },
    {  1, -1 },
    {  0, -2 },
    { -2,  0 },
    { -2, -1 },
    { -1, -2 },
    {  1, -2 },
    {  2, -1 },
    { -2, -2 },
    {  2, -2 },
}

Definition at line 237 of file vp56data.h.

Referenced by vp56_get_vectors_predictors().

const uint8_t vp56_coeff_bias[]

Definition at line 65 of file vp56data.c.

Referenced by vp5_parse_coeff(), vp6_parse_coeff(), and vp6_parse_coeff_huffman().

const uint8_t vp56_coeff_bit_length[]

Definition at line 66 of file vp56data.c.

Referenced by vp5_parse_coeff(), and vp6_parse_coeff().

const uint8_t vp56_coeff_parse_table[6][11]

Definition at line 29 of file vp56data.c.

Referenced by vp5_parse_coeff(), and vp6_parse_coeff().

const uint8_t vp56_dc_dequant[64] [static]

Initial value:

 {
    47, 47, 47, 47, 45, 43, 43, 43,
    43, 43, 42, 41, 41, 40, 40, 40,
    40, 35, 35, 35, 35, 33, 33, 33,
    33, 32, 32, 32, 27, 27, 26, 26,
    25, 25, 24, 24, 23, 23, 19, 19,
    19, 19, 18, 18, 17, 16, 16, 16,
    16, 16, 15, 11, 11, 11, 10, 10,
     9,  8,  7,  5,  3,  3,  2,  2,
}

Definition at line 90 of file vp56data.h.

Referenced by ff_vp56_init_dequant().

const uint8_t vp56_def_mb_types_stats[3][10][2]

Definition at line 38 of file vp56data.c.

Referenced by vp5_default_models_init(), and vp6_default_models_init().

const uint8_t vp56_filter_threshold[] [static]

Initial value:

 {
    14, 14, 13, 13, 12, 12, 10, 10,
    10, 10,  8,  8,  8,  8,  8,  8,
     8,  8,  8,  8,  8,  8,  8,  8,
     8,  8,  8,  8,  8,  8,  8,  8,
     8,  8,  8,  8,  7,  7,  7,  7,
     7,  7,  6,  6,  6,  6,  6,  6,
     5,  5,  5,  5,  4,  4,  4,  4,
     4,  4,  4,  3,  3,  3,  3,  2,
}

Definition at line 200 of file vp56data.h.

Referenced by vp56_deblock_filter().

const uint8_t vp56_mb_type_model_model[] [static]

Initial value:

 {
    171, 83, 199, 140, 125, 104,
}

Definition at line 211 of file vp56data.h.

Referenced by vp56_parse_mb_type_models().

Definition at line 57 of file vp56data.c.

Referenced by vp5_parse_coeff(), and vp6_parse_coeff().

const VP56Tree vp56_pmbt_tree[] [static]

Initial value:

 {
    { 8, 1},
    { 4, 2},
    { 2, 4}, {-VP56_MB_INTER_NOVEC_PF}, {-VP56_MB_INTER_DELTA_PF},
    { 2, 5}, {-VP56_MB_INTER_V1_PF},    {-VP56_MB_INTER_V2_PF},
    { 4, 3},
    { 2, 6}, {-VP56_MB_INTRA},          {-VP56_MB_INTER_4V},
    { 4, 7},
    { 2, 8}, {-VP56_MB_INTER_NOVEC_GF}, {-VP56_MB_INTER_DELTA_GF},
    { 2, 9}, {-VP56_MB_INTER_V1_GF},    {-VP56_MB_INTER_V2_GF},
}

Definition at line 224 of file vp56data.h.

Referenced by vp56_parse_mb_type().

const VP56Tree vp56_pmbtm_tree[] [static]

Initial value:

 {
    { 4, 0},
    { 2, 1}, {-8}, {-4},
    { 8, 2},
    { 6, 3},
    { 4, 4},
    { 2, 5}, {-24}, {-20}, {-16}, {-12}, {-0},
}

Definition at line 215 of file vp56data.h.

Referenced by vp56_parse_mb_type_models().

const uint8_t vp56_pre_def_mb_type_stats[16][3][10][2] [static]

Definition at line 101 of file vp56data.h.

Referenced by vp56_parse_mb_type_models().

Definition at line 47 of file vp56data.c.

Referenced by vp5_parse_vector_adjustment(), and vp6_parse_vector_adjustment().

const VP56Frame vp56_reference_frame[] [static]

Initial value:

 {
    VP56_FRAME_PREVIOUS,  
    VP56_FRAME_CURRENT,   
    VP56_FRAME_PREVIOUS,  
    VP56_FRAME_PREVIOUS,  
    VP56_FRAME_PREVIOUS,  
    VP56_FRAME_GOLDEN,    
    VP56_FRAME_GOLDEN,    
    VP56_FRAME_PREVIOUS,  
    VP56_FRAME_GOLDEN,    
    VP56_FRAME_GOLDEN,    
}

Definition at line 66 of file vp56data.h.

Referenced by vp56_decode_mb(), and vp56_get_vectors_predictors().


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