|
|
NVIDIA DeepStream SDK API Reference
|
9.0 Release
|
Go to the documentation of this file.
13 #ifndef __NVLL_OBB_H__
14 #define __NVLL_OBB_H__
18 #include <cuda_runtime.h>
98 void *rect_params_array,
100 unsigned int frame_num);
127 const uint8_t *aabb_pixels,
162 const uint8_t *aabb_pixels,
Holds information about batched buffers.
bool nvobb_dump_frame(NvOBBDumpCtx *ctx, NvBufSurface *input_surf, void *rect_params_array, int num_rects, unsigned int frame_num)
Process frame and dump OBBs.
NvOBBDumpCtx * nvobb_dump_create_context(int gpu_id, cudaStream_t cuda_stream)
Create OBB dump context.
cudaError_t nvobb_rotate_gpu(const uint8_t *aabb_pixels, int aabb_width, int aabb_height, int aabb_pitch, int obb_width, int obb_height, float obb_cx, float obb_cy, float angle_rad, cudaStream_t stream, uint8_t **d_output)
Rotate OBB to rectangular RGBA on GPU (standalone)
void nvobb_dump_destroy_context(NvOBBDumpCtx *ctx)
Destroy OBB dump context.
NvOBBDumpCtx * nvobb_dump_get_singleton(int gpu_id, cudaStream_t cuda_stream)
Get or create singleton OBB dump context.
void nvobb_dump_cleanup_singleton(void)
Cleanup singleton OBB dump context.
uint8_t * nvobb_rotate_cpu(const uint8_t *aabb_pixels, int aabb_width, int aabb_height, int aabb_pitch, int obb_width, int obb_height, float obb_cx, float obb_cy, float angle_rad)
Rotate OBB to rectangular RGBA on CPU (standalone)
struct _NvOBBDumpCtx NvOBBDumpCtx
OBB dump context handle.