• Rostislav Pehlivanov's avatar
    aaccoder: tweak PNS implementation further · da64bd6a
    Rostislav Pehlivanov authored
    This commit changes a few things about the noise substitution
    logic:
     - Brings back the quantization factor (reduced to 3) during
       scalefactor index calculations.
     - Rejects any zeroed bands. They should be inaudiable and it's
       a waste transmitting the scalefactor indices for these.
     - Uses swb_offsets instead of incrementing a 'start' with every
       window group size.
     - Rejects all PNS during short windows.
    Overall improves quality. There was a plan to use the lfg system
    to create the random numbers instead of using whatever the decoder
    uses but for now this works fine. Entropy is far from important here.
    Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
    da64bd6a
Name
Last commit
Last update
..
aac.mak Loading commit data...
ac3.mak Loading commit data...
acodec.mak Loading commit data...
adpcm.mak Loading commit data...
alac.mak Loading commit data...
als.mak Loading commit data...
amrnb.mak Loading commit data...
amrwb.mak Loading commit data...
api.mak Loading commit data...
atrac.mak Loading commit data...
audio.mak Loading commit data...
avformat.mak Loading commit data...
bmp.mak Loading commit data...
cdxl.mak Loading commit data...
checkasm.mak Loading commit data...
cover-art.mak Loading commit data...
demux.mak Loading commit data...
dfa.mak Loading commit data...
dpcm.mak Loading commit data...
ea.mak Loading commit data...
exif.mak Loading commit data...
ffmpeg.mak Loading commit data...
ffprobe.mak Loading commit data...
fft.mak Loading commit data...
filter-audio.mak Loading commit data...
filter-video.mak Loading commit data...
flac.mak Loading commit data...
gapless.mak Loading commit data...
gif.mak Loading commit data...
h264.mak Loading commit data...
hevc.mak Loading commit data...
image.mak Loading commit data...
indeo.mak Loading commit data...
libavcodec.mak Loading commit data...
libavdevice.mak Loading commit data...
libavformat.mak Loading commit data...
libavresample.mak Loading commit data...
libavutil.mak Loading commit data...
libswresample.mak Loading commit data...
lossless-audio.mak Loading commit data...
lossless-video.mak Loading commit data...
microsoft.mak Loading commit data...
monkeysaudio.mak Loading commit data...
mp3.mak Loading commit data...
mpc.mak Loading commit data...
mpeg4.mak Loading commit data...
mxf.mak Loading commit data...
opus.mak Loading commit data...
pcm.mak Loading commit data...
probe.mak Loading commit data...
prores.mak Loading commit data...
qt.mak Loading commit data...
qtrle.mak Loading commit data...
real.mak Loading commit data...
screen.mak Loading commit data...
seek.mak Loading commit data...
subtitles.mak Loading commit data...
utvideo.mak Loading commit data...
vcodec.mak Loading commit data...
video.mak Loading commit data...
voice.mak Loading commit data...
vorbis.mak Loading commit data...
vpx.mak Loading commit data...
vqf.mak Loading commit data...
wavpack.mak Loading commit data...
wma.mak Loading commit data...
xvid.mak Loading commit data...