OpenMAX Bellagio  0.9.3
omx_volume_component.h
Go to the documentation of this file.
1 
27 #ifndef _OMX_VOLUME_COMPONENT_H_
28 #define _OMX_VOLUME_COMPONENT_H_
29 
30 #include <OMX_Types.h>
31 #include <OMX_Component.h>
32 #include <OMX_Core.h>
33 #include <string.h>
34 #include <omx_base_filter.h>
35 #define VOLUME_COMP_NAME "OMX.st.volume.component"
36 #define VOLUME_COMP_ROLE "volume.component"
37 #define MAX_VOLUME_COMPONENTS 10
38 #define VOLUME_QUALITY_LEVELS 2
39 static int volumeQualityLevels []={1, 65536, 1, 32768};
40 
44 DERIVEDCLASS(omx_volume_component_PrivateType, omx_base_filter_PrivateType)
45 #define omx_volume_component_PrivateType_FIELDS omx_base_filter_PrivateType_FIELDS \
46  \
47  float gain;
48 ENDCLASS(omx_volume_component_PrivateType)
49 
50 /* Component private entry points declaration */
53 
55  OMX_COMPONENTTYPE *openmaxStandComp,
56  OMX_BUFFERHEADERTYPE* inputbuffer,
57  OMX_BUFFERHEADERTYPE* outputbuffer);
58 
60  OMX_HANDLETYPE hComponent,
61  OMX_INDEXTYPE nParamIndex,
62  OMX_PTR ComponentParameterStructure);
63 
65  OMX_HANDLETYPE hComponent,
66  OMX_INDEXTYPE nParamIndex,
67  OMX_PTR ComponentParameterStructure);
68 
70  OMX_HANDLETYPE hComponent,
71  OMX_INDEXTYPE nIndex,
72  OMX_PTR pComponentConfigStructure);
73 
75  OMX_HANDLETYPE hComponent,
76  OMX_INDEXTYPE nIndex,
77  OMX_PTR pComponentConfigStructure);
78 
79 #endif
OMX_ERRORTYPE
Definition: OMX_Core.h:127
OMX_INDEXTYPE
Definition: OMX_Index.h:60
char * OMX_STRING
Definition: OMX_Types.h:206
void * OMX_PTR
Definition: OMX_Types.h:199
void * OMX_HANDLETYPE
Definition: OMX_Types.h:295
#define ENDCLASS(a)
#define DERIVEDCLASS(a, b)
OMX_ERRORTYPE omx_volume_component_SetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
OMX_ERRORTYPE omx_volume_component_GetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_volume_component_Destructor(OMX_COMPONENTTYPE *openmaxStandComp)
OMX_ERRORTYPE omx_volume_component_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
OMX_ERRORTYPE omx_volume_component_GetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
OMX_ERRORTYPE omx_volume_component_SetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
void omx_volume_component_BufferMgmtCallback(OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *inputbuffer, OMX_BUFFERHEADERTYPE *outputbuffer)

Generated for OpenMAX Bellagio rel. 0.9.3 by  doxygen 1.5.1
SourceForge.net Logo