OpenMAXBellagio
0.9.3
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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 */
58
OMX_ERRORTYPE
omx_video_scheduler_component_Constructor
(
OMX_COMPONENTTYPE
*openmaxStandComp,
OMX_STRING
cComponentName);
59
OMX_ERRORTYPE
omx_fbdev_sink_component_Init
(
OMX_COMPONENTTYPE
*openmaxStandComp);
60
OMX_ERRORTYPE
omx_fbdev_sink_component_Deinit
(
OMX_COMPONENTTYPE
*openmaxStandComp);
61
62
OMX_ERRORTYPE
omx_video_scheduler_component_Destructor
(
OMX_COMPONENTTYPE
*openmaxStandComp);
63
64
void
omx_video_scheduler_component_BufferMgmtCallback
(
65
OMX_COMPONENTTYPE
*openmaxStandComp,
66
OMX_BUFFERHEADERTYPE
* inputbuffer,
67
OMX_BUFFERHEADERTYPE
* outputbuffer);
68
69
OMX_ERRORTYPE
omx_video_scheduler_component_GetParameter
(
70
OMX_HANDLETYPE
hComponent,
71
OMX_INDEXTYPE
nParamIndex,
72
OMX_PTR
ComponentParameterStructure);
73
74
OMX_ERRORTYPE
omx_video_scheduler_component_SetParameter
(
75
OMX_HANDLETYPE
hComponent,
76
OMX_INDEXTYPE
nParamIndex,
77
OMX_PTR
ComponentParameterStructure);
78
79
/* to handle the communication at the clock port */
80
OMX_BOOL
omx_video_scheduler_component_ClockPortHandleFunction
(
81
omx_video_scheduler_component_PrivateType* omx_video_scheduler_component_Private,
82
OMX_BUFFERHEADERTYPE
* inputbuffer);
83
84
OMX_ERRORTYPE
omx_video_scheduler_component_port_SendBufferFunction
(
85
omx_base_PortType
*openmaxStandPort,
86
OMX_BUFFERHEADERTYPE
* pBuffer);
87
88
OMX_ERRORTYPE
omx_video_scheduler_component_port_FlushProcessingBuffers
(
omx_base_PortType
*openmaxStandPort);
89
#endif
Generated for OpenMAX Bellagio rel. 0.9.3 by
1.5.1