00001 00030 #include "omx_classmagic.h" 00031 #include "omx_base_port.h" 00032 00033 #ifndef __OMX_BASE_VIDEO_PORT_H__ 00034 #define __OMX_BASE_VIDEO_PORT_H__ 00035 00037 #define MAX_VIDEO_OUTPUT_BUF_SIZE 460800 //640 * 480 * 1.5 00038 #define MIN_VIDEO_OUTPUT_BUF_SIZE 176*144*3 //176 * 144 * 1.5 00039 00047 DERIVEDCLASS(omx_base_video_PortType, omx_base_PortType) 00048 #define omx_base_video_PortType_FIELDS omx_base_PortType_FIELDS \ 00049 \ 00050 OMX_VIDEO_PARAM_PORTFORMATTYPE sVideoParam; 00051 ENDCLASS(omx_base_video_PortType) 00052 00053 00069 OMX_ERRORTYPE base_video_port_Constructor( 00070 OMX_COMPONENTTYPE *openmaxStandComp, 00071 omx_base_PortType **openmaxStandPort, 00072 OMX_U32 nPortIndex, 00073 OMX_BOOL isInput); 00074 00088 OMX_ERRORTYPE base_video_port_Destructor( 00089 omx_base_PortType *openmaxStandPort); 00090 00091 #endif