OpenMAXBellagio  0.9.3
omxvolcontroltest.c File Reference

Go to the source code of this file.

Functions

void display_help ()
 
int main (int argc, char **argv)
 
OMX_ERRORTYPE volcEventHandler (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent, OMX_U32 Data1, OMX_U32 Data2, OMX_PTR pEventData)
 
OMX_ERRORTYPE volcEmptyBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer)
 
OMX_ERRORTYPE volcFillBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer)
 

Variables

appPrivateTypeappPriv
 
int fd = 0
 
unsigned int filesize
 
OMX_ERRORTYPE err
 
OMX_HANDLETYPE handle
 
OMX_CALLBACKTYPE callbacks
 
int flagIsOutputExpected
 
int flagOutputReceived
 
int flagInputReceived
 
int flagIsGain
 
char * input_file
 
char * output_file
 
FILE * outfile
 

Function Documentation

void display_help ( )

Definition at line 52 of file omxvolcontroltest.c.

Referenced by main().

Variable Documentation

appPrivateType* appPriv

test/components/audio_effects/omxvolcontroltest.c

This simple test application provides a testing stream for the volume control component. It will be added in the more complex audio test application in the next release.

Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition at line 31 of file omxvolcontroltest.c.

OMX_CALLBACKTYPE callbacks
Initial value:
= { .EventHandler = volcEventHandler,
.EmptyBufferDone = volcEmptyBufferDone,
.FillBufferDone = volcFillBufferDone,
}
OMX_ERRORTYPE volcEmptyBufferDone(OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer)
OMX_ERRORTYPE volcFillBufferDone(OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer)
OMX_ERRORTYPE volcEventHandler(OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent, OMX_U32 Data1, OMX_U32 Data2, OMX_PTR pEventData)

Definition at line 37 of file omxvolcontroltest.c.

Definition at line 34 of file omxvolcontroltest.c.

Referenced by audiomixerEmptyBufferDone(), audiomixerFillBufferDone(), base_audio_port_Constructor(), base_audio_port_Destructor(), base_clock_port_Constructor(), base_clock_port_Destructor(), base_clock_port_SendBufferFunction(), base_image_port_Destructor(), base_port_AllocateTunnelBuffer(), base_port_ComponentTunnelRequest(), base_port_DisablePort(), base_port_EnablePort(), base_port_SendBufferFunction(), BOSA_ST_DeInitComponentLoader(), BOSA_ST_DestroyComponent(), BOSA_STE_DeInitComponentLoader(), BOSA_STE_DestroyComponent(), getMultiResourceEstimates(), getQualityLevel(), getSupportedQualityLevels(), main(), makedir(), omx_audio_mixer_component_Constructor(), omx_audio_mixer_component_GetConfig(), omx_audio_mixer_component_GetParameter(), omx_audio_mixer_component_SetConfig(), omx_audio_mixer_component_SetParameter(), omx_base_component_AllocateBuffer(), omx_base_component_ComponentTunnelRequest(), omx_base_component_Constructor(), omx_base_component_Destructor(), omx_base_component_DoStateSet(), omx_base_component_EmptyThisBuffer(), omx_base_component_FillThisBuffer(), omx_base_component_FreeBuffer(), omx_base_component_GetParameter(), omx_base_component_MessageHandler(), omx_base_component_ParameterSanityCheck(), omx_base_component_SendCommand(), omx_base_component_SetParameter(), omx_base_component_UseBuffer(), omx_base_filter_Constructor(), omx_base_filter_Destructor(), omx_base_sink_Constructor(), omx_base_source_Constructor(), omx_clocksrc_component_GetParameter(), omx_clocksrc_component_SetParameter(), OMX_ComponentNameEnum(), OMX_FreeHandle(), OMX_GetComponentsOfRole(), OMX_GetContentPipe(), OMX_GetHandle(), OMX_GetRolesOfComponent(), OMX_Init(), OMX_SetupTunnel(), omx_video_scheduler_component_ClockPortHandleFunction(), omx_video_scheduler_component_Constructor(), omx_video_scheduler_component_GetParameter(), omx_video_scheduler_component_port_SendBufferFunction(), omx_video_scheduler_component_SetParameter(), omx_volume_component_Constructor(), omx_volume_component_GetConfig(), omx_volume_component_GetParameter(), omx_volume_component_SetConfig(), omx_volume_component_SetParameter(), preemptComponent(), RM_getResource(), RM_releaseResource(), setQualityLevel(), tsem_timed_down(), volcEmptyBufferDone(), and volcFillBufferDone().

int fd = 0

Definition at line 32 of file omxvolcontroltest.c.

Referenced by main(), and volcEmptyBufferDone().

unsigned int filesize

Definition at line 33 of file omxvolcontroltest.c.

Referenced by main(), and volcEmptyBufferDone().

int flagInputReceived

Definition at line 66 of file omxvolcontroltest.c.

int flagIsGain

Definition at line 67 of file omxvolcontroltest.c.

int flagIsOutputExpected

Definition at line 64 of file omxvolcontroltest.c.

int flagOutputReceived

Definition at line 65 of file omxvolcontroltest.c.

char* input_file

Definition at line 68 of file omxvolcontroltest.c.

FILE* outfile

Definition at line 70 of file omxvolcontroltest.c.

char * output_file

Definition at line 68 of file omxvolcontroltest.c.


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