gstreamer/subprojects/gst-plugins-bad/ext/onnx
Daniel Morin 48e3836482 onnx: Add support for float datatype
This is a bit of a hack solution has I think the correct solution is to
expose model caps on sinkpad (eventually sinkpads). Till then I think
this is reasonable.

- Add a property to onnxinference to set datatype.
- Fix internal buffer allocation size based on datatype.
- Extract method to remove alphe channel and convert to planar image
  when requested. Also template the method to support writing to buffers
  of different datatype.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5761>
2023-12-05 16:54:45 +00:00
..
decoders onnx: Remove unnecessary tensorid class 2023-10-20 00:33:29 +00:00
tensor onnx: Remove unnecessary tensorid class 2023-10-20 00:33:29 +00:00
gstml.h onnx: add gstonnxinference element 2023-10-20 00:33:29 +00:00
gstonnx.c onnx: add gstonnxinference element 2023-10-20 00:33:29 +00:00
gstonnxclient.cpp onnx: Add support for float datatype 2023-12-05 16:54:45 +00:00
gstonnxclient.h onnx: Add support for float datatype 2023-12-05 16:54:45 +00:00
gstonnxinference.cpp onnx: Add support for float datatype 2023-12-05 16:54:45 +00:00
gstonnxinference.h onnx: Remove enums file 2023-10-20 00:33:29 +00:00
meson.build onnx: Remove unnecessary tensorid class 2023-10-20 00:33:29 +00:00