Mercurial > libavcodec.hg
diff mpegvideo.h @ 13:174ef88f619a libavcodec
use block[] in structure to have it aligned on 8 bytes for mmx optimizations - dct_unquantize is always a function pointer - added specialized dct_unquantize_h263
author | glantau |
---|---|
date | Mon, 30 Jul 2001 23:26:26 +0000 |
parents | 1d3ac9654178 |
children | 82d4c9be9873 |
line wrap: on
line diff
--- a/mpegvideo.h Mon Jul 30 23:24:58 2001 +0000 +++ b/mpegvideo.h Mon Jul 30 23:26:26 2001 +0000 @@ -173,6 +173,10 @@ int interlaced_dct; int last_qscale; int first_slice; + + DCTELEM block[6][64] __align8; + void (*dct_unquantize)(struct MpegEncContext *s, + DCTELEM *block, int n, int qscale); } MpegEncContext; extern const UINT8 zigzag_direct[64]; @@ -182,6 +186,9 @@ void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64]); void MPV_frame_start(MpegEncContext *s); void MPV_frame_end(MpegEncContext *s); +#ifdef HAVE_MMX +void MPV_common_init_mmx(MpegEncContext *s); +#endif /* motion_est.c */