ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Does voxl-jpeg-turbo use any HW accelleration?

    Ask your questions right here!
    4
    7
    412
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ed SutterE
      Ed Sutter
      last edited by

      If yes great!
      If not, are there any options that support hw acceleration for JPEG encoding?

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @Ed Sutter
        last edited by

        @Ed-Sutter voxl-jpeg-turbo is just a wrapper for this code: https://github.com/libjpeg-turbo/libjpeg-turbo. So it is all SW. There is HW support for JPEG encoding on the device but we have not yet enabled it.

        P 1 Reply Last reply Reply Quote 0
        • P
          prasanth @Eric Katzfey
          last edited by

          @Eric-Katzfey we would like to use HW support for jpeg encoding right away. Is there a way or a workaround to access it? Otherwise, we are running into overheating issues on the VOXL (both VOXL-Cam and FlightDeck).

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @prasanth
            last edited by

            @prasanth You should be able to use OpenMAX (OMX) for this but we have not yet tried it.

            Dong LiuD 1 Reply Last reply Reply Quote 0
            • Dong LiuD
              Dong Liu @Eric Katzfey
              last edited by Dong Liu

              @Eric-Katzfey Hi Eric. I tried use openMAX based on this code https://github.com/tjormola/rpi-openmax-demos/blob/master/rpi-encode-yuv.c

              It compiled correctly. But which openMAX component to use? That code is for rPI, so the component is "OMX.broadcom.image_encode". I changed to "OMX.qcom.image_encode" but I got no such component error.

              Could you tell me which omx component to use for the jpeg encoding?

              Thank you!

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @Dong Liu
                last edited by

                @Dong-Liu We have not tried this yet so I don't know. But I would imagine you could locate it in a header file.

                Dong LiuD 1 Reply Last reply Reply Quote 0
                • Dong LiuD
                  Dong Liu @Eric Katzfey
                  last edited by

                  @Eric-Katzfey I tried grep OMX.qcom from header files, could not find any.

                  But, string libOmxCore.so only displayed video and audio codec. There is no image codec.

                  voxl:/usr/include$ strings /usr/lib/libOmxCore.so |grep OMX.qcom
                  OMX.qcom.video.decoder.avc
                  OMX.qcom.video.decoder.avc.dsmode
                  OMX.qcom.video.decoder.mpeg4
                  OMX.qcom.video.decoder.vc1
                  OMX.qcom.video.decoder.wmv
                  OMX.qcom.file.muxer
                  OMX.qcom.video.decoder.divx4
                  OMX.qcom.video.decoder.divx
                  OMX.qcom.video.decoder.divx311
                  OMX.qcom.video.decoder.h263
                  OMX.qcom.video.decoder.hevc
                  OMX.qcom.video.decoder.vp8
                  OMX.qcom.video.decoder.vp9
                  OMX.qcom.video.encoder.mpeg4
                  OMX.qcom.video.encoder.h263
                  OMX.qcom.video.encoder.avc
                  OMX.qcom.video.encoder.vp8
                  OMX.qcom.video.encoder.hevc
                  OMX.qcom.audio.decoder.Qcelp13
                  OMX.qcom.audio.decoder.evrc
                  OMX.qcom.audio.decoder.wma
                  OMX.qcom.audio.decoder.wma10Pro
                  OMX.qcom.audio.decoder.alac
                  OMX.qcom.audio.decoder.ape
                  OMX.qcom.audio.encoder.aac
                  OMX.qcom.audio.encoder.qcelp13
                  OMX.qcom.audio.encoder.evrc
                  OMX.qcom.audio.encoder.amrnb
                  OMX.qcom.audio.encoder.g711mlaw
                  OMX.qcom.audio.encoder.g711alaw
                  OMX.qcom.audio.encoder.amrwb
                  OMX.qcom.audio.decoder.g711mlaw
                  OMX.qcom.audio.decoder.g711alaw
                  OMX.qcom.audio.decoder.amrwb
                  OMX.qcom.audio.decoder.amrnb
                  OMX.qcom.audio.decoder.aac
                  OMX.qcom.audio.decoder.multiaac
                  1

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors