Hi hailo
I am currently developing on the Hailo-15 platform using the GStreamer framework. My goal is to implement a hardware-accelerated color format conversion from NV12 to RGB using the DSP.
Based on my review and testing, I have the following question.
1. What I’ve Confirmed:
- According to the “HailoDSP User Guide” , section 2.8 Format Convert API, the low-level C API (
dsp_convert_format) explicitly supports NV12 to RGB conversion. This confirms the DSP hardware has the capability.
2. My Test Results with GStreamer:
-
I have inspected the list of available GStreamer plugins using
gst-inspect-1.0. -
Using the
hailovideoscaleplugin, I successfully performed hardware-accelerated image resizing (e.g., NV12 1080p → NV12 480p). This works as expected. -
However, when I attempted to perform format conversion (e.g., NV12 → RGB) using the same
hailovideoscaleplugin, the pipeline failed to link. My current workaround is to use the standard, CPU-basedvideoconvertelement, which is not ideal. -
I could not find any other Hailo plugin in the list that seems to correspond to the general-purpose “Format Convert API” mentioned in the user guide.
My Question: Is the functionality of the “Format Convert API” not yet exposed as a dedicated GStreamer plugin?
If hardware-accelerated format conversion is indeed possible via GStreamer, could you please let me know the name of the correct plugin/element and an example gst-launch-1.0 command to perform the NV12 to RGB conversion?
Thank you for your time and support.
Best regards,