GetNoiseProfile Function

The GetNoiseProfile function receives the embedded information for the current frame in SiplControlEmbedInfo structure and the parameter maxSupportedNoiseProfiles variable and puts the generated noise profile number in noiseProfile variable. SiplControlEmbedInfo structure is defined in the SiplControlEmbedData section and maxSupportedNoiseProfiles is an integer ranging from 1 to 32, specifying the max number of allowed noise profiles to be used by the plugin.

Declaration

SIPLStatus GetNoiseProfile(const SiplControlEmbedInfo& currFrameEmbedInfo,const uint32_t maxSupportedNoiseProfiles,
   uint32_t& noiseProfile)

Parameters

currFrameEmbedInfo: Specifies the input embedded info parameters for the current frame.

maxSupportedNoiseProfiles: Specifies the input max number of allowed noise profiles to be used by the plugin.

noiseProfile: Specifies the output calculated noise profile number.

Return Value

NVSIPL_STATUS_OK: Success.

NVSIPL_STATUS_ERROR: An error occurred.