OpenMAXBellagio  0.9.3
omxvolcontroltest.h
Go to the documentation of this file.
1 
27 #ifndef __OMXVOLCONTROLTEST_H__
28 #define __OMXVOLCONTROLTEST_H__
29 
30 #include <stdio.h>
31 #include <stdlib.h>
32 #include <fcntl.h>
33 #include <string.h>
34 #include <pthread.h>
35 #include <unistd.h>
36 #include <sys/stat.h>
37 
38 #include <OMX_Core.h>
39 #include <OMX_Component.h>
40 #include <OMX_Types.h>
41 #include <OMX_Audio.h>
42 
43 #include <bellagio/tsemaphore.h>
44 #include <user_debug_levels.h>
45 
47 #define VERSIONMAJOR 1
48 #define VERSIONMINOR 1
49 #define VERSIONREVISION 0
50 #define VERSIONSTEP 0
51 
52 /* Application's private data */
53 typedef struct appPrivateType{
54  pthread_cond_t condition;
55  pthread_mutex_t mutex;
56  void* input_data;
59  tsem_t* eofSem;
61 
62 /* Size of the buffers requested to the component */
63 #define BUFFER_IN_SIZE 2*8192*2
64 
65 /* Callback prototypes */
67  OMX_HANDLETYPE hComponent,
68  OMX_PTR pAppData,
69  OMX_EVENTTYPE eEvent,
70  OMX_U32 Data1,
71  OMX_U32 Data2,
72  OMX_PTR pEventData);
73 
75  OMX_HANDLETYPE hComponent,
76  OMX_PTR pAppData,
77  OMX_BUFFERHEADERTYPE* pBuffer);
78 
80  OMX_HANDLETYPE hComponent,
81  OMX_PTR pAppData,
82  OMX_BUFFERHEADERTYPE* pBuffer);
83 
85 static int getFileSize(int fd);
86 
87 #endif

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