#define NewICMProgressProc(a)                     NewICMProgressUPP(a)
#define CallICMDataProc(a, b, c, d) InvokeICMDataUPP(b, c d, a)
#define CallICMFlushProc(a,b, c, d) InvokeICMFlushUPP(b, c,d, a)
#define CallICMProgressProc(a, b, c, d) InvokeICMProgressUPP(b, c,d, a)
#define NewICMDataProc(a)                         NewICMDataUPP(a)
#define NewStdPixProc(a)                          NewStdPixUPP(a)
enum {
anyCodec =1
};

enum{
bestSpeedCodec =1
};

enum {
kGraphicsExportRequestSettingsSelect=1
};

enum {
kImageDescriptionColorSpace=1
};

enum {
k422YpCbCr8PixelFormat =1
};

const kQTVisualContextTargetDimensions_WidthKey;
const kQTVisualContextTargetDimensions_HeightKey;
const kQTVisualContextTargetDimensionsKey;
const kQTVisualContextTargetDimensionsKey;
const kQTVisualContextPixelBufferAttributesKey;


typedef int ComponentPropertyClass;
typedef int ComponentPropertyID;
typedef int ComponentValuePtr;
typedef int ComponentValueType;
typedef int MediaSampleFlags;
typedef int ConstComponentValuePtr;
typedef int ICMDecompressionTrackingFlags;
typedef int ICMValidTimeFlags;
typedef int ICMDecompressionSessionRef;
typedef int QTVisualContextRef;
typedef int QTOpenGLTextureContextRef;
typedef int QTComponentPropertyListenerUPP;
typedef int ICMDecompressionFrameOptionsRef ;
typedef int ICMDecompressionSessionOptionsRef;
typedef int ICMDecompressionTrackingCallback;
typedef int ICMCompressionFrameOptionsRef;
typedef int ICMCompressorSourceFrameRef;
typedef int ICMCompressionSessionOptionsRef ;
typedef int ICMCompressorSessionRef ;
typedef int ICMMutableEncodedFrameRef;
typedef int  ICMEncodedFrameRef ;
typedef int ICMFrameType;
typedef int CodecFlags;
typedef int ICMCompressionSessionRef;
typedef int ICMEncodedFrameOutputCallback;

struct ImageDescription{
int width;
int height;
int cType;
int dataSize;
int idSize;
int vendor;
int spatialQuality;
int hRes;
int vRes;
int frameCount;
int depth;
int clutID;
int version;
int temporalQuality;
int name;
int revisionLevel;
};

typedef struct ImageDescription ImageDescription;

struct ICMSourceTrackingCallbackRecord{
};
typedef struct ICMSourceTrackingCallbackRecord ICMSourceTrackingCallbackRecord;

struct ICMEncodedFrameOutputRecord{
int encodedFrameOutputRefCon;
int encodedFrameOutputCallback;
int frameDataAllocator;
};
typedef struct ICMEncodedFrameOutputRecord ICMEncodedFrameOutputRecord;


const int kQTVisualContextWorkingColorSpaceKey;



enum {
kComponentPropertyFlagWillNotifyListeners =1
};

typedef struct  ICMDataProcRecord  * ICMDataProcRecordPtr;

int CustomGetFilePreview(int a,int b,int c, int d, int e, int f, int g, int h, int i, int j,int k);
int StandardGetFilePreview(int a,int b,int c, StandardFileReply  * d);
int InvokeICMFlushUPP(int a,int b,int c,int d);
int InvokeICMProgressUPP(int a,int b,int c,int d);
int InvokeICMDataUPP(int a,int b,int c,int d);
int SFGetFilePreview( Point   a,int b,int c,int d,int e,int f,int g);