- General info
- Constants
- Functions/Parameters
- FResult GetMaxNrBuffers( int winid, Nat32 * MaxNrBuffers, Nat32 * retval )
Returns the maximum number of buffers that are available to offer video clip data to the platform.
Parameters
| MaxNrBuffers | Output parameter returning the maximum number of clip buffers.
|
| retval | Standard return value.
|
- FResult GetAvailableNrBuffers( int winid, Nat32 * AvailableNrBuffers, Nat32 * retval )
Returns the remaining number of clip buffers that are available to offer video clip data to the platform.
Parameters
| AvailableNrBuffers | Output parameter returning the remaining number of clip buffers.
|
| retval | Standard return value.
|
- FResult GetState( int winid, tmDigVdec_ClipDecodingState_t * ClipDecodingState, Nat32 * retval )
Returns the state of video decoder during video clip playback.
Parameters
| ClipDecodingState | Output parameter the state of video decoder during video clip playback.
|
| retval | Standard return value.
|
- FResult GetClipPlayEnabled( int winid, Bool * Enable, Nat32 * retval )
Returns whether the video decoder is in video clip playback mode.
Parameters
| Enable | Output parameter returning whether the video decoder is in video clip playback mode.
|
| retval | Standard return value.
|
- FResult EnableClipPlay( int winid, Bool enable, Nat32 * retval )
Enables or disables the video clip playback mode. If enabled, the video decoder no longer decodes the video stream that is offered on its streaming input, instead it awaits the arrival of video clip data that is offered via data buffers. If disabled, the video decoders switches back to decoding of the video stream that is offered on its streaming input.
Parameters
| enable | Indicates whether clip play feature has to be enabled (True) or disabled (False).
|
| retval | Standard return value.
|
- FResult AddData( int winid, Nat32 id, Nat32 size, Address Data, Bool endOfData, Nat32 * retval )
Queues a video clip buffer in front of the video decoder for video clip playback. This function can be called multiple times to queue multiple buffers.
Parameters
| id | Buffer identifier.
|
| size | The size in bytes of the buffer.
|
| Data | Pointer to the buffer.
|
| endOfData | Indicates if this buffer also signals the end of the clip data.
|
| retval | Standard return value.
|
- FResult Start( int winid, Nat32 * retval )
This function sends a request to start the decoding process. The actual completion of this request is notified via a corresponding notification function. The actual starting depends on the availability of data that is offered via AddData(). This data can be added both before and after this function is called.
Parameters
| retval | Standard return value.
|
- FResult Stop( int winid, Nat32 * retval )
This function sends a request to stop the decoding process. The actual completion of this request is notified via a corresponding notification function. This call also releases the pending buffers that have been offered to the platform via AddData().
Parameters
| retval | Standard return value.
|
Copyright © 2009, Koninklijke Philips Electronics N.V.