// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'hyiedefs.pas' rev: 4.00

#ifndef hyiedefsHPP
#define hyiedefsHPP

#pragma delphiheader begin
#pragma option push -w-
#include <Graphics.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Hyiedefs
{
//-- type declarations -------------------------------------------------------
#pragma pack(push, 1)
struct TBitmapInfoHeader256
{
	unsigned biSize;
	int biWidth;
	int biHeight;
	Word biPlanes;
	Word biBitCount;
	unsigned biCompression;
	unsigned biSizeImage;
	int biXPelsPerMeter;
	int biYPelsPerMeter;
	unsigned biClrUsed;
	unsigned biClrImportant;
	tagRGBQUAD Palette[2];
} ;
#pragma pack(pop)

typedef Windows::TPoint TPointArray[134217728];

typedef Windows::TPoint *PPointArray;

typedef void *TPointerArray[134217728];

typedef void * *PPointerArray;

typedef double TDoubleArray[134217728];

typedef double *PDoubleArray;

#pragma pack(push, 1)
struct TRGB
{
	Byte b;
	Byte g;
	Byte r;
} ;
#pragma pack(pop)

typedef TRGB *pRGB;

#pragma pack(push, 1)
struct TCMYK
{
	Byte c;
	Byte m;
	Byte y;
	Byte k;
} ;
#pragma pack(pop)

typedef TCMYK *PCMYK;

#pragma pack(push, 1)
struct TIELAB
{
	Byte l;
	Shortint a;
	Shortint b;
} ;
#pragma pack(pop)

typedef TIELAB *PIELAB;

typedef TCMYK TCMYKROW[134217728];

typedef TCMYK *PCMYKROW;

#pragma pack(push, 4)
struct T3dPoint
{
	double x;
	double y;
	double z;
} ;
#pragma pack(pop)

typedef TRGB RGBROW[134217728];

typedef TRGB *pRGBROW;

typedef Byte TBYTEROW[134217728];

typedef Byte *PBYTEROW;

typedef Byte *TBYTEROWS[134217728];

typedef PBYTEROW *PBYTEROWS;

typedef int IntegerArray[134217728];

typedef int *pIntegerArray;

typedef TRGB *PRGBArray[134217728];

typedef pRGB *pPRGBArray;

typedef TRGB *TRGBROWS[134217728];

typedef pRGBROW *PRGBROWS;

typedef Byte *TArrayOfPByte[134217728];

typedef Windows::PByte *PArrayOfPByte;

typedef void __fastcall (__closure *TIEProgressEvent)(System::TObject* Sender, int per);

#pragma option push -b-
enum TIEJob { iejNOTHING, iejGENERALPROCESSING, iejVIDEOCAP_CONNECTING };
#pragma option pop

typedef void __fastcall (__closure *TIEJobEvent)(System::TObject* Sender, TIEJob job, int per);

typedef bool *pboolean;

#pragma pack(push, 4)
struct TProgressRec
{
	TIEProgressEvent fOnProgress;
	System::TObject* Sender;
	int val;
	int tot;
	double per1;
	bool *Aborting;
} ;
#pragma pack(pop)

typedef TProgressRec *PProgressRec;

#pragma option push -b-
enum TResampleFilter { rfNone, rfTriangle, rfHermite, rfBell, rfBSpline, rfLanczos3, rfMitchell };
#pragma option pop

#pragma pack(push, 4)
struct THYIEGraphicHeader
{
	Word Count;
	Word HType;
	int Size;
} ;
#pragma pack(pop)

#pragma option push -b-
enum TMsgLanguage { msSystem, msEnglish, msItalian, msGerman, msSpanish, msFrench, msPortuguese, msGreek, 
	msRussian, msUser };
#pragma option pop

typedef TMsgLanguage TMsgLanguageR;

#pragma option push -b-
enum TMsgLanguageWords { IEMSG_PREVIEW, IEMSG_SOURCE, IEMSG_RESULT, IEMSG_OK, IEMSG_CANCEL, IEMSG_LOCKPREVIEW, 
	IEMSG_COPYRESULTTOSOURCE, IEMSG_CONTRAST, IEMSG_BRIGHTNESS, IEMSG_HUE, IEMSG_SATURATION, IEMSG_VALUE, 
	IEMSG_BASECOLOR, IEMSG_NEWCOLOR, IEMSG_LUMINOSITY, IEMSG_RED, IEMSG_GREEN, IEMSG_BLUE, IEMSG_FILTERVALUES, 
	IEMSG_PRESETS, IEMSG_DIVISOR, IEMSG_LOAD, IEMSG_SAVE, IEMSG_EQUALIZATION, IEMSG_THRESHOLD, IEMSG_EQUALIZE, 
	IEMSG_HISTOGRAM, IEMSG_GRAY, IEMSG_LIGHT, IEMSG_LEFT, IEMSG_TOP, IEMSG_WIDTH, IEMSG_HEIGHT, IEMSG_COLOR, 
	IEMSG_SOURCEIMAGEQUANTITY, IEMSG_LENS, IEMSG_REFRACTION, IEMSG_PARAMETERSPREVIEW, IEMSG_QUALITY, IEMSG_DCTMETHOD, 
	IEMSG_SMOOTHINGFACTOR, IEMSG_GRAYSCALE, IEMSG_OPTIMALHUFFMAN, IEMSG_ORIGINALSIZE, IEMSG_COMPRESSEDSIZE, 
	IEMSG_ADVANCED, IEMSG_PROGRESSIVE, IEMSG_COMPRESSION, IEMSG_IMAGEINDEX, IEMSG_PHOTOMETRIC, IEMSG_SCANNDEDDOCUMENTINFO, 
	IEMSG_NAME, IEMSG_DESCRIPTION, IEMSG_PAGENAME, IEMSG_PAGENUMBER, IEMSG_OF, IEMSG_HORIZPOSITIONINCH, 
	IEMSG_VERTPOSITIONINCH, IEMSG_COLORS, IEMSG_TRANSPARENT, IEMSG_TRANSPARENTCOLOR, IEMSG_INTERLACED, 
	IEMSG_BACKGROUND, IEMSG_HORIZPOSITION, IEMSG_VERTPOSITION, IEMSG_DELAYTIME, IEMSG_FILTER, IEMSG_WAVE, 
	IEMSG_AMPLITUDE, IEMSG_WAVELENGTH, IEMSG_PHASE, IEMSG_REFLECTIVE, IEMSG_USERFILTER, IEMSG_MORPHFILTER, 
	IEMSG_WINDOWSIZE, IEMSG_MAXIMUM, IEMSG_MINIMUM, IEMSG_OPEN, IEMSG_CLOSE, IEMSG_ROTATE, IEMSG_FLIP, 
	IEMSG_FLIPHOR, IEMSG_FLIPVER, IEMSG_FREQUENCYDOMAINIMAGE, IEMSG_SELECTTHEREGIONTOCLEAR, IEMSG_CLEAR, 
	IEMSG_RESET };
#pragma option pop

typedef TMsgLanguageWords TMsgLanguageWordsR;

#pragma pack(push, 4)
struct TIEAnimPoly
{
	Windows::TPoint *Poly;
	int PolyCount;
	Graphics::TColor Color1;
	Graphics::TColor Color2;
	bool Animated;
	int AniFt;
	int C1;
	Graphics::TCanvas* Canvas;
	int RX1;
	int RY1;
	int RX2;
	int RY2;
	bool Enabled;
	bool Sizeable;
} ;
#pragma pack(pop)

typedef TIEAnimPoly *PIEAnimPoly;

typedef AnsiString hyiedefs__1[87];

typedef AnsiString hyiedefs__2[9][87];

//-- var, const, procedure ---------------------------------------------------
static const int IESELBREAK = 0xfffff;
static const int IEBI_IYU1 = 0x31555949;
static const int IEBI_IYU2 = 0x32555949;
static const int IEBI_UYVY = 0x59565955;
static const int IEBI_UYNV = 0x564e5955;
static const int IEBI_cyuv = 0x76757963;
static const int IEBI_YUY2 = 0x32595559;
static const int IEBI_YUNV = 0x564e5559;
static const int IEBI_YVYU = 0x55595659;
static const int IEBI_Y41P = 0x50313459;
static const int IEBI_Y211 = 0x31313259;
static const int IEBI_Y41T = 0x54313459;
static const int IEBI_Y42T = 0x54323459;
static const int IEBI_CLJR = 0x524a4c43;
static const int IEBI_YVU9 = 0x39555659;
static const int IEBI_IF09 = 0x39304649;
static const int IEBI_YV12 = 0x32315659;
static const int IEBI_I420 = 0x30323449;
static const int IEBI_IYUV = 0x56555949;
static const int IEBI_CLPL = 0x4c504c43;
extern PACKAGE AnsiString ieMessages[9][87];

}	/* namespace Hyiedefs */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Hyiedefs;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// hyiedefs
