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

libmythfreesuround cleanup (remove internal FFmpeg header fft.h) #462

Merged
merged 9 commits into from Feb 21, 2022

Conversation

ulmus-scott
Copy link
Contributor

@ulmus-scott ulmus-scott commented Jan 13, 2022

This was originally part of #416 . However, it stands on its own, so I have split it off.

This is motivated by #428 enable use of system FFmpeg.

Note: for testing most of the changes, ./configure --disable-fftw3

Checklist

use array access instead of iterators and combine loops
m_dft[RL] seem to be twice as big as necessary, but I kept the size for no functional change.

Strict aliasing fixes.

av_fft_init with 13 is only correct since the block size is always 8192.

FFmpeg free()s the context in av_fft_end
…_mag

This more clearly expresses what the function does and avoids confusion with std::clamp.
This was referenced Jan 13, 2022
@linuxdude42
Copy link
Contributor

This compiles with/without libfftw3 being present on my system. Unfortunately the only place I can test it is on my production frontend...

@linuxdude42 linuxdude42 merged commit f4812fa into MythTV:master Feb 21, 2022
@ulmus-scott ulmus-scott deleted the freesuround branch February 22, 2022 01:01
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.

None yet

2 participants