Files
ffmpeg/libavcodec
Rostislav Pehlivanov 67fa02ed79 opus_pvq: fix PVQ search for K < 5 and low Ns
If the PVQ search picked a place to increment/decrement on the y[]
vector which had no pulse then it would cause a desync since it would
change the sum in the wrong direction. Fix this by not considering
places without pulses as viable.

This makes the PVQ search slightly worse at K < 5 which isn't all that
common. Still, this is a workaround to prevent making broken files until
I can think of a better way of fixing it.

Also add an assertion, which can be removed or moved to assert1/2 once
the PVQ search is stable.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-02-19 19:13:14 +00:00
..
2016-10-29 20:43:15 +02:00
2017-02-15 12:46:01 +01:00
2017-02-15 12:46:01 +01:00
2017-01-31 10:49:40 +01:00
2017-02-14 06:15:36 +00:00
2016-11-14 00:33:12 +01:00
2016-11-09 21:10:59 +01:00
2017-01-11 16:02:10 +01:00
2016-11-16 02:39:57 +01:00
2017-02-03 20:36:23 +01:00
2016-11-05 18:56:26 +01:00
2017-02-14 06:15:36 +00:00
2016-11-27 14:34:57 +01:00
2016-11-15 22:01:08 +01:00
2017-02-03 20:16:30 +01:00
2017-02-03 20:01:07 +01:00
2017-01-11 16:02:10 +01:00
2017-01-11 16:02:10 +01:00
2017-02-14 06:15:36 +00:00
2017-02-14 06:15:36 +00:00
2017-02-07 21:32:08 +01:00
2016-11-12 01:36:47 +01:00
2017-01-09 18:43:19 +01:00
2017-02-10 17:04:56 +01:00
2017-01-13 21:19:17 +01:00
2016-12-06 13:21:08 -08:00
2016-10-31 19:23:40 +00:00
2016-10-31 19:23:40 +00:00
2016-11-29 11:23:20 +01:00
2017-01-16 10:24:01 +01:00
2017-02-02 01:12:07 +01:00
2017-02-02 01:12:07 +01:00
2017-01-03 00:52:55 +01:00
2017-01-20 13:58:41 +01:00