• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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.
    • E
      Ed Sutter
      last edited by 22 Nov 2022, 17:20

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

      E 1 Reply Last reply 22 Nov 2022, 17:23 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @Ed Sutter
        last edited by 22 Nov 2022, 17:23

        @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 23 Nov 2022, 10:44 Reply Quote 0
        • P
          prasanth @Eric Katzfey
          last edited by 23 Nov 2022, 10:44

          @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).

          E 1 Reply Last reply 23 Nov 2022, 17:15 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @prasanth
            last edited by 23 Nov 2022, 17:15

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

            D 1 Reply Last reply 4 Dec 2022, 20:16 Reply Quote 0
            • D
              Dong Liu @Eric Katzfey
              last edited by Dong Liu 4 Dec 2022, 20:17 4 Dec 2022, 20:16

              @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!

              E 1 Reply Last reply 4 Dec 2022, 21:14 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @Dong Liu
                last edited by 4 Dec 2022, 21:14

                @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.

                D 1 Reply Last reply 4 Dec 2022, 23:22 Reply Quote 0
                • D
                  Dong Liu @Eric Katzfey
                  last edited by 4 Dec 2022, 23:22

                  @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