NVIDIA DRIVE OS Linux SDK API Reference

5.1.15.2 Release
For Test and Development only
nvmedia_cvscratchpad.h File Reference

Detailed Description

NVIDIA Media Interface: CVScratchpad

Description: This file contains the API to access CVScratchpad managed by NvMedia, which is used in media processing and computer vision pipelines.

Definition in file nvmedia_cvscratchpad.h.

Go to the source code of this file.

Macros

#define NVMEDIA_CVSCRATCHPAD_VERSION_MAJOR   1
 Major version number. More...
 
#define NVMEDIA_CVSCRATCHPAD_VERSION_MINOR   0
 Minor version number. More...
 

Typedefs

typedef struct NvMediaCVScratchpad NvMediaCVScratchpad
 Holds a descriptor for the CVScratchpad. More...
 

Enumerations

enum  NvMediaCVScratchMemoryAllocationType {
  NVMEDIA_SCRATCH_MEMORY_TYPE_CVSRAM = 0,
  NVMEDIA_SCRATCH_MEMORY_TYPE_DRAM = 1,
  NVMEDIA_SCRATCH_NUM_MEMORY_TYPES = 2
}
 Specifies the type of memory that is allocated. More...
 

Functions

NvMediaStatus NvMediaCVScratchpadGetVersion (NvMediaVersion *version)
 Returns version information for the CVScratchpad component. More...
 
NvMediaCVScratchpadNvMediaCVScratchpadCreate (NvMediaDevice *device, uint32_t size, NvMediaCVScratchMemoryAllocationType memoryType)
 Creates an NvMedia CVScratchpad handle. More...
 
NvMediaStatus NvMediaCVScratchpadDestroy (NvMediaCVScratchpad *handle)
 Destroys a CVScratchpad handle created by NvMediaCVScratchpadCreate(). More...
 
NvMediaStatus NvMediaCVScratchpadGetProperties (NvMediaCVScratchpad *handle, uint32_t *size, NvMediaCVScratchMemoryAllocationType *memoryType)
 Gets the size in bytes and memory location type of a CVScratchpad. More...