# Steps to update BitBake files for plugin compilation

Source: [https://docs.qualcomm.com/doc/80-70014-15B/topic/steps-to-update-bitbake-for-compilation.html](https://docs.qualcomm.com/doc/80-70014-15B/topic/steps-to-update-bitbake-for-compilation.html)

1. Follow [Creating your Qualcomm IM SDK plugin](https://docs.qualcomm.com/doc/80-70014-15B/topic/esdk-create-own-plugin.html)
                for instructions on compiling and installing the `superresolution`
                plugin.
2. Setup Wayland display 

        ssh root@[IP addrof the target device]Copy to clipboard

Note: If prompted, enter oelinux123 as the password for the ssh shell.

        export XDG_RUNTIME_DIR=/dev/socket/weston && export WAYLAND_DISPLAY=wayland-1Copy to clipboard

**Reference GStreamer pipeline to use `qtimlvsuperresolution` plugin**

    gst-launch-1.0 -e --gst-debug=2,qtimltflite:7 filesrc location=/opt/video.mp4 ! qtdemux ! queue ! h264parse ! \
    v4l2h264dec capture-io-mode=5 output-io-mode=5 ! queue !  tee name=split \
    split. ! queue ! qtivcomposer name=mixer \
    sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" \
    sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" \
    ! queue ! waylandsink sync=false fullscreen=true \
    split. ! qtimlvconverter   ! queue ! \
    qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so \
    external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/opt/quicksrnetlarge_quantized.tflite ! queue ! \
    qtimlvsuperresolution module=srnet constants="qsrnetlarge,q-offsets=<-128.0>,q-scales=<0.0039139483124017715>;" ! \
    video/x-raw,width=512,height=512,format=RGB ! \
    queue ! mixer.Copy to clipboard

Note: Input video resolution must be
            128x128x3. As quicksrnetlarge\_quantized.tflite model input
            dimensions are 128x128x3.

Last Published: Jan 21, 2026

[Previous Topic
Steps to create srnet module](https://docs.qualcomm.com/bundle/publicresource/80-70014-15B/topics/steps-to-create-srnet-module.md) [Next Topic
AI Hub – Qualcomm IM SDK](https://docs.qualcomm.com/bundle/publicresource/80-70014-15B/topics/ai-hub-imsdk.md)