PDA

View Full Version : OpenMAX DL 1.0.2 Specification : 6.3.5.8.1 - SubAndTransform



sandeepkl
11-21-2008, 12:13 AM
Hi,

This is sandeep, seeking your help in understanding, OpenMAX DL 1.0.2 Specification : 6.3.5.8.1 : SubAndTransformQDQResidual API.

It says,

"This function can also output dequantized coefficients or unquantized DC
coefficients optionally by setting the pointers pDstDeQuantCoeff, pDCCoeff".

Output Parameters
pDstDeQuantCoeff - Pointer to the dequantized transformed coefficients if this parameter is not
equal to NULL. 8-byte alignment required.
pDCCoeff - Pointer to the unquantized DC coefficient if this parameter is not equal to NULL.

Returns
OMX_Sts_BadArgErr bad arguments; returned if any of the following conditions are true:
at least one of the following pointers is NULL: pSrcOrg, pSrcPred, pNumCoeff,
pDstQuantCoeff, pDstDeQuantCoeff, pDCCoeff.

If we consider first and second statement, we can give NULL to pDstDeQuantCoeff, pDCCoeff, if we do not want it
to do dequantization and transform.

If we consider last statement, we can not give NULL to those arguments, as it returns bad argument.

So, are they mandatory or optional arguments?

Please clarify.

Thanks,
Sandeep K L.