Daniel Morin 8169863f01 analytics: Make GstTensor more suitable for inline allocation
GstTensor contained two fields (data, dims) that were dynamicallay allocated. For
data it's for a GstBuffer and we have pool for efficient memory management. For
dims it's a small array to store the dimension of the tensor. The dims field
can be allocated inplace by moving it at the end of the structure. This will
allow a better memory management when GstTensor is stored in an analytics meta
which will take advantage of the _clear interface for re-use.

- New api to allocate and free GstTensor
To continue to support use-cases where GstTensor is not stored in an
analytics-meta we provide gst_tensor_alloc, gst_tensor_alloc_n and
gst_tensor_free that will facilitate memory management.
- Make GstTensor a boxed type

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6000>
2024-11-08 14:58:49 +00:00
..
2024-07-24 12:07:09 +02:00
2024-10-25 13:55:19 +00:00
2023-08-08 22:12:29 +00:00
2024-10-02 20:33:13 +00:00
2024-10-25 13:55:19 +00:00
2024-09-18 20:37:10 +00:00
2024-10-19 16:31:13 +00:00
2023-08-30 15:45:12 +00:00
2024-07-30 17:51:51 +00:00
2024-05-02 13:26:09 +02:00
2024-01-31 18:46:59 +00:00
2024-10-25 13:55:19 +00:00
2024-09-14 18:30:58 +00:00
2024-02-02 17:23:08 +00:00
2024-11-06 22:47:39 +00:00