@dev-note: Tiler Composition Steps: 1) Extract GstNvStreamMeta from the input muxed buffer 2) loop for GstNvStreamMeta->num_filled (number of filled batch buffers) a) Each buffer according to its stream_id is assigned a blit position - (x,y) [width, height] 3) NvBufSurfaceComposite() each stream buffer on the output buffer at the computed tile position 4) Iterate through NvDsBatchMeta->NvDsFrameMeta[according_to_stream_id] ->NvDsObjectMeta list and scale all bounding boxes to the computed tile rect
Definition at line 49 of file sources/gst-plugins/gst-nvtiler/INvTiler.h.
|
| virtual bool | Init (TilerConfig config)=0 |
| | Initialize or re-initialize the Tiler. More...
|
| |
| virtual bool | Composite (NvBufSurface *inputBuffer, NvDsBatchMeta *inputBufferMeta, NvBufSurface *outputBuffer, NvBufSurface *tilerScratchBuffer, uint32_t gpuId, int32_t compute_hw, int32_t interpolation_method)=0 |
| | TilerComposite helps composite an input batch onto outputBuffer. More...
|
| |
| virtual bool | AdjustOutputMeta (NvDsBatchMeta *outputBatchMeta)=0 |
| | Scale every bounding box meta to match tile resolution. More...
|
| |
| virtual uint32_t | GetTileWidth (uint32_t sourceId)=0 |
| |
| virtual uint32_t | GetTileHeight (uint32_t sourceId)=0 |
| |
| virtual void | SyncObjWait ()=0 |
| |
| virtual void | Deinit ()=0 |
| | Deinitialize the Tiler. More...
|
| |
| virtual bool | SetSingleSourceMode (bool on, int32_t sourceId=-1)=0 |
| | Set ON/OFF the single source mode. More...
|
| |
| virtual void | DeleteSource (int32_t sourceId)=0 |
| | Delete a source for which a Composite() was done before This API ensure all cache'd metadata for this source is cleared. More...
|
| |
| virtual bool | SetSquareGridMode (bool squareGrid)=0 |
| | Set Tiles based on square Grid. More...
|
| |
| virtual bool | SetTilerMap (std::map< uint32_t, uint32_t > *tiler_map, GMutex *tiler_map_lock)=0 |
| | Pass ptr to the map of <source_id, tile_index> with its lock. More...
|
| |
| virtual | ~INvTiler () |
| |
| virtual bool | Init (TilerConfig config)=0 |
| | Initialize or re-initialize the Tiler. More...
|
| |
| virtual bool | Composite (NvBufSurface *inputBuffer, NvDsBatchMeta *inputBufferMeta, NvBufSurface *outputBuffer, NvBufSurface *tilerScratchBuffer, uint32_t gpuId, int32_t compute_hw, int32_t interpolation_method)=0 |
| | TilerComposite helps composite an input batch onto outputBuffer. More...
|
| |
| virtual bool | AdjustOutputMeta (NvDsBatchMeta *outputBatchMeta)=0 |
| | Scale every bounding box meta to match tile resolution. More...
|
| |
| virtual uint32_t | GetTileWidth (uint32_t sourceId)=0 |
| |
| virtual uint32_t | GetTileHeight (uint32_t sourceId)=0 |
| |
| virtual void | SyncObjWait ()=0 |
| |
| virtual void | Deinit ()=0 |
| | Deinitialize the Tiler. More...
|
| |
| virtual bool | SetSingleSourceMode (bool on, int32_t sourceId=-1)=0 |
| | Set ON/OFF the single source mode. More...
|
| |
| virtual void | DeleteSource (int32_t sourceId)=0 |
| | Delete a source for which a Composite() was done before This API ensure all cache'd metadata for this source is cleared. More...
|
| |
| virtual bool | SetSquareGridMode (bool squareGrid)=0 |
| | Set Tiles based on square Grid. More...
|
| |
| virtual bool | SetTilerMap (std::map< uint32_t, uint32_t > *tiler_map, GMutex *tiler_map_lock)=0 |
| | Pass ptr to the map of <source_id, tile_index> with its lock. More...
|
| |
| virtual | ~INvTiler () |
| |