From: Lajos Molnar Date: Tue, 19 Jul 2016 22:31:22 +0000 (-0700) Subject: OMX: document time limits for some operations X-Git-Tag: android-x86-7.1-r1~144 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=90093ba0191066d68b218fe344835c03db96cfa6;p=android-x86%2Fframeworks-native.git OMX: document time limits for some operations Bug: 28408062 Bug: 28407319 Change-Id: I7e26eac1d653c871f129b0610e65221b081ba040 --- diff --git a/include/media/openmax/OMX_Core.h b/include/media/openmax/OMX_Core.h index 99a7622838..88dd585d74 100644 --- a/include/media/openmax/OMX_Core.h +++ b/include/media/openmax/OMX_Core.h @@ -516,6 +516,9 @@ typedef enum OMX_EVENTTYPE * but must signal the event no more than 40ms after the first frame in the batch. The frames * must be ordered by system timestamp inside and across batches. * + * The component shall signal the render-timestamp of the very first frame (as well as the + * first frame after each flush) unbatched (with nData1 set to 1) within 5 msec. + * * If component is doing frame-rate conversion, it must signal the render time of each * converted frame, and must interpolate media timestamps for in-between frames. * @@ -753,15 +756,21 @@ typedef struct OMX_TUNNELSETUPTYPE When the command is "OMX_CommandStateSet" the component will queue a state transition to the new state idenfied in nParam. + The component shall transition from executing to loaded state within 500 msec. + When the command is "OMX_CommandFlush", to flush a port's buffer queues, the command will force the component to return all buffers NOT CURRENTLY BEING PROCESSED to the application, in the order in which the buffers were received. + The component shall finish flusing each port within 5 msec. + When the command is "OMX_CommandPortDisable" or "OMX_CommandPortEnable", the component's port (given by the value of nParam) will be stopped or restarted. + The component shall finish disabling/reenabling each port within 5 msec. + When the command "OMX_CommandMarkBuffer" is used to mark a buffer, the pCmdData will point to a OMX_MARKTYPE structure containing the component handle of the component to examine the buffer chain for the mark. nParam1