aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-04-07 02:03:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-04-07 02:03:32 +0000
commit3bf43d42eda38abd5b75d004e1431d71aacfbe48 (patch)
tree125b6236234e228bfa5646155d59f9148e89ae9c /libavcodec/dsputil.c
parente1a9dbffed0b9d087d9f062ee61c493dd262caba (diff)
downloadffmpeg-3bf43d42eda38abd5b75d004e1431d71aacfbe48.tar.gz
mpeg4 mpeg quantizer support
Originally committed as revision 381 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r--libavcodec/dsputil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index dcfad05a5d..a4f900c460 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -47,6 +47,8 @@ UINT32 squareTbl[512];
extern UINT16 default_intra_matrix[64];
extern UINT16 default_non_intra_matrix[64];
+extern UINT16 ff_mpeg4_default_intra_matrix[64];
+extern UINT16 ff_mpeg4_default_non_intra_matrix[64];
UINT8 zigzag_direct[64] = {
0, 1, 8, 16, 9, 2, 3, 10,
@@ -953,6 +955,8 @@ void dsputil_init(void)
}
block_permute(default_intra_matrix);
block_permute(default_non_intra_matrix);
+ block_permute(ff_mpeg4_default_intra_matrix);
+ block_permute(ff_mpeg4_default_non_intra_matrix);
}
build_zigzag_end();