|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.1.15.2 Release For Test and Development only
|
Go to the documentation of this file.
17 #ifndef NVMEDIA_CVSCRATCHPAD_H
18 #define NVMEDIA_CVSCRATCHPAD_H
38 #define NVMEDIA_CVSCRATCHPAD_VERSION_MAJOR 1
40 #define NVMEDIA_CVSCRATCHPAD_VERSION_MINOR 0
133 #endif // NVMEDIA_CVSCRATCHPAD_H
NvMediaStatus NvMediaCVScratchpadDestroy(NvMediaCVScratchpad *handle)
Destroys a CVScratchpad handle created by NvMediaCVScratchpadCreate().
@ NVMEDIA_SCRATCH_MEMORY_TYPE_DRAM
Specifies scratch memory allocated in DRAM.
NvMediaStatus NvMediaCVScratchpadGetVersion(NvMediaVersion *version)
Returns version information for the CVScratchpad component.
struct NvMediaCVScratchpad NvMediaCVScratchpad
Holds a descriptor for the CVScratchpad.
@ NVMEDIA_SCRATCH_MEMORY_TYPE_CVSRAM
Specifies scratch memory allocated in CVSRAM.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
@ NVMEDIA_SCRATCH_NUM_MEMORY_TYPES
Specifies the number of memory types.
NvMediaStatus
Defines all possible error codes.
NvMediaStatus NvMediaCVScratchpadGetProperties(NvMediaCVScratchpad *handle, uint32_t *size, NvMediaCVScratchMemoryAllocationType *memoryType)
Gets the size in bytes and memory location type of a CVScratchpad.
NvMediaCVScratchpad * NvMediaCVScratchpadCreate(NvMediaDevice *device, uint32_t size, NvMediaCVScratchMemoryAllocationType memoryType)
Creates an NvMedia CVScratchpad handle.
NvMediaCVScratchMemoryAllocationType
Specifies the type of memory that is allocated.