I am trying to retrieve the status information from a running decoder in OpenMAX (EZSDK 5.04).OMX_VIDEO_CONFIG_STATUS decode_status;OMX_INIT_PARAM(&decode_status);decode_status.nPortIndex = port;OMX_GetConfig(decoder_handle, OMX_TI_IndexConfigStatus, &decode_status);Used on the input port of a decoder, the GetConfig() returns OMX_ErrorUnsupportedIndex.Used on the output port, it returns OMX_ErrorNotImplemented.Am I doing something incorrectly here? Alternatively, is there some other way to retrieve the IH264VDEC_Status or similar structures?Thanks,- Mark
XDM GetStatus is not implemented in OMX. For static/dynamic parameters, you can use setParam/GetParam with static/dynamic params indices.
Thank you for the reply. The real use case here was to find the output resolution of an H.264 decoder (when it changes as the stream changes), which as far as I can tell is only available in the IH264VDEC_Status structure, not in the IH264VDEC_DynamicParams. Other elements of that structure would be nice to know, but certainly nothing like as important. I currently have a hacky solution which partially decodes the bitstream on the ARM to pick out that resolution information - it is ugly and probably not sufficiently general for all bitstreams (hence the desire to just ask the decoder), but I can live with it for now if the feature is not implemented.
For runtime resolution change, decoder would give a message OMX_EventPortSettingsChanged, but yes still status is not known. We would try to add such config in next release. It is scheduled to be in October last week.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.