khronosfws/openmax_al/src/mediaplayer/xaseekitf.h
changeset 16 43d09473c595
parent 12 5a06f39ad45b
child 25 6f7ceef7b1d1
equal deleted inserted replaced
14:80975da52420 16:43d09473c595
    16 */
    16 */
    17 
    17 
    18 #ifndef XASEEKITF_H
    18 #ifndef XASEEKITF_H
    19 #define XASEEKITF_H
    19 #define XASEEKITF_H
    20 
    20 
    21 #include "openmaxalwrapper.h"
    21 #include "xamediaplayer.h"
    22 #include "xaglobals.h"
       
    23 #ifdef _GSTREAMER_BACKEND_
       
    24 #include "XAAdaptationContextBase.h"
       
    25 #endif
       
    26 /** MACROS **/
    22 /** MACROS **/
    27 
    23 
    28 /** TYPES **/
    24 /** TYPES **/
    29 
    25 
    30 /** ENUMERATIONS **/
    26 /** ENUMERATIONS **/
    43     XAuint32 seekMode;
    39     XAuint32 seekMode;
    44     XAboolean loopEnable;
    40     XAboolean loopEnable;
    45     XAmillisecond startPos;
    41     XAmillisecond startPos;
    46     XAmillisecond endPos;
    42     XAmillisecond endPos;
    47 
    43 
    48 #ifdef _GSTREAMER_BACKEND_
       
    49     /*Adaptation variables*/
    44     /*Adaptation variables*/
    50     XAAdaptationBaseCtx *adapCtx;
    45     XAAdaptationBaseCtx *adapCtx;
    51 #endif
       
    52 }XASeekItfImpl;
    46 }XASeekItfImpl;
    53 
    47 
    54 /** METHODS **/
    48 /** METHODS **/
    55 
    49 
    56 /* Base interface XASeekItf implementation */
    50 /* Base interface XASeekItf implementation */
    63 
    57 
    64 XAresult XASeekItfImpl_GetLoop(XASeekItf self, XAboolean *pLoopEnabled,
    58 XAresult XASeekItfImpl_GetLoop(XASeekItf self, XAboolean *pLoopEnabled,
    65                                XAmillisecond *pStartPos,
    59                                XAmillisecond *pStartPos,
    66                                XAmillisecond *pEndPos);
    60                                XAmillisecond *pEndPos);
    67 
    61 
    68 #ifdef _GSTREAMER_BACKEND_
       
    69 /* XASeekItfImpl -specific methods */
    62 /* XASeekItfImpl -specific methods */
    70 XASeekItfImpl* XASeekItfImpl_Create( XAAdaptationBaseCtx *adapCtx );
    63 XASeekItfImpl* XASeekItfImpl_Create( XAMediaPlayerImpl* impl );
    71 #endif
       
    72 void XASeekItfImpl_Free(XASeekItfImpl* self);
    64 void XASeekItfImpl_Free(XASeekItfImpl* self);
    73 
    65 
    74 #endif /* XASEEKITF_H */
    66 #endif /* XASEEKITF_H */