graphicscomposition/openwfcompositionengine/adaptation/include/owfnativestream.h
branchGCC_SURGE
changeset 99 ac1910f6e7cb
parent 0 5d03bc08d59c
equal deleted inserted replaced
96:faed0e24b58a 99:ac1910f6e7cb
    57     OWF_STREAM_ERROR_INVALID_STREAM     = -1,
    57     OWF_STREAM_ERROR_INVALID_STREAM     = -1,
    58     OWF_STREAM_ERROR_INVALID_OBSERVER   = -2,
    58     OWF_STREAM_ERROR_INVALID_OBSERVER   = -2,
    59     OWF_STREAM_ERROR_OUT_OF_MEMORY      = -3
    59     OWF_STREAM_ERROR_OUT_OF_MEMORY      = -3
    60 } OWF_STREAM_ERROR;
    60 } OWF_STREAM_ERROR;
    61 
    61 
    62 typedef WFCHandle           WFCNativeStreamType;
    62 // WFCNativeStreamType is defined in <WF/wfcplatform.h>
       
    63 
    63 /*!---------------------------------------------------------------------------
    64 /*!---------------------------------------------------------------------------
    64  * Converts from external WFC native stream handle type to internal OWF native stream handle type.
    65  * Converts from external WFC native stream handle type to internal OWF native stream handle type.
    65  * The internal handle MUST be persistant. The external handle may already be persistant.
    66  * The internal handle MUST be persistant. The external handle may already be persistant.
    66  * This method may fail, either due to memory, or due to the stream object not being supported by the compositor
    67  * This method may fail, either due to memory, or due to the stream object not being supported by the compositor
    67  * @post if successful, internal stream object is returned with increased reference (@see owfNativeStreamDestroy) 
    68  * @post if successful, internal stream object is returned with increased reference (@see owfNativeStreamDestroy)