Diego Biurrun
3d7b15e450
Remove disabled code cruft.
...
Originally committed as revision 19616 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
bd41c06f18
Define INFINITIY and NAN in mathematics.h if missing
...
Originally committed as revision 19611 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
75af07495a
Revert addition of '#undef av_always_inline' to config.h in the small case.
...
Instead, #include config.h at the top of common.h so that av_always_inline
does not get doubly defined.
Originally committed as revision 19553 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8b4e7c28fb
Mark conditionally used variable T2 as av_unused; avoids the warning:
...
libavutil/sha.c:183: warning: unused variable `T2'
Originally committed as revision 19551 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
b6ec1f47c7
PPC: fix asm operand constraints in AV_RL64
...
The target register of first word loaded must be marked early-clobber.
Originally committed as revision 19536 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
e7ea5e3d8d
Check for __attribute__((packed)) support
...
Not all compilers claiming to be gcc support this attribute.
Originally committed as revision 19453 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
87d718aefc
cosmetics: reindent after last commit
...
Originally committed as revision 19450 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
aa5a99ae0c
Add SHA-2 hashing
...
Originally committed as revision 19449 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
68485d2728
Remove useless definition of struct AVCLASS.
...
Originally committed as revision 19402 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
291fd18a6e
Add a log2 replacement for systems that haven't quite caught up with the C99
...
standard library.
Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
451ae25724
Prepare SHA code to handle SHA-2 as well. For now rename files and functions
...
and leave av_sha1_* functions for compatibility until next major bump.
Originally committed as revision 19394 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
0d73abb86a
Rename function to sha1_transform so it won't be confused with SHA-2 transform
...
when it's added.
Originally committed as revision 19389 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
2c6361e009
Use pointer to hash transform function to make adding SHA-2 support easier.
...
Originally committed as revision 19388 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
3a7c65077d
cosmetics: vertical align AVSHA1 members
...
Originally committed as revision 19387 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
01cc628845
Extend AVSHA1 so it can be used in future SHA-2 code as well
...
Originally committed as revision 19386 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
4364fc9a0d
Document SHA-1 functions and structures
...
Originally committed as revision 19385 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
16c2e21488
Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h to
...
lavu/mem.h.
Originally committed as revision 19384 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
4b2be143cd
Do not throw compiler error if asm code needs alignment, but we do not know
...
how to do it for this compiler. This removes a dependency of config.h on the
DECLARE_* macros.
Originally committed as revision 19383 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
300ad6c16e
ARM: use gcc inline asm in bswap.h only when available
...
Originally committed as revision 19311 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
a3a55b7848
Icc does not support attribute flatten, do not try to use it.
...
Originally committed as revision 19286 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
06be9d9d8e
Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and cold.
...
Originally committed as revision 19282 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jeff Downs
d468ff0fdf
Fix cast of byte buffer to uint32 that was disregarding alignment
...
requirements.
Now calculates crc byte at a time until aligned, then continues with uint32
optimized calculation.
This fixes crashes during mlp decoding on sparc (at least, maybe others).
Originally committed as revision 19160 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0ef37cd52e
cosmetics: Reformat file to K&R style upon Kostya's request.
...
Originally committed as revision 19154 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9d58d4717a
cosmetics: Add missing ending backslash to installed header list.
...
Originally committed as revision 19135 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
bf7e799c9e
Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
...
improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
530456bf31
MIPS: inline asm for intreadwrite.h
...
Originally committed as revision 18980 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
7d9beec775
Add LABEL_MANGLE() to export label symbols from inside asm blocks.
...
Originally committed as revision 18934 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
ef516f7377
Move ALIGN macro to libavutil/common.h and use it in various places
...
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7a79e51cd6
Add @code/@endcode commands to markup C code in av_tree_insert() doxy.
...
Originally committed as revision 18776 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9c5a4ea28c
Add missing '*' to av_tree_insert() doxy.
...
Originally committed as revision 18775 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0ee51c556e
Fix 10l typo (usage of PIX_FMT_NE()).
...
Should fix FATE, i forgot to commit this.
Originally committed as revision 18656 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6c2a860875
Add 420,422 and 444 planar 16bit per component pix formats.
...
Originally committed as revision 18636 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
cc078b5d8f
PPC: check for x-form asm constraint support
...
Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
9f5ff83f2a
PPC asm for AV_RL*()
...
PPC is normally big endian but has special little endian load/store
instructions. Using these avoids a separate byteswap. This makes the
vorbis decoder about 5% faster. Not much else uses little-endian
read/write extensively.
GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.
Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
3c55ce039d
ARM asm for AV_RN*()
...
ARMv6 and later support unaligned loads and stores for single
word/halfword but not double/multiple. GCC is ignorant of this and
will always use bytewise accesses for unaligned data. Casting to an
int32_t pointer is dangerous since a load/store double or multiple
instruction might be used (this happens with some code in FFmpeg).
Implementing the AV_[RW]* macros with inline asm using only supported
instructions gives fast and safe unaligned accesses. ARM RVCT does
the right thing with generic code.
This gives an overall speedup of up to 10%.
Originally committed as revision 18601 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
a6783b8961
Reorganise intreadwrite.h
...
This changes intreadwrite.h to support per-arch implementations of the
various macros allowing us to take advantage of special instructions
or other properties the compiler does not know about.
Originally committed as revision 18600 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
64bde1974b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
...
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
985fdd534f
Give liblzo benchmark conditionals more descriptive names and add convenience
...
definitions along with instructions for changing them.
Originally committed as revision 18387 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e467369278
Add a configure check for lzo1x_999_compress() and compile the lzo test program
...
in libavutil when this function is available.
Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Olivier Guilyardi
7b09db3522
Implement av_fifo_space().
...
Patch by Olivier Guilyardi list et samalyse DOT c0m.
Originally committed as revision 18321 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a8f9e7f641
Fix lzo-test linking: -llzo2 should be in ELIBS, not EXTRALIBS.
...
Originally committed as revision 18320 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
82a6ef2089
Replace manual setting of the removed av_log_level variable by the
...
corresponding call to av_log_set_level().
Originally committed as revision 18310 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
60c703ac4b
ARM: START/STOP_TIMER support for ARMv7
...
Originally committed as revision 18305 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
439ccc4e0e
Split libavutil/timer.h per architecture
...
Originally committed as revision 18304 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
168fffdf01
Fix warnings in tree.c test code.
...
Originally committed as revision 18267 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
504ffed19f
Mark non-exported functions in test and example programs as static.
...
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
3344cf851c
Use a wildcard match instead of a list to remove test programs.
...
This is robust against renames and also removes test programs not
(yet) hooked up in the main Makefiles.
Originally committed as revision 18193 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7304c2c4ce
Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.
...
Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
77544e5b91
Use PIX_FMT_NE() for defining the PIX_FMT_RGB32 variants macros.
...
Originally committed as revision 18174 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago