Issue #2311 - Part 4 - Use FFTBlock from ffvpx instead of libav

This commit is contained in:
trav90 2023-09-20 14:03:40 -05:00 committed by roytam1
commit 1ae2b21c0d
3 changed files with 48 additions and 18 deletions

View file

@ -35,6 +35,10 @@ namespace mozilla {
typedef std::complex<double> Complex;
#ifdef MOZ_LIBAV_FFT
FFmpegRDFTFuncs FFTBlock::sRDFTFuncs;
#endif
FFTBlock* FFTBlock::CreateInterpolatedBlock(const FFTBlock& block0, const FFTBlock& block1, double interp)
{
FFTBlock* newBlock = new FFTBlock(block0.FFTSize());