History | View | Annotate | Download (10.4 KB)
Add PUT_UTF16() macro.
Patch by Anton Khirnov <wyskas gmail com>.
Originally committed as revision 22030 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
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
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
Introduce av_clip_uint16().
Originally committed as revision 19636 to svn://svn.ffmpeg.org/ffmpeg/trunk
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_inlinedoes not get doubly defined.
Originally committed as revision 19553 to svn://svn.ffmpeg.org/ffmpeg/trunk
Icc does not support attribute flatten, do not try to use it.
Originally committed as revision 19286 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
Avoid warnings from AV_GCC_VERSION_AT_LEAST with some non-gcc compilers
Originally committed as revision 17508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Silence one icc warning:variable "..." is used before its value is set
Originally committed as revision 17127 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use AV_GCC_VERSION_AT_LEAST instead of complicated GNUC version check.
Originally committed as revision 17114 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_flatten to make the similarly named attribute available.
Originally committed as revision 17105 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_uninit() to suppress false uninitialized warnings from gcc without deoptimizing code.
Originally committed as revision 17104 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use full internal pathname in doxygen @file directives.Otherwise doxygen complains about ambiguous filenames when files existunder the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
spelling/grammar/consistency review part I
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reorganize header #includes: Unconditionally #include standard C headers,group all local #includes together.
Originally committed as revision 16796 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move internal.h #include to the end of the file so that it is afterthe declaration of av_log2_16bit, which it uses.
Originally committed as revision 16772 to svn://svn.ffmpeg.org/ffmpeg/trunk
moves mid_pred() into mathops.h (with arch specific code split by directory)
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove ff_get_fourcc() and use AV_RL32() instead
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
move NULL_IF_CONFIG_SMALL() definition into internal header
Originally committed as revision 16619 to svn://svn.ffmpeg.org/ffmpeg/trunk
move timer related code in a new timer.h file
Originally committed as revision 16618 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change semantic of CONFIG_*, HAVE_* and ARCH_*.They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
consistency cosmetics: Rename POWERPC identifiers to PPC.
Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Silence the following icc warnings:warning #1292: attribute "force_align_arg_pointer" ignoredwarning #1292: attribute "alloc_size" ignoredwarning #1292: attribute "cold" ignored
Originally committed as revision 16258 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.
Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Port read_time() that works on x86_32 and 64 from noe.
Originally committed as revision 15661 to svn://svn.ffmpeg.org/ffmpeg/trunk
Convert asm keyword into asm.
Neither the asm() nor the asm() keyword is part of the C99standard, but while GCC accepts the former in C89 syntax, it is notaccepted in C99 unless GNU extensions are turned on (with -fasm). Thelatter form is accepted in any syntax as an extension (without...
Add a macro to get the number of elements in a table.
Originally committed as revision 15619 to svn://svn.ffmpeg.org/ffmpeg/trunk
Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from thefilename by stripping the leading "lib", converting '/' and '.' to'_' and uppercasing the resulting name. Guard names in the rootdirectory have to be prefixed by "FFMPEG_"....
Add av_clipf() function to common.h and use it in ra288.c
Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make START/STOP_TIMER not require -v 2.
Originally committed as revision 13711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Macro suggested by Michael which will be used to disable thedefinition of long_name strings in libavcodec and libavformat.Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13595 to svn://svn.ffmpeg.org/ffmpeg/trunk
add FFMIN3
Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement FFMAX3 - maximum over three arguments.
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: asm volatile --> asm volatile
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reapply r12489: Add pure, const and malloc attributes to proper functions in libavutil.Fix a compilation failure in r12489.
Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
revert r12489.
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
Pure, const and malloc attributes to libavutil.Patch by Zuxy Meng: zuxy meng gmail comOriginal thread:[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutilDate: 03/18/2008 6:09 AM
Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
misc spelling fixes
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
prettyprinting cosmetics
Originally committed as revision 11941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Merge declaration and initialization.
Originally committed as revision 11701 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
add a new av_clip_int16() function to libavutil
Originally committed as revision 10076 to svn://svn.ffmpeg.org/ffmpeg/trunk
ensure av_noinline is always defined
Originally committed as revision 10075 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 9998 to svn://svn.ffmpeg.org/ffmpeg/trunk
Blackfin - read_time primitivenote this primitive currently uses a union to concatenate 2x32bit registers because of poor compiler supportaround DImode and asm.
Originally committed as revision 9302 to svn://svn.ffmpeg.org/ffmpeg/trunk
misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
rename attribute_unused to av_unused and moves its declaration to common.hpatch by Carl Eugen Hoyos cehoyos chez ag or atoriginal thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unuseddate: 05/29/2007 01:23 PM
Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move the memory related functions out of common.h into their own header filemem.h.
Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix typo in Doxygen comments.
Originally committed as revision 8307 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move unaltered av_freep() comments to the header file.
Originally committed as revision 8253 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move unaltered av_free() comments to the header file.
Originally committed as revision 8252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move unaltered av_realloc() comments to the header file.
Originally committed as revision 8251 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move unaltered av_malloc() comments to the header file.
Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove [U]INT64_C definition
Originally committed as revision 8127 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_noinline
Originally committed as revision 7992 to svn://svn.ffmpeg.org/ffmpeg/trunk
This fixes error handling for BeOS, removing the need for some ifdefs.AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed....
slightly improve *_TIMER
Originally committed as revision 7948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Avoid "HAVE_CMOV not defined" warning.patch by Christophe Mutricy, xtophe nxtelevision com
Originally committed as revision 7443 to svn://svn.ffmpeg.org/ffmpeg/trunk
rename always_inline to av_always_inline and move to common.h
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
merge #ifdef HAVE_AV_CONFIG_H sections
Originally committed as revision 7254 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix mingw shared build, and get rid of FF_IMPORT_ATTR
Originally committed as revision 7253 to svn://svn.ffmpeg.org/ffmpeg/trunk
use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
move more macros to internal.h
Originally committed as revision 7239 to svn://svn.ffmpeg.org/ffmpeg/trunk
move some attribute macros to internal.h
Originally committed as revision 7238 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove 'restrict' definition, it is always #defined in config.h
Originally committed as revision 7237 to svn://svn.ffmpeg.org/ffmpeg/trunk
spelling cosmetics: cliped --> clipped
Originally committed as revision 7208 to svn://svn.ffmpeg.org/ffmpeg/trunk
Correct GET/PUT_UTF8 comment: the get/put functions might be called upto 7 times, though only up to 4 times for valid utf-8 values.
Originally committed as revision 7124 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix typo in comment
Originally committed as revision 7123 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove workaround for missing inttypes.h
Originally committed as revision 7068 to svn://svn.ffmpeg.org/ffmpeg/trunk
clean up inttypes.h and int_fastxx_t types detection
Originally committed as revision 7050 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add doxy comments for macro GET_UTF8another fix in PUT_UTF8 doxy description
Originally committed as revision 6917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix wrong params name in PUT_UTF8 doxy comments
Originally committed as revision 6913 to svn://svn.ffmpeg.org/ffmpeg/trunk
woops, fix missplaced doxy comment
Originally committed as revision 6912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix ASF format parser's broken UTF-16 string handling1. Add a PUT_UTF8 macro to common.h; code borrowed from libavcodec/flacenc.c.2. Make use of the macro in flacenc.cPatch by Zuxy Meng % zuxy P meng A gmail P com %Original thread:Date: Nov 5, 2006 9:56 AM...
Define fallback for PRIX64, taken from a patch by Steve L'Homme.
Originally committed as revision 6867 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename SWAP macro to FFSWAP.
Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use common define for x86_32 and x86_64.
Originally committed as revision 6859 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add ARCH_X86_32 as a new define for 32 bit x86 architectures and changethe semantics of ARCH_X86 to mean both 32 and 64 bits.
Originally committed as revision 6852 to svn://svn.ffmpeg.org/ffmpeg/trunk
Protect code that uses CMOV instructions with HAVE_CMOV,Make configure set CMOV_IS_FAST on arches on which cmov has a low latency(typically non-Netburst based processor)
Originally committed as revision 6749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename SIGN macro to FFSIGN to avoid clashes with system headers.
Originally committed as revision 6665 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move sign macro to libavutil.
Originally committed as revision 6620 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change license headers to say 'FFmpeg' instead of 'this program/this library'and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
move memory functions from avcodec to avutil
Originally committed as revision 6330 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove a division from STOP_TIMER
Originally committed as revision 6315 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify asm mid_pred, as suggested by michaelni.
Originally committed as revision 6314 to svn://svn.ffmpeg.org/ffmpeg/trunk
asm implementation of mid_pred.20% faster huffyuv decoding, 4% faster ffv1.
Originally committed as revision 6254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add official LGPL license headers to the files that were missing them.
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
Align the input buffer in ffplay, introduce a public macro for aligned declarationsUpdate the avcodec_decode_audio and the float_to_int16 descriptions accordingly
Originally committed as revision 6147 to svn://svn.ffmpeg.org/ffmpeg/trunk
attribute_deprecated
Originally committed as revision 6033 to svn://svn.ffmpeg.org/ffmpeg/trunk
SWAP
Originally committed as revision 6030 to svn://svn.ffmpeg.org/ffmpeg/trunk
do not include bswap.h in common.h for external programs, since the formeris not installed currently.
Originally committed as revision 5809 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move av_malloc(), av_realloc(), and av_free() from libavcodec to libavutil
Originally committed as revision 5784 to svn://svn.ffmpeg.org/ffmpeg/trunk
Split common.h in two parts, purely internal stuff (internal.h) and thingsavailable to external programs as well.Also make more things available to external programs like GET_UTF8, MKTAG etc.
Originally committed as revision 5765 to svn://svn.ffmpeg.org/ffmpeg/trunk