ISVP-SDK  3.12.0
Ingenic Smart Video Platform SDK
结构体 | 宏定义 | 枚举
imp_common.h 文件参考

SDK-T15公共数据结构头文件 更多...

#include <stdint.h>
#include <pthread.h>
#include <linux/videodev2.h>
#include <stdio.h>
imp_common.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  IMPCell
 IMPCell枚举定义. 更多...
 
struct  IMPFrameInfo
 IMP帧图像信息定义. 更多...
 
struct  IMPFrameTimestamp
 IMP帧时间参数. 更多...
 
struct  IMPPoint
 IMP点坐标信息. 更多...
 
struct  IMPRect
 IMP 矩形区域信息. 更多...
 

宏定义

#define BPP(FMT, A, B)   case FMT: bpp1 = A;bpp2 = B;break
 

枚举

enum  IMPDeviceID {
  DEV_ID_FS, DEV_ID_ENC, DEV_ID_DEC, DEV_ID_IVS,
  DEV_ID_OSD, DEV_ID_FG1DIRECT, DEV_ID_RESERVED_START, DEV_ID_RESERVED_END = 23,
  NR_MAX_DEVICES
}
 IMP 设备ID枚举定义. 更多...
 
enum  IMPPayloadType { PT_JPEG, PT_H264 }
 编解码协议类型 更多...
 
enum  IMPPixelFormat {
  PIX_FMT_YUV420P, PIX_FMT_YUYV422, PIX_FMT_UYVY422, PIX_FMT_YUV422P,
  PIX_FMT_YUV444P, PIX_FMT_YUV410P, PIX_FMT_YUV411P, PIX_FMT_GRAY8,
  PIX_FMT_MONOWHITE, PIX_FMT_MONOBLACK, PIX_FMT_NV12, PIX_FMT_NV21,
  PIX_FMT_RGB24, PIX_FMT_BGR24, PIX_FMT_ARGB, PIX_FMT_RGBA,
  PIX_FMT_ABGR, PIX_FMT_BGRA, PIX_FMT_RGB565BE, PIX_FMT_RGB565LE,
  PIX_FMT_RGB555BE, PIX_FMT_RGB555LE, PIX_FMT_BGR565BE, PIX_FMT_BGR565LE,
  PIX_FMT_BGR555BE, PIX_FMT_BGR555LE, PIX_FMT_0RGB, PIX_FMT_RGB0,
  PIX_FMT_0BGR, PIX_FMT_BGR0, PIX_FMT_BAYER_BGGR8, PIX_FMT_BAYER_RGGB8,
  PIX_FMT_BAYER_GBRG8, PIX_FMT_BAYER_GRBG8, PIX_FMT_RAW, PIX_FMT_HSV,
  PIX_FMT_NB
}
 IMP图像格式定义. 更多...
 

详细描述

SDK-T15公共数据结构头文件

枚举类型说明

IMP 设备ID枚举定义.

枚举值
DEV_ID_FS 

视频源

DEV_ID_ENC 

编码器

DEV_ID_DEC 

解码器

DEV_ID_IVS 

算法

DEV_ID_OSD 

图像叠加

DEV_ID_FG1DIRECT 

FB FG1Direct.

编解码协议类型

枚举值
PT_JPEG 

JPEG图像协议类型

PT_H264 

H264视频协议类型

IMP图像格式定义.

枚举值
PIX_FMT_YUV420P 

planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)

PIX_FMT_YUYV422 

packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr

PIX_FMT_UYVY422 

packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1

PIX_FMT_YUV422P 

planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)

PIX_FMT_YUV444P 

planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)

PIX_FMT_YUV410P 

planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)

PIX_FMT_YUV411P 

planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)

PIX_FMT_GRAY8 

Y , 8bpp.

PIX_FMT_MONOWHITE 

Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb.

PIX_FMT_MONOBLACK 

Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb.

PIX_FMT_NV12 

planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (first byte U and the following byte V)

PIX_FMT_NV21 

as above, but U and V bytes are swapped

PIX_FMT_RGB24 

packed RGB 8:8:8, 24bpp, RGBRGB...

PIX_FMT_BGR24 

packed RGB 8:8:8, 24bpp, BGRBGR...

PIX_FMT_ARGB 

packed ARGB 8:8:8:8, 32bpp, ARGBARGB...

PIX_FMT_RGBA 

packed RGBA 8:8:8:8, 32bpp, RGBARGBA...

PIX_FMT_ABGR 

packed ABGR 8:8:8:8, 32bpp, ABGRABGR...

PIX_FMT_BGRA 

packed BGRA 8:8:8:8, 32bpp, BGRABGRA...

PIX_FMT_RGB565BE 

packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian

PIX_FMT_RGB565LE 

packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian

PIX_FMT_RGB555BE 

packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), big-endian, most significant bit to 0

PIX_FMT_RGB555LE 

packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), little-endian, most significant bit to 0

PIX_FMT_BGR565BE 

packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), big-endian

PIX_FMT_BGR565LE 

packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), little-endian

PIX_FMT_BGR555BE 

packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), big-endian, most significant bit to 1

PIX_FMT_BGR555LE 

packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), little-endian, most significant bit to 1

PIX_FMT_0RGB 

packed RGB 8:8:8, 32bpp, 0RGB0RGB...

PIX_FMT_RGB0 

packed RGB 8:8:8, 32bpp, RGB0RGB0...

PIX_FMT_0BGR 

packed BGR 8:8:8, 32bpp, 0BGR0BGR...

PIX_FMT_BGR0 

packed BGR 8:8:8, 32bpp, BGR0BGR0...

PIX_FMT_BAYER_BGGR8 

bayer, BGBG..(odd line), GRGR..(even line), 8-bit samples

PIX_FMT_BAYER_RGGB8 

bayer, RGRG..(odd line), GBGB..(even line), 8-bit samples

PIX_FMT_BAYER_GBRG8 

bayer, GBGB..(odd line), RGRG..(even line), 8-bit samples

PIX_FMT_BAYER_GRBG8 

bayer, GRGR..(odd line), BGBG..(even line), 8-bit samples

PIX_FMT_NB 

number of pixel formats.