1. 03 8月, 2016 4 次提交
  2. 02 8月, 2016 2 次提交
    • M
      intreadwrite: Use the __unaligned keyword on MSVC for ARM and x86_64 · f79d8474
      Martin Storsjö 提交于
      AV_WN64 is meant for unaligned data, but the existing av_alias* unions
      (without a definition for the av_alias attribute - we don't have one
      for MSVC) indicate to the compiler that they would have sufficient
      alignment for normal access, i.e. the compiler is free to assume
      8 byte alignment.
      
      On ARM, this makes sure that AV_WN64 (or two consecutive AV_WN32) is
      done with two str instructions instead of one strd.
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      f79d8474
    • M
      intreadwrite: Add intermediate variables in the byteswise AV_W*() macros · 230b1c07
      Martin Storsjö 提交于
      This avoids issues with expanding the argument multiple times,
      and makes sure that it is of the right type for the following shifts.
      
      Even if the caller of a macro could be expected not to pass parameters
      that have side effects if expanded multiple times, these fallback
      codepaths are rarely, if ever, tested, so it is expected that such
      issues can arise.
      
      Thefore, for safety, make sure the fallback codepaths only expand
      the arguments once.
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      230b1c07
  3. 01 8月, 2016 3 次提交
  4. 31 7月, 2016 3 次提交
  5. 30 7月, 2016 7 次提交
  6. 29 7月, 2016 1 次提交
  7. 27 7月, 2016 2 次提交
  8. 26 7月, 2016 4 次提交
  9. 23 7月, 2016 14 次提交