Jason Garrett-Glaser
270a85d259
Fix some intra pred MMX functions that used MMXEXT instructions
...
Also add predict_4x4_dc MMXEXT function for vp8/h264.
Originally committed as revision 23873 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
a912da761d
Fix VP8 bilinear mc on x86_64
...
Originally committed as revision 23872 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
4e42debc8d
aacenc: Start the lookahead pointer 1/4 of the way into the first short window.
...
Short windows are of length 256 and begin at sample 448.
Originally committed as revision 23871 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
75ef689884
aacenc: Fix window decision logic.
...
This keeps the encoder from switching away from an wight short sequence
prematurely when attacks are detected two frames in a row. It also allows for
the legal and useful LONG_STOP_SEQUENCE to LONG_START_SEQUENCE transition.
Originally committed as revision 23870 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
804d489c4a
aacenc: Fill in the estimated codebook for the final computed scalefactor in the TLS.
...
Originally committed as revision 23869 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
7ca4a72f47
10l: Revert r23867. It didn't make any sense.
...
Originally committed as revision 23868 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
9a3fe1ae6e
Make ff_psy_preprocess_end() act like av_freep().
...
Originally committed as revision 23867 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
072c0d605f
aacenc: Properly pad extradata.
...
This fixes a valgrind error when encoding to ADTS.
Originally committed as revision 23866 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
50f70541d3
Change MMXEXT to MMX2, MMXEXT is deprecated
...
Originally committed as revision 23865 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
0fecad09fe
Add x86 asm functions for VP8 put_pixels
...
Originally committed as revision 23858 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
a173aa8940
Add MMX, SSE2, SSSE3 asm for VP8 bilinear MC
...
Originally committed as revision 23857 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
7ed06b2be8
Simplify MV parsing, removes laying out 2 or 4 (16x8/8x8/8x16) MVs over all
...
16 subblocks (since we no longer need that), which should also lead to a
minor speedup.
Originally committed as revision 23854 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
7c4dcf8165
Optimize split MC, so we don't always do 4x4 blocks of 4x4pixels each, but
...
we apply them as 16x8/8x16/8x8 subblocks where possible. Since this allows
us to use width=8/16 instead of width=4 MC functions, we can now take more
advantage of SSE2/SSSE3 optimizations, leading to a total speedup for splitMV
filter of about 10%.
Originally committed as revision 23853 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
eca9e4035a
Set rv34 (0,0) subpel mc functions to the optimised h264 ones
...
Originally committed as revision 23845 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
1f65b67c46
Fix x86 build with h264dsp disabled
...
Originally committed as revision 23844 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
186d02150e
Use lookup table to avoid division in mp2 decoder
...
Originally committed as revision 23840 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
a64fadf62b
Fix linking if MMX is disabled.
...
Originally committed as revision 23839 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7447204d2d
vaapi: add missing #include "h263.h"
...
Originally committed as revision 23833 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0b37cccaab
ra288: convert VLAs to fixed size
...
Originally committed as revision 23832 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
0724a674fc
Change type of zz_table to uint8_t to match the scantables it points to.
...
Originally committed as revision 23831 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Eli Friedman
b3858964d6
Add const to some pointer parameters.
...
Patch by Eli Friedman, eli D friedman A gmail
Originally committed as revision 23826 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Pettenò
350120d269
tablegen: implement and use WRITE_ARRAY macros
...
Two macros (WRITE_ARRAY and WRITE_ARRAY_2D) take the prefix (modifiers)
(not all tables are static, and they might not be constant either), the
type, and the name of the array. It'll be copied with same name and type,
and with the correct size of the currently-defined object.
Originally committed as revision 23821 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Pettenò
ac014798ff
tableprint: use the type name as-is for the functions' names.
...
This drops one parameter from the functions' macros, and require structures
to be typedeffed, but ensures that it is possible to map 1-to-1 the type to
the function name.
Originally committed as revision 23820 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
07ece20c69
adpcm: convert VLAs to malloc/free
...
Originally committed as revision 23819 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Darnley
9577838f2f
Fix libvorbis encoding with more than 2 channels
...
Fixes issue 1325.
Patch by James Darnley, james dot darnley at gmail
Originally committed as revision 23818 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
30bdefd1de
Fix build without yasm
...
Originally committed as revision 23816 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
0178d14fe5
First shot at VP8 optimizations:
...
- MMXEXT, SSE2 and SSSE3 MC functions
- MMX and SSE4 IDCT dc_add functions
Patch by Jason Garrett-Glaser <darkshikari gmail com> and myself.
Originally committed as revision 23815 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
0ef1dbedcb
VP8 bilinear filter
...
Originally committed as revision 23813 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
a02bb835ac
vorbisdec: Take channels into account when checking against residue overflow
...
Fixes issue1969
Originally committed as revision 23812 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
54fdf5d150
vorbisdec: Fix header parsing with no floor1 partitions
...
Originally committed as revision 23811 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
780621b832
vorbisdec: Remove write-only variable
...
Originally committed as revision 23810 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
92a544267b
vp8: warn and request sample if upscaling specified in header
...
Originally committed as revision 23809 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2829ce4b40
Remove PPC perf counter support
...
This functionality is better accessed through tools like oprofile.
Originally committed as revision 23808 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a788196e20
Remove --enable-gprof flag
...
gprof is far too intrusive to be of use as a profile for ffmpeg,
and it fails to build in many configurations. Oprofile is a
better tool for profiling on Linux.
Originally committed as revision 23807 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
69d12904da
Remove unnecessary ../ from include directives
...
Originally committed as revision 23806 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f30d51d74f
ARM: fix build with TI compiler
...
The TI compiler defines __eabi__ to signal that ARM EABI is in use.
We must check for this in addition to the gcc macro __ARM_EABI__.
Originally committed as revision 23804 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
cbabccc367
ffv1: remove VLAs
...
Originally committed as revision 23802 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
02591641f8
shorten: remove VLA and check for buffer overflow
...
Originally committed as revision 23798 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
17253f598e
alsdec: convert VLAs to fixed size
...
The maximum value of sub_blocks is 8, a safe size to always allocate on
stack.
Originally committed as revision 23797 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
70f2314df0
pcx: convert VLAs to malloc/free
...
Originally committed as revision 23796 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
164d166e85
lsp: convert variable-length arrays to fixed size
...
Max LP order is defined to be 16, fixed-size buffers are OK.
Originally committed as revision 23795 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
5228bcd870
svq1dec: replace VLA with malloc/free
...
Originally committed as revision 23794 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9502441408
huffyuv: remove unnecessary size argument from generate_len_table()
...
Originally committed as revision 23791 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0912db0206
Make vp8 select h264dsp and use this to pull in mmx intrapred
...
Originally committed as revision 23790 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0c59074868
Fix compilation without --enable-gpl.
...
Originally committed as revision 23789 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
15d31aa1e1
Really fix r23782
...
Originally committed as revision 23788 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
36672bac52
elbg: remove VLAs
...
Originally committed as revision 23787 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
cd29c2b5a1
Fix c99ism in r23782
...
Originally committed as revision 23786 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
96da2a6967
Cosmetics: Fix indentation.
...
Originally committed as revision 23785 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d45b771ca0
huffyuv: make VLAs fixed size
...
Originally committed as revision 23784 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago