Måns Rullgård
5e7dfb7de1
Move COPY3_IF_LT to lavc/mathops.h
...
This obscure macro is only used in motion_est.c so having it in lavc
makes more sense. See discussion here:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-November/056561.html
Originally committed as revision 21346 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
75fb5c24ed
Move FASTDIV macro to intmath.h
...
Originally committed as revision 21335 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
1d52b4b390
Use avconfig.h in pixfmt.h
...
Originally committed as revision 21322 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a3e02a8cad
Create and install libavutil/avconfig.h
...
This file contains a safe subset of the config.h settings.
Only bigendian is included for now, more can be added as
need arises.
Originally committed as revision 21321 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
f6d0390657
Add macros for 64- and 128-bit write-combining optimization to intreadwrite.h.
...
Add x86 implementation using MMX/SSE.
Originally committed as revision 21281 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
bdd19e29df
Mark all intreadwrite functions av_always_inline
...
Originally committed as revision 21278 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
3f37ab8e41
Make sure we do not export incorrect _NE pixformat descriptions by either
...
including config.h if available or not defining them if it isn't.
Originally committed as revision 21262 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c25210278c
Add missing parens in AV_WN macros
...
Originally committed as revision 21260 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a482e61bd6
Add symbol versioning for shared libraries
...
Based on patch by Reinhard Tartler <siretart tauware de>
Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
06cb7a1c8f
Use macros instead of inline functions to replace the following missing C99
...
functions: exp2, exp2f, log2, log2f.
Should fix compilation in systems where these functions are defined in math.h
but not implemented.
Originally committed as revision 21231 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
544f5a922f
Optimise av_log2 with clz when available
...
10% faster flac decoding on x86 and ARM.
Originally committed as revision 21217 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
6b7c7703f4
Add replacements for log2f(), exp2() and exp2f() for platforms that lacks it.
...
Should fix build breakage on some platforms introduced in r21125.
Originally committed as revision 21155 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
4160069067
Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
...
XXX_license() functions, consistent with the rest of FFmpeg.
Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
702d0a9e85
Remove residual use of the doxygen markup which is deprecated,
...
consistent with r19122.
Originally committed as revision 20989 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
bac24dd2a5
2nd try on documenting av_gcd().
...
Originally committed as revision 20939 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
03703cb3d1
Document av_gcd().
...
Originally committed as revision 20935 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b3e88ae84b
Place { of the function where indent -kr wants it.
...
Also more consistent with the rest of the code.
Originally committed as revision 20851 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
64b12fc317
Move #include where it belongs.
...
This as a sideeffect fixes the linking failure of ffplay.
Originally committed as revision 20832 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
277c733237
Add a function to convert a number to a av_malloced string.
...
Originally committed as revision 20829 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
3ba69a15c6
Implement av_bmg_next(), a Box-Muller Gaussian random generator.
...
See the thread:
"[FFmpeg-devel] [PATCH] Box-Muller gaussian generator".
Originally committed as revision 20808 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
e244f54e78
Make av_log_level static at next lavu major version bump.
...
Originally committed as revision 20721 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
382cb1154c
Make av_pix_fmt_descriptors use the same pixel format names as defined
...
in libavcodec/imgconvert.c.
Avoid to break compatility when making the functions dealing with
pixel format names in imgconvert.c use the names defined in pixdescs.
Originally committed as revision 20624 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
74a0059f2c
Make the pixdesc API public.
...
Originally committed as revision 20603 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
60fa95683d
Clarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.
...
Originally committed as revision 20592 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
357561e73f
Clarify relations between log2_chroma_w, log2_chroma_h and comp.
...
Originally committed as revision 20550 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
c173693698
Add functions to return library license and library configuration.
...
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b8873c2a8f
Rename AVPixFmtDescriptor.nb_channels to nb_components, the new name
...
is more clear and lexically more consistent with API and
documentation.
Originally committed as revision 20545 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b154ed5abe
Fix indention after last commit.
...
Originally committed as revision 20538 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 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
15 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
15 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
15 years ago
Diego Biurrun
ee1550116b
whitespace cosmetics, prettyprinting
...
Originally committed as revision 19751 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
15 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
15 years ago
Måns Rullgård
d691da9508
AVR32: optimisations for intreadwrite.h
...
Originally committed as revision 19665 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
15 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
15 years ago
Måns Rullgård
4a051891f6
cosmetics: reformat intreadwrite.h
...
Originally committed as revision 19659 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago