SynViewImageFormatParams

Description

Aggregates image parameters for use with SynView filters.

Structure fields and default values (if defined) are described below:

  • Box Aoi - Required fragment of image to stream
  • int HorizontalBinning - Number of horizontal pixels to combine together
  • int VerticalBinning - Number of vertical pixels to combine together
  • int HorizontalDecimation - Horizontal decimation(sub-sampling) of the image
  • int VerticalDecimation - Vertical decimation(sub-sampling) of the image
  • Bool ReverseX - Flip horizontally the image sent by the device
  • Bool ReverseY - Flip vertically the image sent by the device
struct SynViewImageFormatParams
{
	Box		Aoi;
	int		HorizontalBinning;
	int		VerticalBinning;
	int		HorizontalDecimation;
	int		VerticalDecimation;
	Bool	ReverseX;
	Bool	ReverseY;


	Box Aoi( void ) const					{ return Aoi;					};
	int HorizontalBinning( void ) const		{ return HorizontalBinning;		};
	int VerticalBinning( void ) const		{ return VerticalBinning;		};
	int HorizontalDecimation( void ) const	{ return HorizontalDecimation;	};
	int VerticalDecimation( void ) const	{ return VerticalDecimation;	};
	Bool ReverseX( void ) const				{ return ReverseX;				};
	Bool ReverseY( void ) const				{ return ReverseY;				};

	bool operator == ( const avs::SynViewImageFormatParams& rhs ) const
	{
		return Aoi == rhs.Aoi && 
			HorizontalBinning == rhs.HorizontalBinning && 
			VerticalBinning == rhs.VerticalBinning && 
			HorizontalDecimation == rhs.HorizontalDecimation && 
			VerticalDecimation == rhs.VerticalDecimation && 
			ReverseX == rhs.ReverseX && 
			ReverseY == rhs.ReverseY;
	}

	bool operator != ( const avs::SynViewImageFormatParams& rhs ) const
	{
		return !(operator==(rhs));
	}

};