This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 IIR Coeefecients

Hello,

I am implementing Autofocus function in dm368, but while working with that i am facing some problems.In some scenarios the values from AF engine are proper but some times it is to bad.As per the AutoFocus merit function the value coming from AF engine is good when the image is in focus, but in some scenes the bigger values are coming when the image is completely out-of focus.These are my IIR coefficients   

.afIirCoeff0[0] = 13,
.afIirCoeff0[1] = 5,
.afIirCoeff0[2] = -51,
.afIirCoeff0[3] = 10,
.afIirCoeff0[4] = 20,
.afIirCoeff0[5] = 10,
.afIirCoeff0[6] = 31,
.afIirCoeff0[7] = -51,
.afIirCoeff0[8] = 41,
.afIirCoeff0[9] = -81,
.afIirCoeff0[10] = 41,


.afIirCoeff1[0] = 11,
.afIirCoeff1[1] = -72,
.afIirCoeff1[2] = -50,
.afIirCoeff1[3] = 26,
.afIirCoeff1[4] = 51,
.afIirCoeff1[5] = 26,
.afIirCoeff1[6] = -92,
.afIirCoeff1[7] = -53,
.afIirCoeff1[8] = 19,
.afIirCoeff1[9] = -38,
.afIirCoeff1[10] = 19,

.afVfEnable = FALSE,
.afMedFiltEnable = TRUE,
.afRgbPos = 2,
.afFvAccMode = CSL_H3A_AF_FVMODE_SUM,
.afPaxStartX = 8,
.afPaxStartY = 16,
.afPaxNumH = 32,
.afPaxNumV = 24,

 Is there any wrong in my settings,Can any one give me the reference to set the iir coefficients and other AF settings.

Thanks in advance,

VenuGopal