Michael Niedermayer
edabf35926
Fix crash with av_tree_enumerate(NULL).
...
Originally committed as revision 20537 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
1bf83b9548
Make sure av_tree_enumerate() enumerates left->right.
...
Originally committed as revision 20535 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
dd6308addd
Add PIX_FMT_VDPAU_MPEG4 to pixdesc.c.
...
Originally committed as revision 20509 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
NVIDIA Corporation
70e0c871eb
Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
...
by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
7fc58b1eeb
Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
...
configure is supposed to take care of that already.
Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Francesco Lavra
91cc5d3767
Move ff_reverse in libavcodec to av_reverse in libavutil.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
3fa70a3bc8
Add pixel format descriptors for the HW-accelerated formats.
...
This completes the list of all descriptors in av_pix_fmt_descriptors.
Originally committed as revision 20467 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
d71ad089ef
Add PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.
...
Originally committed as revision 20434 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
51135d1d8e
Move pixdesc.{h,c} from libavcodec to libavutil.
...
This way pixdescs can be used without requiring a dependency on
libavcodec.
Originally committed as revision 20389 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
20c6837880
id3v2: Add support for UTF-16 encoding.
...
patch by Anton Khirnov, wyskas gmail com
Originally committed as revision 20006 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
Reimar Döffinger
46f3b40eb3
Add warnings to av_strlcat and av_strlcpy doxygen that the input strings
...
already must be properly 0-terminated strings. Unlike strncpy it
cannot be used on raw data read from a file.
Originally committed as revision 19800 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
d31dbec374
Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
...
parameters.
Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Lars Täuber
35f6c15405
Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
...
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.
Originally committed as revision 19775 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
5ce6934e0a
Add a newline in error message in CHECKED_ALLOC(Z).
...
Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ee1550116b
whitespace cosmetics, prettyprinting
...
Originally committed as revision 19751 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
c6dbbc4576
Add function to compute ceil(log2(x)).
...
Patch by Thilo Borgmann <thilo.borgmann _at_ googlemail.com>
Originally committed as revision 19747 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
e48a0966ca
Add CHECKED_ALLOC macro.
...
It works the same as CHECKED_ALLOCZ except that it does not zero the allocated
memory.
Originally committed as revision 19742 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
d691da9508
AVR32: optimisations for intreadwrite.h
...
Originally committed as revision 19665 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
e482c2e2fb
AVR32: inline asm for bswap.h
...
Originally committed as revision 19664 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
9dc6bb7b9f
MIPS: 100L: fix AV_[RW]N64 on MIPS64
...
Originally committed as revision 19660 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
4a051891f6
cosmetics: reformat intreadwrite.h
...
Originally committed as revision 19659 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
63826ceb32
intreadwrite: ensure arch-specific versions are always used if defined
...
The per-arch headers can define any combination of B/L/N variants.
This ensures that whatever is defined in an arch header gets used
for all equivalents not defined there. E.g. on a little-endian
machine, AV_RN and AV_RL should give the same code.
Originally committed as revision 19658 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
57c36bdcea
intreadwrite: allow arch-specific 24-bit access macros
...
Originally committed as revision 19657 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
e6956a6e48
ARM: first value loaded in AV_RN64 needs to be early-clobber
...
Originally committed as revision 19656 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
f51fb686de
Introduce av_clip_uint16().
...
Originally committed as revision 19636 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
3d7b15e450
Remove disabled code cruft.
...
Originally committed as revision 19616 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
16 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