Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Pixel » AvsFilter_MakePixel

AvsFilter_MakePixel


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

Header: AVL.h
Namespace: avs
Module: FoundationLite

Creates a pixel structure from individual fields.

Syntax

void avs::AvsFilter_MakePixel
(
	float inX,
	float inY,
	float inZ,
	float inW,
	avl::Pixel& outPixel
)

Parameters

Name Type Default Description
Input value inX float Input value of channel x
Input value inY float Input value of channel y
Input value inZ float Input value of channel z
Input value inW float Input value of channel w
Output value outPixel Pixel& Output location

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.