OpenMAXBellagio  0.9.3
omx_video_scheduler_component.h
Go to the documentation of this file.
1 
26 #ifndef _OMX_VIDEO_SCHEDULER_H_
27 #define _OMX_VIDEO_SCHEDULER_H_
28 
29 #include <OMX_Types.h>
30 #include <OMX_Component.h>
31 #include <OMX_Core.h>
32 #include <omx_base_filter.h>
33 #include <omx_base_video_port.h>
34 #include <omx_base_clock_port.h>
35 
36 #define VIDEO_SCHEDULER_COMP_NAME "OMX.st.video.scheduler"
37 #define VIDEO_SCHEDULER_COMP_ROLE "video.scheduler"
38 #define MAX_VIDEOSCHED_COMPONENTS 10
39 
40 #define VIDEOSCHED_QUALITY_LEVELS 2
41 static int videoSchedQualityLevels []={1, 456192, 1, 304128};
42 
49 DERIVEDCLASS(omx_video_scheduler_component_PrivateType, omx_base_filter_PrivateType)
50 #define omx_video_scheduler_component_PrivateType_FIELDS omx_base_filter_PrivateType_FIELDS \
51  OMX_S32 xScale; \
52  OMX_TIME_CLOCKSTATE eState; \
53  OMX_BOOL frameDropFlag;\
54  int dropFrameCount;
55 ENDCLASS(omx_video_scheduler_component_PrivateType)
56 
57 /* Component private entry points declaration */
61 
63 
65  OMX_COMPONENTTYPE *openmaxStandComp,
66  OMX_BUFFERHEADERTYPE* inputbuffer,
67  OMX_BUFFERHEADERTYPE* outputbuffer);
68 
70  OMX_HANDLETYPE hComponent,
71  OMX_INDEXTYPE nParamIndex,
72  OMX_PTR ComponentParameterStructure);
73 
75  OMX_HANDLETYPE hComponent,
76  OMX_INDEXTYPE nParamIndex,
77  OMX_PTR ComponentParameterStructure);
78 
79 /* to handle the communication at the clock port */
81  omx_video_scheduler_component_PrivateType* omx_video_scheduler_component_Private,
82  OMX_BUFFERHEADERTYPE* inputbuffer);
83 
85  omx_base_PortType *openmaxStandPort,
86  OMX_BUFFERHEADERTYPE* pBuffer);
87 
89 #endif

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