Commit fecd2f72 authored by melanson's avatar melanson

cut over to using new VP3 DSP functions and remove the old ones; bring

certain source code identifiers in line with official VP3 spec (well,
*my* VP3 spec, anyway)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2856 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 613e7166
This diff is collapsed.
#ifndef VP3DATA_H #ifndef VP3DATA_H
#define VP3DATA_H #define VP3DATA_H
/* these coefficients dequantize intraframe Y plane coefficients */ /* these coefficients dequantize intraframe Y plane coefficients
* (note: same as JPEG) */
static int16_t vp31_intra_y_dequant[64] = static int16_t vp31_intra_y_dequant[64] =
{ 16, 11, 10, 16, 24, 40, 51, 61, { 16, 11, 10, 16, 24, 40, 51, 61,
12, 12, 14, 19, 26, 58, 60, 55, 12, 12, 14, 19, 26, 58, 60, 55,
...@@ -13,7 +14,8 @@ static int16_t vp31_intra_y_dequant[64] = ...@@ -13,7 +14,8 @@ static int16_t vp31_intra_y_dequant[64] =
72, 92, 95, 98, 112, 100, 103, 99 72, 92, 95, 98, 112, 100, 103, 99
}; };
/* these coefficients dequantize intraframe C plane coefficients */ /* these coefficients dequantize intraframe C plane coefficients
* (note: same as JPEG) */
static int16_t vp31_intra_c_dequant[64] = static int16_t vp31_intra_c_dequant[64] =
{ 17, 18, 24, 47, 99, 99, 99, 99, { 17, 18, 24, 47, 99, 99, 99, 99,
18, 21, 26, 66, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99,
...@@ -48,7 +50,7 @@ static int16_t vp31_dc_scale_factor[64] = ...@@ -48,7 +50,7 @@ static int16_t vp31_dc_scale_factor[64] =
20, 10, 10, 10, 10, 10, 10, 10 20, 10, 10, 10, 10, 10, 10, 10
}; };
static uint32_t vp31_quality_threshold[64] = static uint32_t vp31_ac_scale_factor[64] =
{ 500, 450, 400, 370, 340, 310, 285, 265, { 500, 450, 400, 370, 340, 310, 285, 265,
245, 225, 210, 195, 185, 180, 170, 160, 245, 225, 210, 195, 185, 180, 170, 160,
150, 145, 135, 130, 125, 115, 110, 107, 150, 145, 135, 130, 125, 115, 110, 107,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment