Måns Rullgård
9bda7f3063
ARM: NEON optimised int32_to_float_fmul_scalar
...
Originally committed as revision 20000 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b418a6ca7e
AAC: minor simplification in PNS decoding
...
Originally committed as revision 19999 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0a01efd0aa
Make error return sign consistent.
...
Originally committed as revision 19997 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
36b7e983a6
Check begin/end/partition_size.
...
23_vorbis_sane_partition.patch by chrome.
Also this should be better documented but i prefer not to leave potential
security issues open due to missing documentation.
Originally committed as revision 19996 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
310afddfe0
Fix >= vs > check of coded_fragment_list_index.
...
22_fix_theora_frag_fencepost.patch by chrome
Originally committed as revision 19995 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
75bbed517f
Remove unused variables, fixes the warnings:
...
libavcodec/wmadec.c:629: warning: unused variable `i'
libavcodec/wmadec.c:628: warning: unused variable `b'
libavcodec/wmadec.c:628: warning: unused variable `a'
Originally committed as revision 19994 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
fa6f27517b
Fix init_get_bits() buffer size.
...
18_fix_theora_header_bit_len.patch by chrome
Originally committed as revision 19993 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
cdf1512eba
Check res_setup->books.
...
15_more_residue_book_indexes.patch by chrome.
Originally committed as revision 19992 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
993092dcd3
Check masterbook index and subclass book index.
...
14_floor_masterbook_index.patch by chrome
Originally committed as revision 19991 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
e5b0cfb541
Add checks for per-packet mode indexes and per-header mode mapping indexes.
...
12_vorbis_mode_indexes.patch by chrome
maybe exploitable
Originally committed as revision 19990 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
79a4258141
Check classbook value.
...
11_vorbis_residue_book_index.patch by chrome.
Originally committed as revision 19989 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
45a014d75e
Set data_size to 0 to avoid having it uninitialized.
...
based on 31_mp3_outlen.patch by chrome.
Originally committed as revision 19988 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f7304e99d4
Check data_size in decode_frame_mp3on4().
...
Originally committed as revision 19987 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0d31833d04
check data_size in decode_frame()
...
Originally committed as revision 19986 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
96651e790c
Fix book_idx check.
...
25_vorbis_floor0_index.patch by chrome.
Originally committed as revision 19984 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
d70fa8f131
Sanity checks for magnitude and angle.
...
26_vorbis_mag_angle_index.patch by chrome
Originally committed as revision 19983 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google Chrome
08c8742cdb
= -> == typo.
...
27_vorbis_residue_loop_error.patch by chrome
Originally committed as revision 19982 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6044538b37
WMA: use DSPContext.butterflies_float
...
Originally committed as revision 19981 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
14600807bb
Cosmetics: Fix typo.
...
Originally committed as revision 19980 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
7bf3d0c44e
Check num_units_in_tick/time_scale to be valid and within the range we support.
...
based on a patch by chrome
Originally committed as revision 19979 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
2d3beedee2
Add support for new x264 API.
...
Originally committed as revision 19977 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
98f7bcb119
Check dimensions against 0 too.
...
39_vorbis_zero_dims.patch from chrome
Originally committed as revision 19976 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9062cd3544
Check validity of channels & samplerate.
...
This may be security relevant.
Based on 2 patches by chrome.
Originally committed as revision 19975 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Mike Melanson
428984b041
Another micro-optimization for unpack_vlcs(): Eliminate a possible
...
branch and save around 45k-55k dezicycles per function run.
Originally committed as revision 19974 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
4c0dda2b3f
Check codec_id and codec_type in avcodec_open(), based on 43_codec_type_mismatch.patch from chrome
...
This is said to be able to lead to a stack based buffer overflow.
Originally committed as revision 19973 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
275cfd1501
ARM: NEON optimised scalarproduct_float
...
Originally committed as revision 19971 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0cb7141282
AAC: 10l: fix PNS decoding
...
Originally committed as revision 19970 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
61dc238b45
Hook up the MD studio demuxer and Atrac1 decoder.
...
Originally committed as revision 19969 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
e704b012f2
Mention SDDS so search engines will pick it up for when someone
...
needs to decode the SDDS tracks found on 35 mm movies.
Originally committed as revision 19968 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
edd897b1b3
Use ff_sine_32 in atrac1.
...
Originally committed as revision 19967 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Mike Melanson
138fe83215
Perform the DC prediction reversal immediately after decoding all of
...
the DC coefficients. This has a greater probability of leveraging the
coefficients while they are still cached.
When testing with the Big Buck Bunny 1080p video, I consistently saw
improvements of 500k-600k dezicycles per run (through
reverse_dc_prediction()) thanks to this move.
Originally committed as revision 19966 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
5419da8d9c
AAC: Simplify some logic from r19956. (The escape codebook is unsigned.)
...
Originally committed as revision 19958 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
1dee3e97c6
ARM: NEON optimisations for some dsputil functions
...
NEON versions of the following functions are added:
vector_fmul_scalar
vector_fmul_sv_scalar
sv_fmul_scalar
butterflies_float
Originally committed as revision 19957 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
42d3fbb3f4
AAC: use new dsputil functions
...
Originally committed as revision 19956 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
53b572118e
Add some dsputil functions useful for AAC decoder
...
Originally committed as revision 19955 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
9caab87829
Add forgotten cleanup function in atrac1.
...
Originally committed as revision 19954 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
78b3a12d9c
Cosmetics, indentation.
...
Originally committed as revision 19953 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
a872e5c1f4
Cosmetics. Merge declaration and initialization.
...
Originally committed as revision 19952 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
b6a237025d
Move the scale factor and word length indexes to the stack.
...
Originally committed as revision 19951 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
40e26453c4
Use a custom radix sort implementation instead of qsort in dnxhd encoder.
...
This is mainly to avoid test failures due to implementation-defined
behaviour of qsort when elements are equal, giving different results
for each of FreeBSD, Linux/glibc and Solaris.
In addition it is about 35 % faster, effect on overall speed is minimal
though (< 2%).
Regression tests are unchanged (i.e. identical to Linux/glibc).
Originally committed as revision 19949 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
f5e82fec3d
aacenc: Use preprocessor constants for trellis states and stages.
...
Originally committed as revision 19948 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
9072c29e40
aacenc: Split paths in the scalefactor selection trellis into a 2-D array.
...
Originally committed as revision 19947 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
9d4f6f10ae
aacenc: Replace cbrt() with cbrtf() when the result is destined for float
...
storage.
Originally committed as revision 19946 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
0bd9aa449a
aacenc: Multiple distortion by lambda after it's summed and not each individual
...
term before.
Originally committed as revision 19945 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
06d6b962e5
Cosmetics: Reindent after r19943.
...
Originally committed as revision 19944 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
a71e9b6254
aacenc: Don't make unnecessary compares to the escape value in tight loops.
...
Originally committed as revision 19943 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Loren Merritt
1a918c08e4
extend ff_inverse[], and fix its documentation
...
Originally committed as revision 19942 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d650574e68
ARM: merge two loops in ff_mdct_calc_neon
...
Originally committed as revision 19941 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f7a3b6030c
ARM: interleave cos/sin tables for improved NEON MDCT
...
Originally committed as revision 19940 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
94274b82f6
Allow arch-specific mdct code to request interleaving of cos/sin tables
...
Originally committed as revision 19939 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago