#ifndef __MYFILTERDATA__ #define __MYFILTERDATA__ #include "stdafx.h" #include "Common.h" typedef struct { uint t[3], n[3]; uchar c[4], dc[4]; } MyPixel; typedef struct MyFilterData { CSize size; MyPixel* img; int threshold; // 0-32 (min filesize: 6-8, deps on quality) int quality; // 0-4 (max pic qualty & filesize: 0) int lastframe; //AviUtl bool aviutlinit; uchar* row; } MyFilterData; #define DEF_THRESHOLD 6 #define DEF_QUALITY 3 #endif