summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* DECLARE_ALIGNED macro for TMS470 compilerMåns Rullgård2010-01-22
| | | | | | | | | | | | This compiler supports gcc-style alignment attributes for struct, but not for global variables. For the latter, alignment can be specified with a pragma, which does not work for struct members or local variables. By using both pragma and attribute, one or the other will always take effect. Unfortunately, no means exists for aligning stack variables. Originally committed as revision 21379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add an AV_PRAGMA() macro for constructing _Pragma() directivesMåns Rullgård2010-01-22
| | | | | | | The seemingly equivalent _Pragma(AV_STRINGIFY(x)) is not accepted by some compilers. Originally committed as revision 21378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make DECLARE_ALIGNED macros work with external array specifiersMåns Rullgård2010-01-21
| | | | | | | | The macro implementation might need the name of the variable being declared for compiler-specific syntax. Moving array specifiers outside the macro invocation allows this to work. Originally committed as revision 21363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264 DXVA2 implementationLaurent Aimar2010-01-20
| | | | | | | | | | | | | | It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under VISTA and Windows 7). It is implemented by using AVHWAccel API. It has been tested successfully for some time in VLC using an nvidia card on Windows 7. To compile it, you need to have the system header dxva2api.h (either from microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h) The generated libavcodec.dll does not depend directly on any new lib as the necessary objects are given by the application using FFmpeg. Originally committed as revision 21353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move COPY3_IF_LT to lavc/mathops.hMåns Rullgård2010-01-20
| | | | | | | | 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
* Move FASTDIV macro to intmath.hMåns Rullgård2010-01-19
| | | | Originally committed as revision 21335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use avconfig.h in pixfmt.hMåns Rullgård2010-01-19
| | | | Originally committed as revision 21322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Create and install libavutil/avconfig.hMåns Rullgård2010-01-19
| | | | | | | | 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
* Add macros for 64- and 128-bit write-combining optimization to intreadwrite.h.Alexander Strange2010-01-18
| | | | | | Add x86 implementation using MMX/SSE. Originally committed as revision 21281 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all intreadwrite functions av_always_inlineMåns Rullgård2010-01-18
| | | | Originally committed as revision 21278 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure we do not export incorrect _NE pixformat descriptions by eitherReimar Döffinger2010-01-17
| | | | | | 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
* Add missing parens in AV_WN macrosMåns Rullgård2010-01-17
| | | | Originally committed as revision 21260 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add symbol versioning for shared librariesMåns Rullgård2010-01-16
| | | | | | Based on patch by Reinhard Tartler <siretart tauware de> Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use macros instead of inline functions to replace the following missing C99Vitor Sessak2010-01-16
| | | | | | | | | 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
* Optimise av_log2 with clz when availableMåns Rullgård2010-01-14
| | | | | | 10% faster flac decoding on x86 and ARM. Originally committed as revision 21217 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add replacements for log2f(), exp2() and exp2f() for platforms that lacks it.Vitor Sessak2010-01-12
| | | | | | Should fix build breakage on some platforms introduced in r21125. Originally committed as revision 21155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() andStefano Sabatini2010-01-03
| | | | | | XXX_license() functions, consistent with the rest of FFmpeg. Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove residual use of the doxygen markup which is deprecated,Stefano Sabatini2010-01-01
| | | | | | consistent with r19122. Originally committed as revision 20989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 2nd try on documenting av_gcd().Michael Niedermayer2009-12-27
| | | | Originally committed as revision 20939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document av_gcd().Michael Niedermayer2009-12-27
| | | | Originally committed as revision 20935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Place { of the function where indent -kr wants it.Michael Niedermayer2009-12-14
| | | | | | Also more consistent with the rest of the code. Originally committed as revision 20851 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move #include where it belongs.Michael Niedermayer2009-12-13
| | | | | | This as a sideeffect fixes the linking failure of ffplay. Originally committed as revision 20832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a function to convert a number to a av_malloced string.Michael Niedermayer2009-12-13
| | | | Originally committed as revision 20829 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_bmg_next(), a Box-Muller Gaussian random generator.Stefano Sabatini2009-12-12
| | | | | | | See the thread: "[FFmpeg-devel] [PATCH] Box-Muller gaussian generator". Originally committed as revision 20808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_log_level static at next lavu major version bump.Ramiro Polla2009-12-03
| | | | Originally committed as revision 20721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_pix_fmt_descriptors use the same pixel format names as definedStefano Sabatini2009-11-26
| | | | | | | | | 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
* Make the pixdesc API public.Stefano Sabatini2009-11-24
| | | | Originally committed as revision 20603 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.Stefano Sabatini2009-11-23
| | | | Originally committed as revision 20592 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clarify relations between log2_chroma_w, log2_chroma_h and comp.Stefano Sabatini2009-11-18
| | | | Originally committed as revision 20550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add functions to return library license and library configuration.Diego Biurrun2009-11-18
| | | | Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVPixFmtDescriptor.nb_channels to nb_components, the new nameStefano Sabatini2009-11-18
| | | | | | | is more clear and lexically more consistent with API and documentation. Originally committed as revision 20545 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indention after last commit.Michael Niedermayer2009-11-14
| | | | Originally committed as revision 20538 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash with av_tree_enumerate(NULL).Michael Niedermayer2009-11-14
| | | | Originally committed as revision 20537 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure av_tree_enumerate() enumerates left->right.Michael Niedermayer2009-11-14
| | | | Originally committed as revision 20535 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PIX_FMT_VDPAU_MPEG4 to pixdesc.c.Carl Eugen Hoyos2009-11-11
| | | | Originally committed as revision 20509 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be usedNVIDIA Corporation2009-11-10
| | | | | | | | by video players. Original patch by NVIDIA corporation. Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove code checking for __PIC__ or __pic__ and setting PIC from ↵Reimar Döffinger2009-11-10
| | | | | | | | libavutil/internal.h, configure is supposed to take care of that already. Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_reverse in libavcodec to av_reverse in libavutil.Francesco Lavra2009-11-09
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add pixel format descriptors for the HW-accelerated formats.Stefano Sabatini2009-11-05
| | | | | | This completes the list of all descriptors in av_pix_fmt_descriptors. Originally committed as revision 20467 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.Stefano Sabatini2009-11-02
| | | | Originally committed as revision 20434 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move pixdesc.{h,c} from libavcodec to libavutil.Stefano Sabatini2009-10-27
| | | | | | | This way pixdescs can be used without requiring a dependency on libavcodec. Originally committed as revision 20389 to svn://svn.ffmpeg.org/ffmpeg/trunk
* id3v2: Add support for UTF-16 encoding.Anton Khirnov2009-09-23
| | | | | | patch by Anton Khirnov, wyskas gmail com Originally committed as revision 20006 to svn://svn.ffmpeg.org/ffmpeg/trunk
* extend ff_inverse[], and fix its documentationLoren Merritt2009-09-21
| | | | Originally committed as revision 19942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add warnings to av_strlcat and av_strlcpy doxygen that the input stringsReimar Döffinger2009-09-09
| | | | | | | 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
* Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and labelRamiro Polla2009-09-06
| | | | | | parameters. Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().Lars Täuber2009-09-05
| | | | | | Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>. Originally committed as revision 19775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a newline in error message in CHECKED_ALLOC(Z).Ramiro Polla2009-09-04
| | | | Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics, prettyprintingDiego Biurrun2009-09-01
| | | | Originally committed as revision 19751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add function to compute ceil(log2(x)).Thilo Borgmann2009-08-30
| | | | | | Patch by Thilo Borgmann <thilo.borgmann _at_ googlemail.com> Originally committed as revision 19747 to svn://svn.ffmpeg.org/ffmpeg/trunk