OpenMAX IL 1.2 header doesn't compile: OMX_IVCommon.h

OMX_IVCommon.h uses OMX_MANUALFOCUSRECTTYPE (as part of the OMX_CONFIG_FOCUSREGIONCONTROLTYPE type) before declaring/defining it, making the file fail compilation:


$ grep OMX_MANUALFOCUSRECTTYPE OMX_IVCommon.h 
    OMX_MANUALFOCUSRECTTYPE sManualFRegions[1];
typedef struct OMX_MANUALFOCUSRECTTYPE {
} OMX_MANUALFOCUSRECTTYPE;

This is from http://www.khronos.org/registry/omxil/a … Header.zip linked from http://www.khronos.org/registry/omxil/
Should those headers not be used yet?

This error has been identified and corrected in our internal repository, but it seems the wrong version has been uploaded to the web-site. We will work on correcting this, and upload a new version soon.

The new version will move the OMX_MANUALFOCUSRECTTYPE definition just before the OMX_CONFIG_FOCUSREGIONCONTROLTYPE one, in place of just after. Waiting for the update, you can already apply the fix.

Even if the specification is still at provisional state, the headers are expected to be usable. Do not hesitate to report any other error you may find!

For information, the corrected header file is now uploaded.