BSOne.SFC/EM.Lib/ImageEn_SRC/Source/Delphi10.1Berlin/NeurQuant.hpp

66 lines
2.0 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'neurquant.pas' rev: 37.00 (Windows)
#ifndef neurquantHPP
#define neurquantHPP
#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Vcl.Graphics.hpp>
#include <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <imageenproc.hpp>
#include <hyiedefs.hpp>
#include <iexBitmaps.hpp>
//-- user supplied -----------------------------------------------------------
namespace Neurquant
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TIEQuantizer;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TIEQuantizer : public System::TObject
{
typedef System::TObject inherited;
private:
int fMethod;
void *fQT;
bool fGrayScale;
Hyiedefs::PRGBROW fSQ;
int fNCol;
Iexbitmaps::TIEBitmap* fSrcBmp;
int __fastcall GetRGBIndex(const Hyiedefs::TRGB cl);
public:
__fastcall TIEQuantizer(Iexbitmaps::TIEBitmap* SrcBitmap, Hyiedefs::TRGB *ColorMap, const System::NativeInt ColorMap_High, int NCol);
__fastcall virtual ~TIEQuantizer();
__property int RGBIndex[const Hyiedefs::TRGB cl] = {read=GetRGBIndex};
__property bool GrayScale = {read=fGrayScale, nodefault};
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Neurquant */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_NEURQUANT)
using namespace Neurquant;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // neurquantHPP