Mercurial > libavcodec.hg
comparison dsputil.h @ 1527:8ffd0c00e6df libavcodec
mmx2 optimization of huffyuv median encoding
author | michael |
---|---|
date | Mon, 13 Oct 2003 17:27:30 +0000 |
parents | daa70b33fc44 |
children | 1a9a63f59849 |
comparison
equal
deleted
inserted
replaced
1526:fcfa169fdbf8 | 1527:8ffd0c00e6df |
---|---|
232 op_pixels_abs_func pix_abs8x8_xy2; | 232 op_pixels_abs_func pix_abs8x8_xy2; |
233 | 233 |
234 /* huffyuv specific */ | 234 /* huffyuv specific */ |
235 void (*add_bytes)(uint8_t *dst/*align 16*/, uint8_t *src/*align 16*/, int w); | 235 void (*add_bytes)(uint8_t *dst/*align 16*/, uint8_t *src/*align 16*/, int w); |
236 void (*diff_bytes)(uint8_t *dst/*align 16*/, uint8_t *src1/*align 16*/, uint8_t *src2/*align 1*/,int w); | 236 void (*diff_bytes)(uint8_t *dst/*align 16*/, uint8_t *src1/*align 16*/, uint8_t *src2/*align 1*/,int w); |
237 /** | |
238 * subtract huffyuv's variant of median prediction | |
239 * note, this might read from src1[-1], src2[-1] | |
240 */ | |
241 void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top); | |
237 void (*bswap_buf)(uint32_t *dst, uint32_t *src, int w); | 242 void (*bswap_buf)(uint32_t *dst, uint32_t *src, int w); |
238 | 243 |
239 /* (I)DCT */ | 244 /* (I)DCT */ |
240 void (*fdct)(DCTELEM *block/* align 16*/); | 245 void (*fdct)(DCTELEM *block/* align 16*/); |
241 | 246 |