OpenMAXBellagio 0.9.3
omxprioritytest.h
Go to the documentation of this file.
00001 
00028 #ifndef __OMXRMTEST_H__
00029 #define __OMXRMTEST_H__
00030 
00031 #include <stdio.h>
00032 #include <stdlib.h>
00033 
00034 #include <OMX_Core.h>
00035 #include <OMX_Component.h>
00036 #include <OMX_Types.h>
00037 #include <OMX_Audio.h>
00038 
00039 #include <tsemaphore.h>
00040 #include <user_debug_levels.h>
00041 
00043 #define VERSIONMAJOR    1
00044 #define VERSIONMINOR    1
00045 #define VERSIONREVISION 0
00046 #define VERSIONSTEP     0
00047 
00048 tsem_t* eventSem;
00049 OMX_BOOL bResourceErrorReceived;
00050 
00051 /* Callback prototypes */
00052 OMX_ERRORTYPE rmEventHandler(
00053   OMX_HANDLETYPE hComponent,
00054   OMX_PTR pAppData,
00055   OMX_EVENTTYPE eEvent,
00056   OMX_U32 Data1,
00057   OMX_U32 Data2,
00058   OMX_PTR pEventData);
00059 
00060 OMX_ERRORTYPE rmEmptyBufferDone(
00061   OMX_HANDLETYPE hComponent,
00062   OMX_PTR pAppData,
00063   OMX_BUFFERHEADERTYPE* pBuffer);
00064 
00065 OMX_ERRORTYPE rmFillBufferDone(
00066   OMX_HANDLETYPE hComponent,
00067   OMX_PTR pAppData,
00068   OMX_BUFFERHEADERTYPE* pBuffer);
00069 
00070 #endif