Mercurial > vba-linux
view src/filters/hq_shared32.h @ 4:5f6f2134e8ce
apu appears to not be used
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:35:58 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_HQ_SHARED32_H2 #define VBA_HQ_SHARED32_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 #define abs32(value) (value & 0x7FFFFFFF)9 #define abs16(value) (value & 0x7FFF)11 const int Ymask = 0x00FF0000;12 const int Umask = 0x0000FF00;13 const int Vmask = 0x000000FF;14 const int trY = 0x00300000;15 const int trU = 0x00000700;16 const int trV = 0x00000006;18 void Interp1(unsigned char *pc, unsigned int c1, unsigned int c2);19 void Interp2(unsigned char *pc, unsigned int c1, unsigned int c2, unsigned int c3);20 void Interp3(unsigned char *pc, unsigned int c1, unsigned int c2);21 void Interp4(unsigned char *pc, unsigned int c1, unsigned int c2, unsigned int c3);22 void Interp5(unsigned char *pc, unsigned int c1, unsigned int c2);23 void Interp1_16(unsigned char *pc, unsigned short c1, unsigned short c2);24 void Interp2_16(unsigned char *pc, unsigned short c1, unsigned short c2, unsigned short c3);25 void Interp3_16(unsigned char *pc, unsigned short c1, unsigned short c2);26 void Interp4_16(unsigned char *pc, unsigned short c1, unsigned short c2, unsigned short c3);27 void Interp5_16(unsigned char *pc, unsigned short c1, unsigned short c2);28 bool Diff(unsigned int c1, unsigned int c2);29 unsigned int RGBtoYUV(unsigned int c);31 #endif // VBA_HQ_SHARED32_H