VPI - 视觉编程接口

3.2 版本

Pyramid.h 文件参考

用于处理 VPI 金字塔的函数和结构。 更多...

#include "Export.h"
#include "Image.h"
#include "Status.h"
#include "Types.h"
#include "Version.h"
#include <stdint.h>
+ Pyramid.h 的包含依赖关系图
+ 此图显示哪些文件直接或间接地包含此文件

转到此文件的源代码。

数据结构

struct  VPIPyramidData
 存储金字塔内容。 更多...
 

#define VPI_MAX_PYRAMID_LEVEL_COUNT   (10)
 金字塔级别的最大数量。
 

函数

VPIStatus vpiPyramidCreate (int32_t width, int32_t height, VPIImageFormat fmt, int32_t numLevels, float scale, uint64_t flags, VPIPyramid *pyr)
 使用指定的标志创建空的图像金字塔实例。 更多...
 
void vpiPyramidDestroy (VPIPyramid pyr)
 销毁图像金字塔实例及其拥有的所有资源。 更多...
 
VPIStatus vpiPyramidGetFlags (VPIPyramid pyr, uint64_t *flags)
 返回与金字塔关联的标志。 更多...
 
VPIStatus vpiPyramidGetFormat (VPIPyramid pyr, VPIImageFormat *fmt)
 返回金字塔级别的图像格式。 更多...
 
VPIStatus vpiPyramidGetNumLevels (VPIPyramid pyr, int32_t *numLevels)
 获取图像金字塔级别计数。 更多...
 
VPIStatus vpiPyramidGetSize (VPIPyramid pyr, int32_t outSize, int32_t *outWidth, int32_t *outHeight)
 获取图像宽度和高度(以像素为单位)(一次获取所有级别)。 更多...
 
VPIStatus vpiPyramidGetScale (VPIPyramid pyr, float *scale)
 返回金字塔级别的缩放因子。 更多...
 
VPIStatus vpiPyramidLock (VPIPyramid pyr, VPILockMode lock)
 获取金字塔对象的锁。 更多...
 
VPIStatus vpiPyramidLockData (VPIPyramid pyr, VPILockMode lock, VPIImageBufferType bufType, VPIPyramidData *out)
 获取金字塔对象的锁,并返回指向金字塔每个级别的host可访问的指针。 更多...
 
VPIStatus vpiPyramidUnlock (VPIPyramid pyr)
 释放图像金字塔对象的锁。 更多...
 
VPIStatus vpiImageCreateWrapperPyramidLevel (VPIPyramid pyr, int32_t level, VPIImage *img)
 创建一个包装一个金字塔级别的图像。 更多...
 

详细描述

用于处理 VPI 金字塔的函数和结构。

在文件 Pyramid.h 中的定义。