• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavcodec/vp56data.c

Go to the documentation of this file.
00001 
00024 #include "vp56data.h"
00025 
00026 const uint8_t vp56_b2p[]   = { 0, 0, 0, 0, 1, 2, 3, 3, 3, 3 };
00027 const uint8_t vp56_b6to4[] = { 0, 0, 1, 1, 2, 3 };
00028 
00029 const uint8_t vp56_coeff_parse_table[6][11] = {
00030     { 159,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0 },
00031     { 145, 165,   0,   0,   0,   0,   0,   0,   0,   0,   0 },
00032     { 140, 148, 173,   0,   0,   0,   0,   0,   0,   0,   0 },
00033     { 135, 140, 155, 176,   0,   0,   0,   0,   0,   0,   0 },
00034     { 130, 134, 141, 157, 180,   0,   0,   0,   0,   0,   0 },
00035     { 129, 130, 133, 140, 153, 177, 196, 230, 243, 254, 254 },
00036 };
00037 
00038 const uint8_t vp56_def_mb_types_stats[3][10][2] = {
00039     { {  69, 42 }, {   1,  2 }, {  1,   7 }, {  44, 42 }, {  6, 22 },
00040       {   1,  3 }, {   0,  2 }, {  1,   5 }, {   0,  1 }, {  0,  0 }, },
00041     { { 229,  8 }, {   1,  1 }, {  0,   8 }, {   0,  0 }, {  0,  0 },
00042       {   1,  2 }, {   0,  1 }, {  0,   0 }, {   1,  1 }, {  0,  0 }, },
00043     { { 122, 35 }, {   1,  1 }, {  1,   6 }, {  46, 34 }, {  0,  0 },
00044       {   1,  2 }, {   0,  1 }, {  0,   1 }, {   1,  1 }, {  0,  0 }, },
00045 };
00046 
00047 const VP56Tree vp56_pva_tree[] = {
00048     { 8, 0},
00049     { 4, 1},
00050     { 2, 2}, {-0}, {-1},
00051     { 2, 3}, {-2}, {-3},
00052     { 4, 4},
00053     { 2, 5}, {-4}, {-5},
00054     { 2, 6}, {-6}, {-7},
00055 };
00056 
00057 const VP56Tree vp56_pc_tree[] = {
00058     { 4, 6},
00059     { 2, 7}, {-0}, {-1},
00060     { 4, 8},
00061     { 2, 9}, {-2}, {-3},
00062     { 2,10}, {-4}, {-5},
00063 };
00064 
00065 const uint8_t vp56_coeff_bias[] = { 0, 1, 2, 3, 4, 5, 7, 11, 19, 35, 67 };
00066 const uint8_t vp56_coeff_bit_length[] = { 0, 1, 2, 3, 4, 10 };

Generated on Fri Sep 16 2011 17:17:45 for FFmpeg by  doxygen 1.7.1