OpenMAXBellagio 0.9.3
omx_base_video_port.h
Go to the documentation of this file.
00001 
00026 #include "omx_base_component.h"
00027 #include "omx_classmagic.h"
00028 #include "omx_base_port.h"
00029 
00030 #ifndef __OMX_BASE_VIDEO_PORT_H__
00031 #define __OMX_BASE_VIDEO_PORT_H__
00032 
00034 #define MAX_VIDEO_OUTPUT_BUF_SIZE 460800 //640 * 480 * 1.5
00035 #define MIN_VIDEO_OUTPUT_BUF_SIZE 176*144*3 //176 * 144 * 1.5
00036 
00044 DERIVEDCLASS(omx_base_video_PortType, omx_base_PortType)
00045 #define omx_base_video_PortType_FIELDS omx_base_PortType_FIELDS \
00046  \
00047   OMX_VIDEO_PARAM_PORTFORMATTYPE sVideoParam; 
00048 ENDCLASS(omx_base_video_PortType)
00049 
00050 
00066 OSCL_IMPORT_REF OMX_ERRORTYPE base_video_port_Constructor(
00067   OMX_COMPONENTTYPE *openmaxStandComp,
00068   omx_base_PortType **openmaxStandPort,
00069   OMX_U32 nPortIndex, 
00070   OMX_BOOL isInput);
00071 
00085 OSCL_IMPORT_REF OMX_ERRORTYPE base_video_port_Destructor(
00086   omx_base_PortType *openmaxStandPort);
00087 
00088 #endif