diff 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
line wrap: on
line diff
--- a/dsputil.h	Mon Oct 13 14:37:04 2003 +0000
+++ b/dsputil.h	Mon Oct 13 17:27:30 2003 +0000
@@ -234,6 +234,11 @@
     /* huffyuv specific */
     void (*add_bytes)(uint8_t *dst/*align 16*/, uint8_t *src/*align 16*/, int w);
     void (*diff_bytes)(uint8_t *dst/*align 16*/, uint8_t *src1/*align 16*/, uint8_t *src2/*align 1*/,int w);
+    /**
+     * subtract huffyuv's variant of median prediction
+     * note, this might read from src1[-1], src2[-1]
+     */
+    void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top);
     void (*bswap_buf)(uint32_t *dst, uint32_t *src, int w);
     
     /* (I)DCT */