Definition at line 112 of file infer_surface_bufs.h.
|
| BatchSurfaceBuffer (int devId, uint32_t maxBatchSize, NvBufSurfaceMemType memType) |
|
void * | getBufPtr (uint32_t batchIdx) const override |
|
size_t | getBufOffset (uint32_t batchIdx) const override |
| Get the offset from start of the memory allocation to the buffer pointer. More...
|
|
void | append (const NvBufSurfaceParams ¶ms, const NvBufSurfTransformRect &crop) |
|
NvBufSurfaceParams & | getSurfaceParams (int batchIdx) |
|
NvBufSurfTransformRect | getCropArea (int batchIdx) |
|
NvBufSurface * | getBufSurface () |
|
void | getScaleRatio (uint32_t batchIdx, double &ratioX, double &ratioY) |
|
void | setScaleRatio (uint32_t batchIdx, double ratioX, double ratioY) |
|
void | getOffsets (uint32_t batchIdx, uint32_t &offsetLeft, uint32_t &offsetTop) |
|
void | setOffsets (uint32_t batchIdx, uint32_t offsetLeft, uint32_t offsetTop) |
|
const InferBufferDescription & | getBufDesc () const final |
|
uint32_t | getBatchSize () const final |
|
uint64_t | getTotalBytes () const override |
|
void | setBufDesc (const InferBufferDescription &desc) |
|
InferBufferDescription & | mutableBufDesc () |
|
virtual void | setBatchSize (uint32_t size) |
|
const SharedCuEvent & | cuEvent () const |
|
void | setCuEvent (SharedCuEvent e) |
|
void | setSyncObj (NvBufSurfTransformSyncObj_t SyncObj) |
|
NvBufSurfTransformSyncObj_t & | getSyncObj () |
|
void | waitForSyncObj () |
|
void | attach (SharedBatchBuf buf) |
|
void | detach () |
|
bool | hasAttachedBufs () const |
|
const std::vector< SharedBatchBuf > & | attachedBufs () const |
|
std::vector< SharedBatchBuf > & | mutableAttachedBufs () |
|
bool | hasAttachLoop () const |
|
void | setBufId (uint64_t id) |
|
uint64_t | bufId () const |
|
◆ BatchSurfaceBuffer()
nvdsinferserver::BatchSurfaceBuffer::BatchSurfaceBuffer |
( |
int |
devId, |
|
|
uint32_t |
maxBatchSize, |
|
|
NvBufSurfaceMemType |
memType |
|
) |
| |
|
inline |
◆ append()
◆ attach()
◆ attachedBufs()
const std::vector<SharedBatchBuf>& nvdsinferserver::BaseBatchBuffer::attachedBufs |
( |
| ) |
const |
|
inlineinherited |
◆ bufId()
uint64_t nvdsinferserver::BaseBatchBuffer::bufId |
( |
| ) |
const |
|
inlineinherited |
◆ cuEvent()
const SharedCuEvent& nvdsinferserver::BaseBatchBuffer::cuEvent |
( |
| ) |
const |
|
inlineinherited |
◆ detach()
void nvdsinferserver::BaseBatchBuffer::detach |
( |
| ) |
|
|
inlineinherited |
◆ getBatchSize()
uint32_t nvdsinferserver::BaseBatchBuffer::getBatchSize |
( |
| ) |
const |
|
inlinefinalvirtualinherited |
◆ getBufDesc()
|
inlinefinalvirtualinherited |
◆ getBufOffset()
size_t nvdsinferserver::BatchSurfaceBuffer::getBufOffset |
( |
uint32_t |
batchIdx | ) |
const |
|
inlineoverridevirtual |
◆ getBufPtr()
void* nvdsinferserver::BatchSurfaceBuffer::getBufPtr |
( |
uint32_t |
batchIdx | ) |
const |
|
inlineoverridevirtual |
◆ getBufSurface()
NvBufSurface* nvdsinferserver::BatchSurfaceBuffer::getBufSurface |
( |
| ) |
|
|
inline |
◆ getCropArea()
◆ getOffsets()
void nvdsinferserver::BatchSurfaceBuffer::getOffsets |
( |
uint32_t |
batchIdx, |
|
|
uint32_t & |
offsetLeft, |
|
|
uint32_t & |
offsetTop |
|
) |
| |
|
inline |
◆ getScaleRatio()
void nvdsinferserver::BatchSurfaceBuffer::getScaleRatio |
( |
uint32_t |
batchIdx, |
|
|
double & |
ratioX, |
|
|
double & |
ratioY |
|
) |
| |
|
inline |
◆ getSurfaceParams()
◆ getSyncObj()
◆ getTotalBytes()
uint64_t nvdsinferserver::BaseBatchBuffer::getTotalBytes |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ hasAttachedBufs()
bool nvdsinferserver::BaseBatchBuffer::hasAttachedBufs |
( |
| ) |
const |
|
inlineinherited |
◆ hasAttachLoop()
bool nvdsinferserver::BaseBatchBuffer::hasAttachLoop |
( |
| ) |
const |
|
inlineinherited |
◆ mutableAttachedBufs()
std::vector<SharedBatchBuf>& nvdsinferserver::BaseBatchBuffer::mutableAttachedBufs |
( |
| ) |
|
|
inlineinherited |
◆ mutableBufDesc()
◆ setBatchSize()
virtual void nvdsinferserver::BaseBatchBuffer::setBatchSize |
( |
uint32_t |
size | ) |
|
|
inlinevirtualinherited |
◆ setBufDesc()
◆ setBufId()
void nvdsinferserver::BaseBatchBuffer::setBufId |
( |
uint64_t |
id | ) |
|
|
inlineinherited |
◆ setCuEvent()
void nvdsinferserver::BaseBatchBuffer::setCuEvent |
( |
SharedCuEvent |
e | ) |
|
|
inlineinherited |
◆ setOffsets()
void nvdsinferserver::BatchSurfaceBuffer::setOffsets |
( |
uint32_t |
batchIdx, |
|
|
uint32_t |
offsetLeft, |
|
|
uint32_t |
offsetTop |
|
) |
| |
|
inline |
◆ setScaleRatio()
void nvdsinferserver::BatchSurfaceBuffer::setScaleRatio |
( |
uint32_t |
batchIdx, |
|
|
double |
ratioX, |
|
|
double |
ratioY |
|
) |
| |
|
inline |
◆ setSyncObj()
◆ waitForSyncObj()
void nvdsinferserver::BaseBatchBuffer::waitForSyncObj |
( |
| ) |
|
|
inlineinherited |
The documentation for this class was generated from the following file: