Hello,
I'd like to access the 2D GPU for i.MX8M-Mini device is there any examples to do it effectively and make use of the IP block to accelerate simple image processing?
Thank you.
you can use imxvideoconvert_g2d in the gstreamer to call the 2D gpu,
Combination with i.MX with IPU or VPU
It is possible to combine CSC, resize, rotate, and deinterlace at one time. Both of imxvideoconvert_ipu and
imxvideoconvert_g2d can be used at the same time in a pipeline. The following is an example:
gst-launch-1.0 videotestsrc ! video/x-raw,format=I420,width=1280,height=800,interlacemode=
interleaved ! imxvideoconvert_ipu rotation=2 deinterlace=3 ! video/xraw,
format=NV12,width=800,height=600 ! vpuenc_h264 ! vpudec ! imxvideoconvert_g2d
rotation=3 ! video/x-raw,format=RGB16,width=640,height=480 ! ximagesink sync=false display=:0
for more detailed information, pls refer to the enclosed file