omx_volume_component.h

Go to the documentation of this file.
00001 
00030 #ifndef _OMX_VOLUME_COMPONENT_H_
00031 #define _OMX_VOLUME_COMPONENT_H_
00032 
00033 #include <OMX_Types.h>
00034 #include <OMX_Component.h>
00035 #include <OMX_Core.h>
00036 #include <stdlib.h>
00037 #include <string.h>
00038 #include <pthread.h>
00039 #include <omx_base_filter.h>
00040 
00044 DERIVEDCLASS(omx_volume_component_PrivateType, omx_base_filter_PrivateType)
00045 #define omx_volume_component_PrivateType_FIELDS omx_base_filter_PrivateType_FIELDS \
00046  \
00047   float gain;
00048 ENDCLASS(omx_volume_component_PrivateType)
00049 
00050 /* Component private entry points declaration */
00051 OMX_ERRORTYPE omx_volume_component_Constructor(OMX_COMPONENTTYPE *openmaxStandComp,OMX_STRING cComponentName);
00052 OMX_ERRORTYPE omx_volume_component_Destructor(OMX_COMPONENTTYPE *openmaxStandComp);
00053 
00054 void omx_volume_component_BufferMgmtCallback(
00055   OMX_COMPONENTTYPE *openmaxStandComp,
00056   OMX_BUFFERHEADERTYPE* inputbuffer,
00057   OMX_BUFFERHEADERTYPE* outputbuffer);
00058 
00059 OMX_ERRORTYPE omx_volume_component_GetParameter(
00060   OMX_IN  OMX_HANDLETYPE hComponent,
00061   OMX_IN  OMX_INDEXTYPE nParamIndex,
00062   OMX_INOUT OMX_PTR ComponentParameterStructure);
00063 
00064 OMX_ERRORTYPE omx_volume_component_SetParameter(
00065   OMX_IN  OMX_HANDLETYPE hComponent,
00066   OMX_IN  OMX_INDEXTYPE nParamIndex,
00067   OMX_IN  OMX_PTR ComponentParameterStructure);
00068 
00069 OMX_ERRORTYPE omx_volume_component_GetConfig(
00070   OMX_IN  OMX_HANDLETYPE hComponent,
00071   OMX_IN  OMX_INDEXTYPE nIndex,
00072   OMX_INOUT OMX_PTR pComponentConfigStructure);
00073 
00074 OMX_ERRORTYPE omx_volume_component_SetConfig(
00075   OMX_IN  OMX_HANDLETYPE hComponent,
00076   OMX_IN  OMX_INDEXTYPE nIndex,
00077   OMX_IN  OMX_PTR pComponentConfigStructure);
00078 
00079 #endif

Generated for OpenMAX Bellagio rel. 0.3.5-svn by  doxygen 1.5.1
SourceForge.net Logo