Mercurial > libavcodec.hg
comparison mpegvideo.h @ 19:82d4c9be9873 libavcodec
MMX/MMXEXT iDCT support, using external functions currently defined in libmpeg2
Gives average 13-20% mpeg decoding speedup on x86 systems.
author | arpi_esp |
---|---|
date | Fri, 03 Aug 2001 18:33:03 +0000 |
parents | 174ef88f619a |
children | d99e8a2351f4 |
comparison
equal
deleted
inserted
replaced
18:1d2077091e88 | 19:82d4c9be9873 |
---|---|
177 DCTELEM block[6][64] __align8; | 177 DCTELEM block[6][64] __align8; |
178 void (*dct_unquantize)(struct MpegEncContext *s, | 178 void (*dct_unquantize)(struct MpegEncContext *s, |
179 DCTELEM *block, int n, int qscale); | 179 DCTELEM *block, int n, int qscale); |
180 } MpegEncContext; | 180 } MpegEncContext; |
181 | 181 |
182 extern const UINT8 zigzag_direct[64]; | 182 //const |
183 extern UINT8 zigzag_direct[64]; | |
183 | 184 |
184 int MPV_common_init(MpegEncContext *s); | 185 int MPV_common_init(MpegEncContext *s); |
185 void MPV_common_end(MpegEncContext *s); | 186 void MPV_common_end(MpegEncContext *s); |
186 void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64]); | 187 void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64]); |
187 void MPV_frame_start(MpegEncContext *s); | 188 void MPV_frame_start(MpegEncContext *s); |