khronosfws/openmax_al/src/camera/xacameraitf.h
changeset 19 4a629bc82c5e
parent 12 5a06f39ad45b
equal deleted inserted replaced
14:80975da52420 19:4a629bc82c5e
    16 */
    16 */
    17 
    17 
    18 #ifndef XACAMERAITF_H
    18 #ifndef XACAMERAITF_H
    19 #define XACAMERAITF_H
    19 #define XACAMERAITF_H
    20 
    20 
    21 #include "openmaxalwrapper.h"
    21 #include "xaadptbasectx.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 **/
    67 
    63 
    68     xaCameraCallback    callback;
    64     xaCameraCallback    callback;
    69     void                *context;
    65     void                *context;
    70     XACameraItf         cbPtrToSelf;
    66     XACameraItf         cbPtrToSelf;
    71 
    67 
    72 #ifdef _GSTREAMER_BACKEND_
       
    73     /*Adaptation variables*/
    68     /*Adaptation variables*/
    74     XAAdaptationBaseCtx *adapCtx;
    69     XAAdaptationBaseCtx *adapCtx;
    75 #endif
       
    76 } XACameraItfImpl;
    70 } XACameraItfImpl;
    77 
    71 
    78 /** METHODS **/
    72 /** METHODS **/
    79 
    73 
    80 /* Base interface XACameraItf implementation
    74 /* Base interface XACameraItf implementation
   161                                   XAboolean async );
   155                                   XAboolean async );
   162 
   156 
   163 XAresult XACameraItfImpl_GetZoom( XACameraItf self, XApermille *pZoom,
   157 XAresult XACameraItfImpl_GetZoom( XACameraItf self, XApermille *pZoom,
   164                                   XAboolean *pDigital );
   158                                   XAboolean *pDigital );
   165 
   159 
   166 #ifdef _GSTREAMER_BACKEND_
       
   167 /* XACameraItfImpl -specific methods */
   160 /* XACameraItfImpl -specific methods */
   168 XACameraItfImpl* XACameraItfImpl_Create( XAAdaptationBaseCtx *adapCtx );
   161 XACameraItfImpl* XACameraItfImpl_Create( XAAdaptationBaseCtx *adapCtx );
   169 void XACameraItfImp_AdaptCb( void *pHandlerCtx, XAAdaptEvent *event );
   162 void XACameraItfImp_AdaptCb( void *pHandlerCtx, XAAdaptEvent *event );
   170 #endif
       
   171 void XACameraItfImpl_Free(XACameraItfImpl* self);
   163 void XACameraItfImpl_Free(XACameraItfImpl* self);
   172 
   164 
   173 #endif /* XACAMERAITF_H */
   165 #endif /* XACAMERAITF_H */