- 26 Nov, 2011 38 commits
-
-
Justin Ruggles authored
It is used by the ADX decoder, and therefore needs to be exported in order to work with shared libs.
-
Justin Ruggles authored
-
Justin Ruggles authored
This simplifies the decoder so it doesn't have to process an in-packet header or handle arbitrary-sized packets. It also fixes decoding of files with large headers.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Instead of using fixed coefficients, the correct way is to calculate the coefficients using the highpass cutoff frequency from the ADX stream header and the sample rate.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
first 2 bytes are 0x80, 0x00. offset is only 16-bit. this is according to format descriptions on multimedia wiki and wikipedia.
-
Justin Ruggles authored
instead interleave channels while decoding
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This is simpler and fixes some overflow checker warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This multiplication can overflow the signed range but not the unsigned. After right-shifting it will thus fit in the signed range again. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Multiply by unsigned 0x01010101 to replicate bytes into 32-bit word. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Cheng Sun authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This is simpler and avoids an invalid shift by 32 in the aligned case. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This bit manipulation is equivalent but avoids undefined shifts and overflows. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Reimar Döffinger authored
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Reimar Döffinger authored
This avoids crashes due to reading out-of-bounds. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Reimar Döffinger authored
Since it contains dimensions parsing an invalid one has rather annoying effects. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Reimar Döffinger authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Carl Eugen Hoyos authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Michael Niedermayer authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
K.Y.H authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
- 25 Nov, 2011 2 commits
-
-
Martin Storsjö authored
This was removed erroneously in 046f081b. This define still is necessary for getting MAP_ANONYMOUS defined on linux/glibc, despite the define reshuffling done in that commit. Without MAP_ANONYMOUS defined, the mprotect calls for setting the generated mmx2 scaler code pages executable are left out, causing crashes if that codepath is chosen. This patch fixes scaling from 192x144 to 320x240 with -sws_flags fast_bilinear, which crashes on linux at the moment. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mans Rullgard authored
A value shifted left by >31 needs to have a 64-bit type. As there are no defined channels in this range, the fix is purely theoretical at this point, although it does avoid some invalid shifts triggering the overflow checker. Signed-off-by: Mans Rullgard <mans@mansr.com>
-