Back to Adaptive Vision Library website

You are here: Start » Function Reference » Size » AvsFilter_MakeSize

AvsFilter_MakeSize


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Creates a size structure from individual fields.

Syntax

void avs::AvsFilter_MakeSize
(
	int inWidth,
	int inHeight,
	avl::Size& outSize
)

Parameters

Name Type Range Default Description
inWidth int 0 - Input width
inHeight int 0 - Input height
outSize Size& Output box

Hints

  • Consider using "Expand Structure Fields" command from the input port's context menu instead of this filter. This will make the program more concise and thus easier to understand in most cases.
  • "Make" filters should only be used when you need to create a structure explicitly and then use it in more than one further filters.