Vitor Sessak
4b83fc0fe4
Plug memory leak in NUT muxer and demuxer
...
Originally committed as revision 22174 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
3d7b94ba5a
Fix build failure with fast_unaligned and non-gcc-compatible compilers
...
Originally committed as revision 22142 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
8a4d067dfc
Revert r22119 and partially revert 22120.
...
Originally committed as revision 22135 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
fee6faa2b6
Implement av_tree_destroy_free_elem() to destroy a tree and free all the
...
values stored on it.
Originally committed as revision 22119 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0fcbcad140
Include sha1.h from sha.c: It contains several prototypes.
...
Originally committed as revision 22099 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
3314799368
Extend doxy for the src parameter of av_fifo_generic_write().
...
@patchby Tomas Härdin |tomas dot hardin at codemill dot se|
Originally committed as revision 22043 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8ef4e65e94
AV_COPY16() & AV_ZERO16()
...
Originally committed as revision 22037 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
ae529ddb32
Add PUT_UTF16() macro.
...
Patch by Anton Khirnov <wyskas gmail com>.
Originally committed as revision 22030 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fc323a5480
Clarify non constness of src in av_fifo_generic_write()
...
Originally committed as revision 21997 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ac73f1a816
ARM: change argument/return type of bswap_16() to unsigned 32-bit
...
This avoids unnecessary masking otherwise added by the compilers.
Originally committed as revision 21953 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
94a5218c10
More accurate value for log2(10)
...
Originally committed as revision 21946 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e4a35244fa
Replace log2f(10) with a constant
...
Originally committed as revision 21924 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7ed63ca2e7
Add casts to correct return type in macros for missing libm funcs
...
Originally committed as revision 21922 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
8e339d4aa0
Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers.
...
Originally committed as revision 21917 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
95c0d02ddc
TOMI: 16- and 32-bit intreadwrite functions
...
Originally committed as revision 21890 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f4a7434f16
Add alias-safe aligned AV_[RW]N macros
...
Originally committed as revision 21880 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7a6053ef72
Use alias-safe types in AV_COPY/SWAP/ZERO macros
...
Originally committed as revision 21879 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0c76e635f5
Use alias-safe types in AV_[RW] macros
...
Originally committed as revision 21878 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d10458c9e2
Add alias-safe union typedefs
...
Originally committed as revision 21877 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f47a7cb777
Move read_line() and write_line() definition from pixdesc.h to
...
pixdesc.c, which are now not anymore marked as static inline.
Fix the inclusion of the private header intreadwrite.h in the public
header pixdesc.h.
Originally committed as revision 21854 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
a768816c33
Simplify expression as suggested by Måns Rullgård
...
Originally committed as revision 21756 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
045b60bf9b
Make SHA digest function write digest value with AV_WN32 instead of assuming
...
that output may be written as uint32_t since output buffer may not be aligned
(and it's silly to force alignment on it) and it does not work in that case
properly on some architectures.
Originally committed as revision 21754 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8e05f06912
Define missing llrint() as macro instead of inline function
...
This fixes building on some broken systems.
Originally committed as revision 21735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b687c1aaac
Bump minor for av_compare_ts()
...
Originally committed as revision 21673 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
78b0182375
av_compare_ts()
...
Originally committed as revision 21671 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
351aff72a4
Fix grammar: write to DST THING -> write THING to DST.
...
Originally committed as revision 21576 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
22bf4592c8
Remove duplicated word in av_strlcat() doxy.
...
Originally committed as revision 21549 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
80a07f6e47
Implement av_get_pix_fmt(), and deprecate avcodec_get_pix_fmt().
...
Originally committed as revision 21545 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6c88973a75
Add AV_COPY32
...
Originally committed as revision 21524 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
788627dea6
Define av_alias if supported by compiler
...
Originally committed as revision 21523 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4ae406856f
Add --malloc-prefix to apply a prefix to malloc, free etc
...
This makes it easy to use a replacement allocator instead of the
system default one.
Originally committed as revision 21509 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
87fec35d8d
Add macro AV_JOIN() for joining two tokens into one
...
Originally committed as revision 21482 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
34e52abb62
DECLARE_ALIGNED macro for TMS470 compiler
...
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
15 years ago
Måns Rullgård
d408b77a3a
Add an AV_PRAGMA() macro for constructing _Pragma() directives
...
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
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8a24e98d50
Make DECLARE_ALIGNED macros work with external array specifiers
...
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
15 years ago
Laurent Aimar
92c6a099ba
H264 DXVA2 implementation
...
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
15 years ago
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