Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/dsputil.h Tue Oct 06 15:30:08 2009 +0000 +++ b/dsputil.h Tue Oct 06 16:06:15 2009 +0000 @@ -349,6 +349,8 @@ */ void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top); void (*add_hfyu_median_prediction)(uint8_t *dst, uint8_t *top, uint8_t *diff, int w, int *left, int *left_top); + int (*add_hfyu_left_prediction)(uint8_t *dst, uint8_t *src, int w, int acc); + void (*add_hfyu_left_prediction_bgr32)(uint8_t *dst, uint8_t *src, int w, int *red, int *green, int *blue); /* this might write to dst[w] */ void (*add_png_paeth_prediction)(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); void (*bswap_buf)(uint32_t *dst, const uint32_t *src, int w);