This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM69: gst pipeline tiovxcolorconvert

Part Number: SK-AM69
Other Parts Discussed in Thread: AM69

Hi,
I'm using ti-processor-sdk-linux-edgeai-j784s4-evm-10_01_00_05-Linux-x86-Install.bin on SK-AM69.

When I run the folowing pipeline:
gst-launch-1.0 rtspsrc location=rtsp://192.168.109.242/live_st1 latency=200 ! queue ! \
rtph264depay ! \
h264parse ! queue ! \
v4l2h264dec capture-io-mode=dmabuf ! \
tiovxcolorconvert target=0 ! \
video/x-raw,format=NV12 ! \
waylandsink sync=false

Every thing works fine.

However, when I change the target to 1 ~ 3:
gst-launch-1.0 rtspsrc location=rtsp://192.168.109.242/live_st1 latency=200 ! queue ! \
rtph264depay ! \
h264parse ! queue ! \
v4l2h264dec capture-io-mode=dmabuf ! \
tiovxcolorconvert target=1 ! \
video/x-raw,format=NV12 ! \
waylandsink sync=false

I get the following warning:
WARNING: erroneous pipeline: could not set property "target" in element "tiovxcolorconvert" to "1"

Does this mean tiovxcolorconvert only runs on target=0 (DSP_C7-2)?

Since AM69 has 4 C7x DSP cores, how can I utilize all of them for color conversion or other OpenVX tasks?

Is there a way to assign tiovxcolorconvert to other DSP targets ?

Best Regards,
Jason Lee

  • Hi Jason,

    By default colorconvert kernel is added only on c7x_2 target.

    Is there a way to assign tiovxcolorconvert to other DSP targets ?

    You will need rtos sdk for this assign the kernels to other targets.

    Follow this link for build setup.

    Modify these changes, inside $(psdkra)/tiovx/kernels/openvx-core/host/vx_color_convert_host.c

    and copy the necessary libraries to the sd card (libtivision_apps.so).

    Also can you run the script before running the gst pipeline,
    "source /opt/vision_apps/vision_apps_init.sh"
    This will enable remote core logs and give some more details.

    Regards,
    Gokul