The documentation states that the (INDTXSCWB) scaler is reconfigurable while in-use. (In the OpenMAX user guide, under "Features supported" it states "Support dynamic resolution change on both input and output side".)
My question, then, is how to actually access this dynamic resolution change feature? Is there a demo program using it?
Calling OMX_SetConfig on the handle with index OMX_TI_IndexConfigVidChResolution and a structure of type OMX_CONFIG_VIDCHANNEL_RESOLUTION looks like an interface which would work, but doesn't seem to in practice. Whenever I try to use it after the component has been running for a while, the SetConfig succeeds but after that the scaler stops returning buffers entirely (neither input or output buffers are returned, and the pipeline feeding it just locks up). The VPSS logs (from loggerSMDump) do not say anything about the change, containing only the initial setup of the scaler. The various demo programs (decode_display, etc.) do use this function, but only for static configuration before actually passing anything to the component.
- Mark