No announcement yet.

H.264 Decoding Tackled For Reverse-Engineered "Cedrus" Allwinner Video Decode Driver

  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by agd5f View Post
    Full decode and encode capabilities are supported on GCN 1.0 devices with the radeon driver.
    But with that you lose Vulkan. I am still hoping AMD manages to release the compatible firmware. So GCN 1.0 users like the ones who brought the barely three years old R9 370X can enjoy video acceleration and Vulkan.


    • #12
      Originally posted by tichun View Post

      It is ported to amdgpu unofficially for like two years, I'm even on amdgpu-pro(here it's official) currently, and vdpauinfo shows support for MPEG1, MPEG2_SIMPLE, MPEG2_MAIN.
      In the old radeon driver, there are a few h.264 and a bit more, but they don't work. All videos played are mostly pink and cpu usage is as high or higher than without it, I mean playback through Epiphany or Chromium-beta with video decode.
      Those apps both use gstreamer, right? I've had a lot of trouble with hardware decoding on my AMD R9 Fury with anything that uses gstreamer, but mpv and ffmpeg works flawlessly.


      • #13
        This preliminary H.264 video decoding with the Cedrus driver works with multimedia programs in user-space via the libvdpau-sunxi user-space component for offering up the well-supported VDPAU video decode API to media players, etc.
        Michael You mixed up libvdpau-sunxi, which is a precursor project, where most reverse engineering happened and current project, implementing V4L2 VPU kernel driver, which is based on knowledge from libvdpau-sunxi. However, there will be optional userspace library (since V4L2 codecs based on request API are not yet supported by any player), which will implement VAAPI interface.


        • #14
          Originally posted by tichun View Post
          They can reverse-engineer it with 13 people in the company, but AMD cannot provide it for their own gcn1 devices? Weird.
          on what planet those 13 people reverse-engineered h264 decode on allwinner for amdgpu?
          Last edited by pal666; 06-14-2018, 11:13 AM.


          • #15
            Originally posted by tpruzina
            If my memory serves me right, 370X -> 370 -> 270X -> 7970 are basically the same GPU
            R7 370X/370 -> R9 270X/270/R7 265 -> 7870/7850 are based on Pitcairn.
            R9 280X/280 -> 7970/7950/7870XT are based on Tahiti.

            Both are first-generation GCN with only two(?) async compute queues and no FreeSync support for gaming. Supposedly they have FreeSync support for video playback, but I have never seen this work under any OS.