1. 06 Sep, 2018 1 commit
  2. 05 Jan, 2018 1 commit
  3. 30 Nov, 2017 1 commit
    • Steven Robertson's avatar
      avcodec/dnxhddec: Do not overwrite colorspace if the container has set it. · c6a905b9
      Steven Robertson authored
      The existing logic overrides container metadata even in cases where the
      container metadata must be trusted (e.g. HDR). The original spec had no
      provision for specifying color volume, so many files rely on the
      assumption of Rec. 709.
      
      An update to the spec included a 'clv' field for explicitly signaling
      that the container should be trusted in an existing bitfield in the
      frame header, but the default of 0 from old encoders forces Rec. 709,
      which would break any HDR stream. Because there is no place in DNxHR for
      specifying a transfer function, DNxHR HDR files must include
      container-level color information.
      
      This patch maintains the existing behavior of choosing the 709 over the
      601 matrix when container-level information is missing, and allows
      container-level information to win if present.
      Signed-off-by: 's avatarSteven Robertson <steven@strobe.cc>
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      c6a905b9
  4. 27 Jul, 2017 1 commit
  5. 11 Apr, 2017 1 commit
  6. 10 Apr, 2017 1 commit
  7. 31 Mar, 2017 1 commit
  8. 29 Mar, 2017 1 commit
  9. 23 Mar, 2017 1 commit
  10. 22 Feb, 2017 1 commit
  11. 03 Dec, 2016 1 commit
  12. 28 Oct, 2016 2 commits
  13. 03 Aug, 2016 1 commit
  14. 25 Jul, 2016 1 commit
  15. 20 Jul, 2016 1 commit
  16. 16 Jul, 2016 1 commit
  17. 14 Feb, 2016 1 commit
  18. 04 Dec, 2015 1 commit
  19. 29 Nov, 2015 1 commit
    • Michael Niedermayer's avatar
      avcodec/dnxhddec: Disable 12bit by default · 55711e6f
      Michael Niedermayer authored
      The DC VLC table used is too small, fixing this requires a sample,
      thus request a sample.
      Some samples are said to work even though the table has the wrong size, thus
      this is left enabled if the user enables experimental features.
      
      Fixes: 2abd25478c62a675f335fac00b467023/asan_static-oob_10aff98_1227_8811480c6ef1e970a7977ceb7e5a9958.mxf
      
      Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
      Approved-by: kurosu
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      55711e6f
  20. 05 Nov, 2015 1 commit
  21. 15 Oct, 2015 1 commit
  22. 07 Oct, 2015 1 commit
    • Christophe Gisquet's avatar
      dnxhddec: better support for 4:4:4 · 71199ee9
      Christophe Gisquet authored
      Profiles 1256 & 1270 (currently) signal at the frame header and MB
      levels the colorspace used, either RGB or YUV. While a MB-level
      varying colorspace is not supported, whether it is constant can be
      tracked so as to determine the exact colorspace.
      
      This requires having bitdepth and the ACT and 4:4:4 flags, in turn
      needing the CID. Because setting those before having validated
      enough things may result in invalid/unset DSP fucntions, setting
      the bitdepth in the context is delayed.
      
      It is not tested against a true RGB sequence, though.
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      71199ee9
  23. 05 Oct, 2015 5 commits
  24. 02 Oct, 2015 3 commits
  25. 29 Sep, 2015 2 commits
    • Vittorio Giovara's avatar
      e94e651c
    • Christophe Gisquet's avatar
      dnxhddec: Decode and use interlace mb flag · c49cbecb
      Christophe Gisquet authored
      This bit is 1 in some samples, and seems to coincide with interlaced
      mbs and CID1260. 2008 specs do not know about it, and maintain qscale
      is 11 bits. This looks oversized, but may help larger bitdepths.
      
      Currently, it leads to an obviously incorrect qscale value, meaning
      its syntax is shifted by 1. However, reading 11 bits also leads to
      obviously incorrect decoding: qscale seems to be 10 bits.
      
      However, as most profiles still have 11bits qscale, the feature is
      restricted to the CID1260 profile (this flag is dependent on
      a higher-level flag located in the header).
      
      The encoder writes 12 bits of syntax, last and first bits always 0,
      which is now somewhat inconsistent with the decoder, but ends up with
      the same effect (progressive + reserved bit).
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      c49cbecb
  26. 28 Sep, 2015 2 commits
  27. 27 Sep, 2015 4 commits
  28. 26 Sep, 2015 1 commit