diff src/libSAD/dither.h @ 4234:b293ce14a01a

partially works...
author Eugene Zagidullin <e.asphyx@gmail.com>
date Thu, 31 Jan 2008 12:04:13 +0300
parents 74c6f3d3cf1d
children 9a55e8237988
line wrap: on
line diff
--- a/src/libSAD/dither.h	Wed Jan 30 03:36:22 2008 +0300
+++ b/src/libSAD/dither.h	Thu Jan 31 12:04:13 2008 +0300
@@ -20,7 +20,7 @@
 #ifndef DITHER_H
 #define DITHER_H
 
-#include "libSAD.h"
+#include "common.h"
 
 #define SAD_ERROR_INCORRECT_INPUT_SAMPLEFORMAT -2
 #define SAD_ERROR_INCORRECT_OUTPUT_SAMPLEFORMAT -3
@@ -37,6 +37,8 @@
 /* private data */
 typedef struct {} SAD_dither_t;
 
+void SAD_dither_init_rand(uint32_t seed);
+
 SAD_dither_t* SAD_dither_init(SAD_buffer_format *inbuf_format, SAD_buffer_format *outbuf_format, int *error);
 int SAD_dither_free(SAD_dither_t* state);
 int SAD_dither_process_buffer (SAD_dither_t *state, void *inbuf, void *outbuf, int frames);