OpenMAX Bellagio 0.9.3
omx_video_scheduler_component.h
Go to the documentation of this file.
1
25
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
41static int videoSchedQualityLevels []={1, 456192, 1, 304128};
42
49DERIVEDCLASS(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;
55ENDCLASS(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
OMX_ERRORTYPE
Definition OMX_Core.h:127
OMX_INDEXTYPE
Definition OMX_Index.h:60
char * OMX_STRING
Definition OMX_Types.h:206
OMX_BOOL
Definition OMX_Types.h:189
void * OMX_PTR
Definition OMX_Types.h:199
void * OMX_HANDLETYPE
Definition OMX_Types.h:295
#define ENDCLASS(a)
#define DERIVEDCLASS(a, b)
OMX_ERRORTYPE omx_fbdev_sink_component_Init(OMX_COMPONENTTYPE *openmaxStandComp)
OMX_ERRORTYPE omx_video_scheduler_component_Destructor(OMX_COMPONENTTYPE *openmaxStandComp)
OMX_ERRORTYPE omx_video_scheduler_component_GetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
void omx_video_scheduler_component_BufferMgmtCallback(OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *inputbuffer, OMX_BUFFERHEADERTYPE *outputbuffer)
OMX_ERRORTYPE omx_video_scheduler_component_port_SendBufferFunction(omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer)
the entry point for sending buffers to the video scheduler ports
OMX_ERRORTYPE omx_video_scheduler_component_port_FlushProcessingBuffers(omx_base_PortType *openmaxStandPort)
Releases buffers under processing. This function must be implemented in the derived classes,...
OMX_ERRORTYPE omx_video_scheduler_component_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
OMX_BOOL omx_video_scheduler_component_ClockPortHandleFunction(omx_video_scheduler_component_PrivateType *omx_video_scheduler_component_Private, OMX_BUFFERHEADERTYPE *inputbuffer)
OMX_ERRORTYPE omx_video_scheduler_component_SetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_fbdev_sink_component_Deinit(OMX_COMPONENTTYPE *openmaxStandComp)

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