// CodeGear C++Builder
// Copyright (c) 1995, 2015 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'hvideocap.pas' rev: 30.00 (Windows)

#ifndef HvideocapHPP
#define HvideocapHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Winapi.Messages.hpp>
#include <System.SysUtils.hpp>
#include <Vcl.StdCtrls.hpp>
#include <System.Classes.hpp>
#include <Vcl.Graphics.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.Forms.hpp>
#include <imageenview.hpp>
#include <imageenproc.hpp>
#include <hyiedefs.hpp>
#include <videocap.hpp>
#include <ieview.hpp>
#include <hyieutils.hpp>
#include <System.Types.hpp>

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

namespace Hvideocap
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TImageEnVideoCap;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TImageEnVideoCap _DEPRECATED_ATTRIBUTE0  : public System::Classes::TComponent
{
	typedef System::Classes::TComponent inherited;
	
private:
	bool fCapture _DEPRECATED_ATTRIBUTE0 ;
	HWND fWndC _DEPRECATED_ATTRIBUTE0 ;
	System::Classes::TStringList* fDrivers _DEPRECATED_ATTRIBUTE0 ;
	int fVideoSource _DEPRECATED_ATTRIBUTE0 ;
	bool fCallBackFrame _DEPRECATED_ATTRIBUTE0 ;
	Videocap::TVideoFrameEvent fOnVideoFrame _DEPRECATED_ATTRIBUTE0 ;
	Videocap::TVideoFrameRawEvent fOnVideoFrameRaw _DEPRECATED_ATTRIBUTE0 ;
	NativeUInt fhBitmapInfo _DEPRECATED_ATTRIBUTE0 ;
	bool fBitmapInfoUp _DEPRECATED_ATTRIBUTE0 ;
	bool fConnected _DEPRECATED_ATTRIBUTE0 ;
	Hyiedefs::TIEJobEvent fOnJob _DEPRECATED_ATTRIBUTE0 ;
	NativeUInt fHDrawDib _DEPRECATED_ATTRIBUTE0 ;
	Hyieutils::TIEDibbitmap* fBitmap _DEPRECATED_ATTRIBUTE0 ;
	void *fPix _DEPRECATED_ATTRIBUTE0 ;
	bool fDone _DEPRECATED_ATTRIBUTE0 ;
	bool fDriverBusy _DEPRECATED_ATTRIBUTE0 ;
	bool fEnding _DEPRECATED_ATTRIBUTE0 ;
	bool fUseWindowsCodec _DEPRECATED_ATTRIBUTE0 ;
	System::UnicodeString fRecFileName _DEPRECATED_ATTRIBUTE0 ;
	int fRecFrameRate _DEPRECATED_ATTRIBUTE0 ;
	bool fRecAudio _DEPRECATED_ATTRIBUTE0 ;
	bool fRecMultitask _DEPRECATED_ATTRIBUTE0 ;
	bool fRecording _DEPRECATED_ATTRIBUTE0 ;
	HWND fWinHandle _DEPRECATED_ATTRIBUTE0 ;
	
protected:
	void __fastcall SetCapture _DEPRECATED_ATTRIBUTE0 (bool v);
	void __fastcall DriverConnect _DEPRECATED_ATTRIBUTE0 (void);
	bool __fastcall DriverConnectNE _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall DriverDisconnect _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall FillDrivers _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall SetVideoSource _DEPRECATED_ATTRIBUTE0 (int v);
	bool __fastcall GetHasDlgVideoSource _DEPRECATED_ATTRIBUTE0 (void);
	bool __fastcall GetHasDlgVideoFormat _DEPRECATED_ATTRIBUTE0 (void);
	bool __fastcall GetHasDlgVideoDisplay _DEPRECATED_ATTRIBUTE0 (void);
	bool __fastcall GetHasOverlay _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall GetCaps _DEPRECATED_ATTRIBUTE0 (Videocap::TCAPDRIVERCAPS &fDriverCaps);
	void __fastcall SetCallBackFrame _DEPRECATED_ATTRIBUTE0 (bool v);
	void __fastcall SetOnVideoFrame _DEPRECATED_ATTRIBUTE0 (Videocap::TVideoFrameEvent v);
	void __fastcall SetOnVideoFrameRaw _DEPRECATED_ATTRIBUTE0 (Videocap::TVideoFrameRawEvent v);
	bool __fastcall FillBitmapInfo _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall CreateCaptureWindow _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall DestroyCaptureWindow _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall DoJob _DEPRECATED_ATTRIBUTE0 (Hyiedefs::TIEJob job, int per);
	void __fastcall AllocateWindow _DEPRECATED_ATTRIBUTE0 (void);
	System::Word __fastcall GetAudioFormat _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall SetAudioFormat _DEPRECATED_ATTRIBUTE0 (System::Word v);
	System::Word __fastcall GetAudioChannels _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall SetAudioChannels _DEPRECATED_ATTRIBUTE0 (System::Word v);
	unsigned __fastcall GetAudioSamplesPerSec _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall SetAudioSamplesPerSec _DEPRECATED_ATTRIBUTE0 (unsigned v);
	System::Word __fastcall GetAudioBitsPerSample _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall SetAudioBitsPerSample _DEPRECATED_ATTRIBUTE0 (System::Word v);
	void __fastcall GetWaveFormat _DEPRECATED_ATTRIBUTE0 (Videocap::TWAVEFORMATEX &wf);
	void __fastcall SetWaveFormat _DEPRECATED_ATTRIBUTE0 (Videocap::TWAVEFORMATEX &wf);
	
public:
	__fastcall virtual TImageEnVideoCap _DEPRECATED_ATTRIBUTE0 (System::Classes::TComponent* Owner);
	__fastcall virtual ~TImageEnVideoCap _DEPRECATED_ATTRIBUTE0 (void);
	__property bool Capture = {read=fCapture, write=SetCapture, default=0};
	bool __fastcall DoConfigureSource _DEPRECATED_ATTRIBUTE0 (void);
	bool __fastcall DoConfigureFormat _DEPRECATED_ATTRIBUTE0 (void);
	bool __fastcall DoConfigureDisplay _DEPRECATED_ATTRIBUTE0 (void);
	bool __fastcall DoConfigureCompression _DEPRECATED_ATTRIBUTE0 (void);
	__property System::Classes::TStringList* VideoSourceList = {read=fDrivers};
	__property bool HasOverlay = {read=GetHasOverlay, nodefault};
	__property bool HasDlgVideoSource = {read=GetHasDlgVideoSource, nodefault};
	__property bool HasDlgVideoFormat = {read=GetHasDlgVideoFormat, nodefault};
	__property bool HasDlgVideoDisplay = {read=GetHasDlgVideoDisplay, nodefault};
	void __fastcall StartRecord _DEPRECATED_ATTRIBUTE0 (void);
	void __fastcall StopRecord _DEPRECATED_ATTRIBUTE0 (void);
	__property System::UnicodeString RecFileName = {read=fRecFileName, write=fRecFileName};
	__property int RecFrameRate = {read=fRecFrameRate, write=fRecFrameRate, nodefault};
	__property bool RecAudio = {read=fRecAudio, write=fRecAudio, nodefault};
	__property bool RecMultitask = {read=fRecMultitask, write=fRecMultitask, nodefault};
	__property HWND WndCaptureHandle = {read=fWndC, nodefault};
	__property System::Word AudioFormat = {read=GetAudioFormat, write=SetAudioFormat, nodefault};
	__property System::Word AudioChannels = {read=GetAudioChannels, write=SetAudioChannels, nodefault};
	__property unsigned AudioSamplesPerSec = {read=GetAudioSamplesPerSec, write=SetAudioSamplesPerSec, nodefault};
	__property System::Word AudioBitsPerSample = {read=GetAudioBitsPerSample, write=SetAudioBitsPerSample, nodefault};
	System::Types::TRect __fastcall GetVideoSize _DEPRECATED_ATTRIBUTE0 (void);
	__property bool UseWindowsCodec = {read=fUseWindowsCodec, write=fUseWindowsCodec, nodefault};
	
__published:
	__property int VideoSource = {read=fVideoSource, write=SetVideoSource, default=0};
	__property Videocap::TVideoFrameEvent OnVideoFrame = {read=fOnVideoFrame, write=SetOnVideoFrame};
	__property Videocap::TVideoFrameRawEvent OnVideoFrameRaw = {read=fOnVideoFrameRaw, write=SetOnVideoFrameRaw};
	__property Hyiedefs::TIEJobEvent OnJob = {read=fOnJob, write=fOnJob};
};


//-- var, const, procedure ---------------------------------------------------
static const System::Word VH_FRAMEMESSAGE = System::Word(0x1788);
static const System::Word VH_DESTROYWINDOW = System::Word(0x1789);
}	/* namespace Hvideocap */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_HVIDEOCAP)
using namespace Hvideocap;
#endif
#pragma pack(pop)
#pragma option pop

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