定义图像或视频类型枚举。
目前DVPP模块仅支持HI_PT_H264、HI_PT_H265、HI_PT_JPEG、HI_PT_VPC,HI_PT_PNG,其中各功能支持的图像或视频类型如下:
typedef enum { HI_PT_PCMU = 0, HI_PT_1016 = 1, HI_PT_G721 = 2, HI_PT_GSM = 3, HI_PT_G723 = 4, HI_PT_DVI4_8K = 5, HI_PT_DVI4_16K = 6, HI_PT_LPC = 7, HI_PT_PCMA = 8, HI_PT_G722 = 9, HI_PT_S16BE_STEREO = 10, HI_PT_S16BE_MONO = 11, HI_PT_QCELP = 12, HI_PT_CN = 13, HI_PT_MPEGAUDIO = 14, HI_PT_G728 = 15, HI_PT_DVI4_3 = 16, HI_PT_DVI4_4 = 17, HI_PT_G729 = 18, HI_PT_G711A = 19, HI_PT_G711U = 20, HI_PT_G726 = 21, HI_PT_G729A = 22, HI_PT_LPCM = 23, HI_PT_CelB = 25, HI_PT_JPEG = 26, HI_PT_CUSM = 27, HI_PT_NV = 28, HI_PT_PICW = 29, HI_PT_CPV = 30, HI_PT_H261 = 31, HI_PT_MPEGVIDEO = 32, HI_PT_MPEG2TS = 33, HI_PT_H263 = 34, HI_PT_SPEG = 35, HI_PT_MPEG2VIDEO = 36, HI_PT_AAC = 37, HI_PT_WMA9STD = 38, HI_PT_HEAAC = 39, HI_PT_PCM_VOICE = 40, HI_PT_PCM_AUDIO = 41, HI_PT_MP3 = 43, HI_PT_ADPCMA = 49, HI_PT_AEC = 50, HI_PT_X_LD = 95, HI_PT_H264 = 96, HI_PT_D_GSM_HR = 200, HI_PT_D_GSM_EFR = 201, HI_PT_D_L8 = 202, HI_PT_D_RED = 203, HI_PT_D_VDVI = 204, HI_PT_D_BT656 = 220, HI_PT_D_H263_1998 = 221, HI_PT_D_MP1S = 222, HI_PT_D_MP2P = 223, HI_PT_D_BMPEG = 224, HI_PT_MP4VIDEO = 230, HI_PT_MP4AUDIO = 237, HI_PT_VC1 = 238, HI_PT_JVC_ASF = 255, HI_PT_D_AVI = 256, HI_PT_DIVX3 = 257, HI_PT_AVS = 258, HI_PT_REAL8 = 259, HI_PT_REAL9 = 260, HI_PT_VP6 = 261, HI_PT_VP6F = 262, HI_PT_VP6A = 263, HI_PT_SORENSON = 264, HI_PT_H265 = 265, HI_PT_VP8 = 266, HI_PT_MVC = 267, HI_PT_PNG = 268, HI_PT_AMR = 1001, HI_PT_MJPEG = 1002, HI_PT_AMRWB = 1003, HI_PT_PRORES = 1006, HI_PT_OPUS = 1007, HI_PT_VPC = 2000, HI_PT_BUTT } hi_payload_type;