mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
mpeg4 mpeg quantizer support
Originally committed as revision 381 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -122,3 +122,27 @@ static const UINT16 pixel_aspect[16][2]={
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
};
|
||||
|
||||
/* these matrixes will be permuted for the idct */
|
||||
INT16 ff_mpeg4_default_intra_matrix[64] = {
|
||||
8, 17, 18, 19, 21, 23, 25, 27,
|
||||
17, 18, 19, 21, 23, 25, 27, 28,
|
||||
20, 21, 22, 23, 24, 26, 28, 30,
|
||||
21, 22, 23, 24, 26, 28, 30, 32,
|
||||
22, 23, 24, 26, 28, 30, 32, 35,
|
||||
23, 24, 26, 28, 30, 32, 35, 38,
|
||||
25, 26, 28, 30, 32, 35, 38, 41,
|
||||
27, 28, 30, 32, 35, 38, 41, 45,
|
||||
};
|
||||
|
||||
INT16 ff_mpeg4_default_non_intra_matrix[64] = {
|
||||
16, 17, 18, 19, 20, 21, 22, 23,
|
||||
17, 18, 19, 20, 21, 22, 23, 24,
|
||||
18, 19, 20, 21, 22, 23, 24, 25,
|
||||
19, 20, 21, 22, 23, 24, 26, 27,
|
||||
20, 21, 22, 23, 25, 26, 27, 28,
|
||||
21, 22, 23, 24, 26, 27, 28, 30,
|
||||
22, 23, 24, 26, 27, 28, 30, 31,
|
||||
23, 24, 25, 27, 28, 30, 31, 33,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user