tiovxmemalloc - TexasInstruments/edgeai-gst-plugins GitHub Wiki
TIOVX MemAlloc
tiovxmemalloc
is used to export a tiovx bufferpool to elements upstream.
Hierarchy
GObject
╰──GInitiallyUnowned
╰──GstObject
╰──GstElement
╰──GstBaseTransform
╰──GstTIOVXMemAlloc
Pad templates
sink
ANY
Availability – always
Direction – sink
Object type – GstPad
src
ANY
Availability – always
Direction – src
Object type – GstPad
Properties
name
The name of the object
String Default value : "tiovxmemalloc0"
parent
The parent of the object
Flags : Read / Write
GstObject Default value : N/A
pool-size
Number of buffers to allocate in pool
Unsigned Integer. Range: 2 - 16 Default value : 2
qos
Handle Quality-of-Service events Flags : Read / Write
Boolean Default value : false
Pipeline examples
Decoder dmabuf-import
gst-launch-1.0 filesrc location=/opt/edge_ai_apps/data/videos/video_0000_h264.mp4 ! \
qtdemux ! h264parse ! v4l2h264dec capture-io-mode=dmabuf-import ! video/x-raw, format=NV12 ! \
tiovxmemalloc pool-size=9 ! kmssink