Add Floyd-Steinberg dithering

This commit is contained in:
fruchti 2019-11-14 18:02:08 +01:00
parent 063dd4e1fd
commit 4f1dc9d998
3 changed files with 41 additions and 4 deletions

View file

@ -6,6 +6,10 @@
#define CAMERA_IMAGE_WIDTH 160
#define CAMERA_IMAGE_HEIGHT 144
// Use 2D Floyd-Steinberg dithering. Uncomment to use simple line-wise
// dithering.
#define CAMERA_USE_2D_DITHERING
extern volatile int Camera_Captured;
void Camera_Init(void);