comparison dsputil.h @ 10370:6009feb54020 libavcodec

Move HuffYUV left prediction to dsputil. Patch by Nathan Caldwell, saintdev gmail
author cehoyos
date Tue, 06 Oct 2009 16:06:15 +0000
parents 4d1b9ca628fc
children 866dffa620d1
comparison
equal deleted inserted replaced
10369:71a38fce15bc 10370:6009feb54020
347 * subtract huffyuv's variant of median prediction 347 * subtract huffyuv's variant of median prediction
348 * note, this might read from src1[-1], src2[-1] 348 * note, this might read from src1[-1], src2[-1]
349 */ 349 */
350 void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top); 350 void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top);
351 void (*add_hfyu_median_prediction)(uint8_t *dst, uint8_t *top, uint8_t *diff, int w, int *left, int *left_top); 351 void (*add_hfyu_median_prediction)(uint8_t *dst, uint8_t *top, uint8_t *diff, int w, int *left, int *left_top);
352 int (*add_hfyu_left_prediction)(uint8_t *dst, uint8_t *src, int w, int acc);
353 void (*add_hfyu_left_prediction_bgr32)(uint8_t *dst, uint8_t *src, int w, int *red, int *green, int *blue);
352 /* this might write to dst[w] */ 354 /* this might write to dst[w] */
353 void (*add_png_paeth_prediction)(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); 355 void (*add_png_paeth_prediction)(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp);
354 void (*bswap_buf)(uint32_t *dst, const uint32_t *src, int w); 356 void (*bswap_buf)(uint32_t *dst, const uint32_t *src, int w);
355 357
356 void (*h264_v_loop_filter_luma)(uint8_t *pix/*align 16*/, int stride, int alpha, int beta, int8_t *tc0); 358 void (*h264_v_loop_filter_luma)(uint8_t *pix/*align 16*/, int stride, int alpha, int beta, int8_t *tc0);