图形运算加速模块
1. C语言编程接口
bm_image结构体:
struct bm_image {
int width;
int height;
bm_image_format_ext image_format;
bm_data_format_ext data_type;
bm_image_private* image_private;
};图片格式 image_format枚举类型
typedef enum bm_image_format_ext_{
FORMAT_YUV420P,
FORMAT_NV12,
FORMAT_NV21,
FORMAT_NV16,
FORMAT_NV61,
FORMAT_RGB_PLANAR,
FORMAT_BGR_PLANAR,
FORMAT_RGB_PACKED,
FORMAT_BGR_PACKED,
FORMAT_GRAY,
FORMAT_COMPRESSED
}bm_image_format_ext;数据存储格式枚举
2. python语言编程接口
Last updated
Was this helpful?