Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR#431 porting from vvenc. #208

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

Proudsalsa
Copy link

Additions to original:
adjusted to the circumstances in vvdec: Stride datatypes + namespace

original commit message in vvenc:

Refactor AArch64 Interpolation Filter 16x16 implementation (#431)

  • Move InterpolationFilter{ARM.h => _neon.cpp}

Since this header is only used in one place and would not share any code with an eventual SVE implementation, simply move it to a .cpp file similar to MCTF.cpp.

  • Refactor simdFilter16xX_N8_neon

The use of the vsrcv temporary array rather than simple local variables meant that LLVM emitted an unnecessary number of load/store instructions in the inner loops. Refactoring this to make the dependency between loop iterations more explicit allows for much nicer generated code.

Running a video encoding job on a Neoverse V2 machine using the --preset=fast setting shows a ~1.8% improvement in reported FPS.

Refactor AArch64 Interpolation Filter 16x16 implementation (#431)

* Move InterpolationFilter{ARM.h => _neon.cpp}

Since this header is only used in one place and would not share any code
with an eventual SVE implementation, simply move it to a .cpp file
similar to MCTF.cpp.

* Refactor simdFilter16xX_N8_neon

The use of the vsrcv temporary array rather than simple local variables
meant that LLVM emitted an unnecessary number of load/store instructions
in the inner loops. Refactoring this to make the dependency between loop
iterations more explicit allows for much nicer generated code.

Running a video encoding job on a Neoverse V2 machine using the
--preset=fast setting shows a ~1.8% improvement in reported FPS.
@Proudsalsa Proudsalsa marked this pull request as ready for review October 21, 2024 11:57
@adamjw24 adamjw24 merged commit a21a274 into fraunhoferhhi:master Oct 21, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants