NVIDIA DeepStream SDK API Reference

9.2 Release
pydeepstreamdoc::buffer::BufferDoc Namespace Reference

Variables

constexpr const char * descr
 
constexpr const char * init_empty = R"pydeepstream(Construct an empty buffer.)pydeepstream"
 
constexpr const char * init_bytes
 
constexpr const char * init_gst_buffer
 
constexpr const char * get_chunk_id
 
constexpr const char * extract
 

Variable Documentation

◆ descr

constexpr const char * pydeepstreamdoc::buffer::BufferDoc::descr
constexpr
Initial value:
= R"pydeepstream(
Wrapper of a deepstream buffer
:ivar batch_size: *int*, Batch size of the buffer
:ivar batch_meta: :class:`BatchMetadata`, Batch metadata of the buffer
:ivar timestamp: *int*, Timestamp of the buffer)pydeepstream"

Definition at line 26 of file service-maker/sources/python/src/bindings/docstrings/bufferdoc.h.

Referenced by module_buffer_bind().

◆ extract

constexpr const char * pydeepstreamdoc::buffer::BufferDoc::extract
constexpr
Initial value:
= R"pydeepstream(
Extract data from the buffer in the batch with given id to a tensor
:arg batch_id: *int* Batch id of the buffer
:returns: :class:`Tensor` Buffer data as tensor)pydeepstream"

Definition at line 49 of file service-maker/sources/python/src/bindings/docstrings/bufferdoc.h.

Referenced by module_buffer_bind().

◆ get_chunk_id

constexpr const char * pydeepstreamdoc::buffer::BufferDoc::get_chunk_id
constexpr
Initial value:
= R"pydeepstream(
Retrieve chunk ID of the buffer from the batch ID, in case of dynamic src decoder.
Always returns 0 in case of uridecodebin.
:arg batch_id: Batch id of the buffer
:returns: Chunk id of the buffer)pydeepstream"

Definition at line 43 of file service-maker/sources/python/src/bindings/docstrings/bufferdoc.h.

Referenced by module_buffer_bind().

◆ init_bytes

constexpr const char * pydeepstreamdoc::buffer::BufferDoc::init_bytes
constexpr
Initial value:
= R"pydeepstream(
Construct a buffer from a list of bytes.
:arg data: *list of int* Byte list to construct the buffer)pydeepstream"

Definition at line 33 of file service-maker/sources/python/src/bindings/docstrings/bufferdoc.h.

Referenced by module_buffer_bind().

◆ init_empty

constexpr const char * pydeepstreamdoc::buffer::BufferDoc::init_empty = R"pydeepstream(Construct an empty buffer.)pydeepstream"
constexpr

◆ init_gst_buffer

constexpr const char * pydeepstreamdoc::buffer::BufferDoc::init_gst_buffer
constexpr
Initial value:
= R"pydeepstream(
Typecast a buffer from a GstBuffer object.
:arg gst_buffer: :class:`Gst.Buffer` GstBuffer object)pydeepstream
:returns: :class:`Buffer` Buffer object)pydeepstream"

Definition at line 38 of file service-maker/sources/python/src/bindings/docstrings/bufferdoc.h.

Referenced by module_buffer_bind().