Michael Niedermayer
d7cd001ff2
indent
...
Originally committed as revision 25178 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
8a19053361
Cosmetic (rename detect_repeats to is_atty which matches the truth)
...
Originally committed as revision 25177 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
1c1c80f0a3
2nd try to fix av_log() repeated detection
...
Originally committed as revision 25174 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tomas Härdin
bc6f0af289
Add av_popcount() to libavutil/common.h and bump minor version
...
Originally committed as revision 25120 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
c157fe6356
Limit av_log repeat detection to terminals so as to avoid filling files with
...
lots of mess.
Originally committed as revision 25117 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
4660143a2c
Apply minor simplification in av_read_image_line().
...
Originally committed as revision 25112 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
78b19cf029
pixdesc: indent
...
Originally committed as revision 25111 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
9525243f59
pixdesc: use 8-bit accesses when possible in av_read/write_image_line()
...
This fixes out of bounds accesses for big endian formats and should be
a little faster.
Originally committed as revision 25110 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
4b9ac6dedc
Cosmetics: use x ? y : z construct and merge intialization and
...
definition for the val variable in av_read_image_line(). Simplify.
Originally committed as revision 25109 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
65d45cea34
Add missing #include <string.h> in x86/cpu.c
...
Originally committed as revision 25088 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
a3f0d2b967
Cache detected CPU flags
...
Originally committed as revision 25085 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
9275438a19
Clean up av_get_cpu_flag()
...
Instead of defining functions in per-arch header files included
by the main cpu.c, define them normally and call them from the
generic one.
Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
c6c98d0897
Move mm_support() from libavcodec to libavutil, make it a public
...
function and rename it to av_get_cpu_flags().
Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
e778e50f63
Sort AV_CPU_FLAG* by value.
...
Originally committed as revision 25047 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
d593b4ed02
Fix typo.
...
Originally committed as revision 25046 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7160bb716b
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
...
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
Originally committed as revision 25040 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Benoit Fouet
573af7545e
Add missing parentheses to AV_NE macro.
...
Originally committed as revision 24885 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
6a36facc3d
Fix out-of-tree build
...
Originally committed as revision 24816 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
4f2d2e4ed9
Define macro AV_NE() and use it in libavdevice.
...
Help further refactoring.
Originally committed as revision 24814 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
fd3064b65e
Make sure "Last message repeated" is printed.
...
Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
448524777a
Add the M_PHI constant, contains an approximation of the golden ratio
...
irrational number.
Originally committed as revision 24439 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Pettenò
3fc548df28
Make ff_inverse stay with libavutil, and optional copy it to libavcodec.
...
The ff_inverse table is used by FASTDIV macro, defined in libavutil, but up
to now the table was defined only in libavcodec.
After this change, the main copy of ff_inverse is part of libavutil (just
like FASTDIV), but if CONFIG_SMALL is unset, then a different copy is made
available to libavcodec, to avoid the performance penalty of using an
external look up table.
Dynamic linking works, because the libraries are linked with -Bsymbolic, so
the local copy of the symbol has priority over the external; static linking
works because the table is on a standalone object file in both libraries,
so the linker is able to discard one of the two.
Tested on Linux/x86-64 and Mac OS X/x86-64.
Originally committed as revision 24383 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
eedc4ee5d8
Use attribute force_align_arg_pointer only on x86_32.
...
Originally committed as revision 24290 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
617d56cafa
Update lavu minor and add APIchanges entry after r24174 (add bswap.h
...
and intreadwrite.h API public interface).
Originally committed as revision 24190 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b91d08f4a3
Install bswap.h and intreadwrite.h
...
Originally committed as revision 24174 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8681669272
Make intreadwrite.h installation-safe
...
Originally committed as revision 24173 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
1fc81e73dd
Make bswap.h safe to install as public API
...
Originally committed as revision 24171 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7918375f88
intreadwrite: common.h is not needed, attributes.h is sufficient
...
Originally committed as revision 24155 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f4d80ecb22
lfg: add missing includes
...
Originally committed as revision 24154 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
47bfd50a4b
pixdesc: add missing includes
...
Originally committed as revision 24153 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9699a96a80
Bump minor after read/write_line() to av_read/write_image_line()
...
rename, done in r24101.
Originally committed as revision 24128 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ee4355808c
Reindent after r24101.
...
Originally committed as revision 24126 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6a522c49c2
Fix infinite loop with clock() returning (clock_t)-1.
...
Originally committed as revision 24116 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b65c1ccfe1
Change i to unsigned in get_generic_seed().
...
This is clearer than comparing against an unsigned number to force an unsigned
comparison that we need.
Originally committed as revision 24114 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e51f04968e
Restore array sizes in doxygen parameter names.
...
Originally committed as revision 24108 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c84d5aa74f
get_generic_seed() for the cases without /dev/random and AV_READ_TIME
...
Originally committed as revision 24102 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ce1cd1cba2
Rename read/write_line() to av_read/write_image_line().
...
The old names were not av_ prefixed, and they were causing linking
failure on many platforms. The new names are also more descriptive.
Patch by Stefano Sabatini.
Originally committed as revision 24101 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9077e29ecc
ARM: optimised integer clip functions
...
Originally committed as revision 24089 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
edd7fa82d7
ARM: intmath.h cosmetics
...
Originally committed as revision 24088 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
216b43aed2
Allow arch-overrides for all common.h clip and log2 functions
...
Originally committed as revision 24087 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a955b59658
Remove macro duplication between common.h and intmath.h
...
Originally committed as revision 24086 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2e874c7704
intmath: whitespace cosmetics
...
Originally committed as revision 24085 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c184bb44db
aes: fix array index out of bounds warning
...
Originally committed as revision 24048 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Eli Friedman
b7cdddcd1f
Silence "comparison of unsigned expression >= 0 is always true" warning.
...
Patch by Eli Friedman, eli d friedman a gmail
Originally committed as revision 24022 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
19c039ee3d
Make mix function more readable.
...
Compiler output unchanged with gcc 4.4.
Originally committed as revision 24006 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
08b317a238
avutil: bump minor version for r23985 (install lfg.h)
...
Originally committed as revision 23997 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
89eec74a52
avutil: install lfg.h
...
Originally committed as revision 23985 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e669590a0a
Fix parameter name and position in av_crc_init Doxygen documentation.
...
Originally committed as revision 23981 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago