27 #ifndef _OMX_VOLUME_COMPONENT_H_ 28 #define _OMX_VOLUME_COMPONENT_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};
45 #define omx_volume_component_PrivateType_FIELDS omx_base_filter_PrivateType_FIELDS \ 48 ENDCLASS(omx_volume_component_PrivateType)
62 OMX_PTR ComponentParameterStructure);
67 OMX_PTR ComponentParameterStructure);
72 OMX_PTR pComponentConfigStructure);
77 OMX_PTR pComponentConfigStructure);
OMX_ERRORTYPE omx_volume_component_GetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
OMX_ERRORTYPE omx_volume_component_SetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
#define DERIVEDCLASS(a, b)
void omx_volume_component_BufferMgmtCallback(OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *inputbuffer, OMX_BUFFERHEADERTYPE *outputbuffer)
OMX_ERRORTYPE omx_volume_component_Destructor(OMX_COMPONENTTYPE *openmaxStandComp)
OMX_ERRORTYPE omx_volume_component_GetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_volume_component_SetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_volume_component_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)