Michael Niedermayer
b6ff078b7b
Make the selftesting code use and compileable.
...
Originally committed as revision 14433 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ca74c0a180
cosmetics: Fix two common typos: wont --> will not, lets --> let us.
...
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
80a61f08d2
Remove AltiVec vector declaration compiler compatibility macros.
...
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.
Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
b7b38fb28a
intreadwrite: support DEC compiler __unaligned type qualifier
...
Originally committed as revision 14275 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
fbbea48eb3
Rearrange AV_[RW][BL]*() macros
...
Originally committed as revision 14265 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
6651ce17b8
ARM: ARMv6 optimised FASTDIV
...
Originally committed as revision 14242 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
c696a863d4
ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
...
Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
ea66f252a8
ARM: ARMv6 optimised bswap_16/32
...
Originally committed as revision 14239 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
b1e12f99a2
Print the address of the AVCodecContext in av_log().
...
This makes debug output much easier to read when the
same codec is open more than once.
Originally committed as revision 14237 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4138ad961c
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
17 years ago
Loren Merritt
f27e1d645e
simplify vorbis windowing
...
Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
d7bd0b3dea
Only define AltiVec vector syntax macro when AltiVec is enabled.
...
patch by Peter Ross, pross xvid org
Originally committed as revision 14073 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8cd8eaa546
Make START/STOP_TIMER not require -v 2.
...
Originally committed as revision 13711 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
40c13fecfa
alloc_size attribute is new to gcc 4.3; don't use it with lesser versions
...
Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Rafaël Carré
d326dd9797
Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.
...
patch by Rafaël Carré, funman videolan org
Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
4a567b40b1
Macro suggested by Michael which will be used to disable the
...
definition 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
17 years ago
Diego Biurrun
b006b26c83
Implement a proper configure test for AltiVec vector declaration syntax.
...
Originally committed as revision 13555 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fa3b98182d
Ensure that one can store X bytes in a fifo of size X.
...
Fixed issue417.
Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0871ae1a93
Make av_fifo*_read() ignore the available amount of data.
...
This is more efficient as in practice the check is redundant most of the
time. Callers which do not know if enough data is available have to check
it with av_fifo_size(). Doing the check in *read() means the caller has
no choice to skip the check when its known to be redundant.
Also the return value was never documented in a public header so
changing it should not break the API. Besides this fixes the case where
read() failed on a 100% full fifo.
Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
19757f6169
indent
...
Originally committed as revision 13251 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fdf35f265a
make av_strdup(NULL) return NULL
...
Originally committed as revision 13250 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c38e75fc52
Add required stdint.h header.
...
Originally committed as revision 13096 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
40d0e665d0
Do not misuse long as the size of a register in x86.
...
typedef x86_reg as the appropriate size and use it instead.
Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
91605c69fb
minor wording fix
...
Originally committed as revision 13068 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e4a957d1a7
minor spelling fix
...
Originally committed as revision 13066 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
7c43009358
add necessary #includes in headers
...
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
b842ecbefc
add FFMIN3
...
Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
95a6a015e3
Enhance documentation for AVClass
...
Patch by Stefano Sabatini stefanodotsabatini-lalaatpostedotit
Originally committed as revision 12934 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vladimir Voroshilov
159ef4b02a
Implement FFMAX3(a,b,c) - maximum over three arguments.
...
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
93826f561d
Fix des-test compilation.
...
Originally committed as revision 12889 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c88c253d8b
cosmetics: __asm__ __volatile__ --> asm volatile
...
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
07c37ca7fc
remove useless extern keyword.
...
patch by Stefano Sabatini: stefano sabatini-lala poste it
Originally committed as revision 12790 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
95c76e1180
cosmetics (by Björn Axelsson)
...
Originally committed as revision 12774 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
49cec1998a
Add a generic write function to av_fifo.
...
Patch by Björn Axelsson: bjorn axelsson intinor se
Original thread: [FFmpeg-devel] [RFC][PATCH] av_fifo_write_from_bytestream()
Date: 04/03/2008 12:14 PM
Originally committed as revision 12773 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
71c61f62a3
non-recursive makefiles
...
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4764fdc987
simplify
...
Originally committed as revision 12755 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ed0d3048c0
Merge declaratio and initialization.
...
Originally committed as revision 12677 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
11362767b8
Merge declaration and initialization.
...
Originally committed as revision 12676 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
df22c35dfb
Split MANGLE macro into LOCAL_MANGLE AND EXTERN_PREFIX parts
...
so that LOCAL_MANGLE can be used without EXTERN_PREFIX.
patch by Alexander Strange, astrange ithinksw com
Originally committed as revision 12558 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
3540b950ec
add missing #include "common.h" to libavutil headers
...
Originally committed as revision 12502 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
e6e70d9bdc
Cosmetic change: remove the whitespace after 'defined'
...
Originally committed as revision 12501 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
0fd48faca5
'malloc' attribute isn't supported in old gcc.
...
Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
cca6d953c2
Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz
...
Originally committed as revision 12499 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
85074d3c93
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
17 years ago
Måns Rullgård
3662d880ed
32/64-bit agnostic x86 bswap
...
Originally committed as revision 12496 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
70fa2e27ec
cosmetics: sanitise asm() statements in bswap.h
...
Originally committed as revision 12494 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
2119bb8f51
revert r12489.
...
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
6544f48f03
Pure, const and malloc attributes to libavutil.
...
Patch by Zuxy Meng: zuxy meng gmail com
Original thread:
[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Date: 03/18/2008 6:09 AM
Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago