PDK API Guide for J721E
Nf_Config Struct Reference

Detailed Description

Connfiguration parameters of NF.

struct Nf_Config

Data Fields

uint32_t filterMode
 
uint32_t tableMode
 
uint32_t skipMode
 
uint32_t interleaveMode
 
int32_t outputShift
 
uint32_t outputOffset
 
uint32_t numSubTables
 
uint32_t subTableIdx
 
int32_t centralPixelWeight
 

Field Documentation

uint32_t Nf_Config::filterMode

Filter mode, 0= Bi-lateral filtering; 1= Generic 2D Filtering

uint32_t Nf_Config::tableMode

Defines what controls the selection of the sub table. 0 = Bi-lateral filtering Adaptive mode is Disabled, 1 = Bi-lateral filtering Adaptive mode is Enabled and the top left corner 4x4 avg is used to determine sub table

uint32_t Nf_Config::skipMode

0 - Disabled, 1- It will start the skip on the 1st or even 5x5 pixel. Interleave Mode : then skip on the 1st set/odd set of U and V 5x5 2- It will start the skip on the 2nd or odd 5x5 pixel. Interleave Mode : then skip on the 2nd set/odd set of U and V 5x5

uint32_t Nf_Config::interleaveMode

0 = Disabled, 1 = Enabled, When enabled it build the U and V 5x5 matrix by demultiplex the data into 2 separate 5x5 for processing. Ignored by the FVID2 driver, FVID2 driver internally sets it based Luma or chroma format This paramter is overwritten by the driver based on the input ddataFormat

int32_t Nf_Config::outputShift

Signed 4 bit value (24 is added before using it inside IP)

uint32_t Nf_Config::outputOffset

unsigned offset value to added to output after shifting and before clipping

uint32_t Nf_Config::numSubTables

0 : 1 table 1 : 2 sub tables 2 : 4 sub tables 3 : 8 sub tables

uint32_t Nf_Config::subTableIdx

(0 -7 ) Subtable to be statically. Only valid when adaptive_mode is disabled

int32_t Nf_Config::centralPixelWeight

8 bit unsigned in Bi-lateral filtering, 9 bit signed in Generic 2D Filtering