Skip to content
Snippets Groups Projects
  1. Mar 09, 2024
    • Alexandre Janniaux's avatar
      contrib: vulkan-headers: detect current version · 69f935aa
      Alexandre Janniaux authored and Steve Lhomme's avatar Steve Lhomme committed
      Automatically enable the headers, but detect the currently available
      header version with cppcheck since the pkgconfig file will actually
      detect the version of the loader.
      
      cppcheck cannot understand the full header version, which was also not
      available before 1.3 anyway. Moreover, the major and minor versions are
      not defined directly, but instead either through cast or not at all
      (before 1.3), so we use the header guards defines and the
      VK_HEADER_VERSION for the last patch revision number, which directly
      matches the actual package revision.
      
      v1.3.239 is the version provided by the vulkan-loader package on debian
      bookworm, and the main constraint we have is the presence of the
      vulkan/vulkan_beta.h header which should be present and the presence or
      absence of the old/new video_decode extension that was promoted. 238 is
      the first revision removing the previous video_decode extension and
      adding the new one.
      
      Tested on linux with headers present and android with system header
      being obsolete.
      69f935aa
    • Alexandre Janniaux's avatar
      libplacebo: add dependency to vulkan-headers also · f6d0107d
      Alexandre Janniaux authored and Steve Lhomme's avatar Steve Lhomme committed
      libplacebo depends directly on vulkan-headers, not transitionally.
      The constraint was written like this to not always install the headers
      if some were provided by the system.
      f6d0107d
    • Steve Lhomme's avatar
  2. Mar 08, 2024
  3. Mar 07, 2024
  4. Mar 05, 2024
  5. Mar 03, 2024
    • Alexandre Janniaux's avatar
      mp4: essetup: fix QTRLE decoding · a3896968
      Alexandre Janniaux authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      Video using the ffmpeg qtrle decoder are failing to play with:
      
          [qtrle @ 0x76117804fc00] Unsupported colorspace: 0 bits/sample?
          [0000761178024760] avcodec decoder error: cannot start codec (qtrle)
          [0000761178024760] main decoder error: Codec `rle ' (Apple QuickTime RLE Video) is not supported.
          [0000761178024760] main decoder error: Codec not supported
          [0000761178024760] main decoder error: VLC could not decode the format "rle " (Apple QuickTime RLE Video)
      
      Indeed, QTRLE format can compress source with either 1, 2, 4, 8, 16, 24
      or 32 bpp, and the actual bpp is stored in the stst atom, not in the
      decoder payload. The demux has to forward this value to the decoder one
      way or another.
      
      Regression from 12030f5ccac852aaa3f9f66b20606d2fc344f8f4, which starts
      setting the bpp to zero in avcodec because there is no chroma yet.
      Defining a chroma instead of forwarding the bpp would be possible for 8,
      16, 24 RLE data cases, but would not work for lower RLE data cases.
      
      The correct i_bits_per_pixel field being removed in commit
      1d46d8b7, a hack is implemented instead.
      The hack is from 3e5f2e5d and other
      places that needed it.
      
      Fixes #28550
      a3896968
  6. Mar 02, 2024
Loading