TIOVX User Guide
vx_meta_format.h File Reference

Implementation of Meta Format Object. More...

Go to the source code of this file.

Data Structures

struct  tivx_meta_format_t
 Meta Format object internal state. More...
 

Functions

vx_status ownReleaseMetaFormat (vx_meta_format *meta)
 Releases a meta-format object. More...
 
vx_meta_format ownCreateMetaFormat (vx_context context)
 Creates a metaformat object. More...
 
vx_bool ownIsMetaFormatEqual (vx_meta_format meta1, vx_meta_format meta2, vx_enum ref_type)
 Check for equivalence between two meta format objects. More...
 

Detailed Description

Implementation of Meta Format Object.

Definition in file vx_meta_format.h.

Function Documentation

◆ ownReleaseMetaFormat()

vx_status ownReleaseMetaFormat ( vx_meta_format meta)

Releases a meta-format object.

Parameters
[in]metameta format object

◆ ownCreateMetaFormat()

vx_meta_format ownCreateMetaFormat ( vx_context  context)

Creates a metaformat object.

Parameters
[in]contextThe overall context object.
Returns
reference to vx_meta_format on success NULL on error

◆ ownIsMetaFormatEqual()

vx_bool ownIsMetaFormatEqual ( vx_meta_format  meta1,
vx_meta_format  meta2,
vx_enum  ref_type 
)

Check for equivalence between two meta format objects.

This API is used to check for equivalence between two meta format objects. The function returns true if they are equal and false if not.

Parameters
[in]meta1First meta format object to be compared.
[in]meta2Second meta format object to be compared.
[in]ref_typeType of both meta format objects to be compared. Note: this must be the same for each meta object. This information cannot be extracted from the meta object because the type gets set at verify time and this could be called prior.
Returns
vx_true_e in case of equal meta formats, vx_false else