equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 #ifndef XACONFIGEXTENSIONSITF_H |
18 #ifndef XACONFIGEXTENSIONSITF_H |
19 #define XACONFIGEXTENSIONSITF_H |
19 #define XACONFIGEXTENSIONSITF_H |
20 |
20 |
21 #ifdef _GSTREAMER_BACKEND_ |
21 #include "xaadptbasectx.h" |
22 #include "XAAdaptationContextBase.h" |
|
23 #endif |
|
24 #include "openmaxalwrapper.h" |
|
25 #include "xaglobals.h" |
|
26 |
22 |
27 /** MACROS **/ |
23 /** MACROS **/ |
28 |
24 |
29 /** TYPES **/ |
25 /** TYPES **/ |
30 |
26 |
38 struct XAConfigExtensionsItf_ itf; |
34 struct XAConfigExtensionsItf_ itf; |
39 /* pointer to self */ |
35 /* pointer to self */ |
40 struct XAConfigExtensionsItfImpl_* self; |
36 struct XAConfigExtensionsItfImpl_* self; |
41 /* variables */ |
37 /* variables */ |
42 XAuint8 testbufferconf; |
38 XAuint8 testbufferconf; |
43 #ifdef _GSTREAMER_BACKEND_ |
39 |
44 /*Adaptation variables*/ |
40 /*Adaptation variables*/ |
45 XAAdaptationBaseCtx *ctx; |
41 XAAdaptationBaseCtx *ctx; |
46 #endif |
42 |
47 } XAConfigExtensionsItfImpl; |
43 } XAConfigExtensionsItfImpl; |
48 |
44 |
49 /* Base interface XAConfigExtensionsItf implementation */ |
45 /* Base interface XAConfigExtensionsItf implementation */ |
50 XAresult XAConfigExtensionsItfImpl_SetConfiguration( |
46 XAresult XAConfigExtensionsItfImpl_SetConfiguration( |
51 XAConfigExtensionsItf self, |
47 XAConfigExtensionsItf self, |
56 XAresult XAConfigExtensionsItfImpl_GetConfiguration( |
52 XAresult XAConfigExtensionsItfImpl_GetConfiguration( |
57 XAConfigExtensionsItf self, |
53 XAConfigExtensionsItf self, |
58 const XAchar* configKey, |
54 const XAchar* configKey, |
59 XAuint32* pValueSize, |
55 XAuint32* pValueSize, |
60 void* pConfigValue); |
56 void* pConfigValue); |
61 #ifdef _GSTREAMER_BACKEND_ |
57 |
62 XAresult XAConfigExtensionsItfImpl_SetContext(XAConfigExtensionsItfImpl* self,XAAdaptationBaseCtx* ctx); |
58 XAresult XAConfigExtensionsItfImpl_SetContext(XAConfigExtensionsItfImpl* self,XAAdaptationBaseCtx* ctx); |
63 #endif |
59 |
64 /* XAConfigExtensionsItfImpl -specific methods */ |
60 /* XAConfigExtensionsItfImpl -specific methods */ |
65 XAConfigExtensionsItfImpl* XAConfigExtensionsItfImpl_Create(void); |
61 XAConfigExtensionsItfImpl* XAConfigExtensionsItfImpl_Create(void); |
66 void XAConfigExtensionsItfImpl_Free(XAConfigExtensionsItfImpl* self); |
62 void XAConfigExtensionsItfImpl_Free(XAConfigExtensionsItfImpl* self); |
67 |
63 |
68 #endif /* XACONFIGEXTENSIONSITF_H */ |
64 #endif /* XACONFIGEXTENSIONSITF_H */ |