00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00041 #ifndef ti_sdo_dmai_VideoStd_h_
00042 #define ti_sdo_dmai_VideoStd_h_
00043
00044 #include <ti/sdo/dmai/Dmai.h>
00045
00048 #define VideoStd_QVGA_WIDTH 320
00049 #define VideoStd_QVGA_HEIGHT 240
00051 #define VideoStd_CIF_WIDTH 352
00052 #define VideoStd_CIF_HEIGHT 288
00054 #define VideoStd_SIF_WIDTH 352
00055 #define VideoStd_SIF_NTSC_HEIGHT 240
00056 #define VideoStd_SIF_PAL_HEIGHT 288
00058 #define VideoStd_VGA_WIDTH 640
00059 #define VideoStd_VGA_HEIGHT 480
00061 #define VideoStd_D1_WIDTH 720
00062 #define VideoStd_D1_NTSC_HEIGHT 480
00063 #define VideoStd_D1_PAL_HEIGHT 576
00065 #define VideoStd_480P_WIDTH 720
00066 #define VideoStd_480P_HEIGHT 480
00068 #define VideoStd_576P_WIDTH 720
00069 #define VideoStd_576P_HEIGHT 576
00071 #define VideoStd_720P_WIDTH 1280
00072 #define VideoStd_720P_HEIGHT 720
00074 #define VideoStd_1080I_WIDTH 1920
00075 #define VideoStd_1080I_HEIGHT 1080
00077 #define VideoStd_1080P_WIDTH 1920
00078 #define VideoStd_1080P_HEIGHT 1080
00080
00081
00082
00083
00084
00086 typedef enum {
00087 VideoStd_AUTO = 0,
00088 VideoStd_CIF,
00089 VideoStd_SIF_NTSC,
00090 VideoStd_SIF_PAL,
00091 VideoStd_VGA,
00092 VideoStd_D1_NTSC,
00093 VideoStd_D1_PAL,
00094 VideoStd_480P,
00095 VideoStd_576P,
00096 VideoStd_720P_60,
00097 VideoStd_720P_50,
00098 VideoStd_720P_30,
00099 VideoStd_1080I_30,
00100 VideoStd_1080I_25,
00101 VideoStd_1080P_30,
00102 VideoStd_1080P_25,
00103 VideoStd_1080P_24,
00104 VideoStd_QVGA,
00105 VideoStd_1080P_60,
00106 VideoStd_1080P_50,
00107 VideoStd_1080I_60,
00108 VideoStd_COUNT
00109 } VideoStd_Type;
00110
00111 #if defined (__cplusplus)
00112 extern "C" {
00113 #endif
00114
00125 extern Int VideoStd_getResolution(VideoStd_Type videoStd,
00126 Int32 *widthPtr, Int32 *heightPtr);
00127
00128 #if defined (__cplusplus)
00129 }
00130 #endif
00131
00134 #endif