[mythtv-commits] [MythTV/mythtv] da6dfd: audioconvert.cpp: replace ARCH_X86 with Q_PROCESSO...

Scott Theisen noreply at github.com
Fri Feb 18 13:00:43 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: da6dfd64863d280e77460a8df45910f677cdc025
      https://github.com/MythTV/mythtv/commit/da6dfd64863d280e77460a8df45910f677cdc025
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audioconvert.cpp

  Log Message:
  -----------
  audioconvert.cpp: replace ARCH_X86 with Q_PROCESSOR_X86

QtGlobal replaces mythconfig.h


  Commit: b393b7ea23907a2b778d73f971bc05709f722f7f
      https://github.com/MythTV/mythtv/commit/b393b7ea23907a2b778d73f971bc05709f722f7f
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutpututil.cpp

  Log Message:
  -----------
  audiooutpututil.cpp: replace ARCH_X86 with Q_PROCESSOR_X86

QtGlobal replaces mythconfig.h


  Commit: 79a1fe0e83e9314adce93a5b1b6d3de0fc2372fb
      https://github.com/MythTV/mythtv/commit/79a1fe0e83e9314adce93a5b1b6d3de0fc2372fb
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutputbase.cpp

  Log Message:
  -----------
  libmyth: replace ARCH_ARM with Q_PROCESSOR_ARM


  Commit: 80d2cc482b0117c0a3d93897a84fd0e40fbe31b8
      https://github.com/MythTV/mythtv/commit/80d2cc482b0117c0a3d93897a84fd0e40fbe31b8
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythavutil.cpp

  Log Message:
  -----------
  mythavutil.cpp: replace ARCH_ARM with Q_PROCESSOR_ARM


  Commit: 5fa7b900d9488649bb94ab83836b64ef42263171
      https://github.com/MythTV/mythtv/commit/5fa7b900d9488649bb94ab83836b64ef42263171
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp

  Log Message:
  -----------
  mythdeinterlacer.cpp: indent nested preprocessor ifs


  Commit: 8f112d558f7d434c007aada52c46b34420922570
      https://github.com/MythTV/mythtv/commit/8f112d558f7d434c007aada52c46b34420922570
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp

  Log Message:
  -----------
  mythdeinterlacer.cpp: x86_64 requires SSE2

with 16 registers, instead of the original 8 for the x86 extension.

I have not investigated whether or not the extra registers are used.


  Commit: b47659b5baf962ce7dffcb4d30d8aeef7f167bcf
      https://github.com/MythTV/mythtv/commit/b47659b5baf962ce7dffcb4d30d8aeef7f167bcf
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp
    M mythtv/libs/libmythtv/mythdeinterlacer.h

  Log Message:
  -----------
  mythdeinterlacer: convert s_haveSIMD to a file static const

It's only used once, so it could be a function static.


  Commit: 8b28709f95b4739e1fb39a9f662c35a951f0e5da
      https://github.com/MythTV/mythtv/commit/8b28709f95b4739e1fb39a9f662c35a951f0e5da
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp

  Log Message:
  -----------
  mythdeinterlacer.cpp: use Q_PROCESSOR_...

Q_PROCESSOR_ARM_64 is undocumented, but has existed since 2013, so I have duplicated
the checks for GCC/clang and MSVC.


  Commit: 4eeaa5d77e7d0d8ff7978e19b7091e44a99d1878
      https://github.com/MythTV/mythtv/commit/4eeaa5d77e7d0d8ff7978e19b7091e44a99d1878
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp

  Log Message:
  -----------
  mythdeinterlacer.cpp: remove use of internal FFmpeg headers

References https://github.com/MythTV/mythtv/issues/428


  Commit: b074c2abc9176ffb76bbd2413cfb0dca7c9544bd
      https://github.com/MythTV/mythtv/commit/b074c2abc9176ffb76bbd2413cfb0dca7c9544bd
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp

  Log Message:
  -----------
  mythdeinterlacer.cpp: C++17 __has_include(<arm_neon.h>)

This should be equivalent to the check from configure.

x86_64 assumes <emmintrin.h> exists; however, I'm not sure if it would also be acceptable
to assume <arm_neon.h> exists when compiling for ARM.


Compare: https://github.com/MythTV/mythtv/compare/f10e93cf03bf...b074c2abc917


More information about the mythtv-commits mailing list