comparison dsputil.h @ 8760:31138c296ac6 libavcodec

ff_add_hfyu_median_prediction_mmx2 overall ffvhuff decoding speedup: 28% on core2, 25% on k8.
author lorenm
date Sun, 08 Feb 2009 17:45:30 +0000
parents e9d9d946f213
children bee83b3f9a6b
comparison
equal deleted inserted replaced
8759:4cea2f47219a 8760:31138c296ac6
343 /** 343 /**
344 * subtract huffyuv's variant of median prediction 344 * subtract huffyuv's variant of median prediction
345 * note, this might read from src1[-1], src2[-1] 345 * note, this might read from src1[-1], src2[-1]
346 */ 346 */
347 void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top); 347 void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top);
348 void (*add_hfyu_median_prediction)(uint8_t *dst, uint8_t *top, uint8_t *diff, int w, int *left, int *left_top);
348 /* this might write to dst[w] */ 349 /* this might write to dst[w] */
349 void (*add_png_paeth_prediction)(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); 350 void (*add_png_paeth_prediction)(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp);
350 void (*bswap_buf)(uint32_t *dst, const uint32_t *src, int w); 351 void (*bswap_buf)(uint32_t *dst, const uint32_t *src, int w);
351 352
352 void (*h264_v_loop_filter_luma)(uint8_t *pix/*align 16*/, int stride, int alpha, int beta, int8_t *tc0); 353 void (*h264_v_loop_filter_luma)(uint8_t *pix/*align 16*/, int stride, int alpha, int beta, int8_t *tc0);