Mans Rullgard [Tue, 23 Oct 2012 17:17:46 +0000 (18:17 +0100)]
dfa: use av_memcpy_backptr() where previously impossible
Since the requirement for output padding has been lifted, we can
use av_memcpy_backptr() here as well.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Tue, 23 Oct 2012 17:22:52 +0000 (19:22 +0200)]
av_memcpy_backptr: Drop no longer necessary malloc padding
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Tue, 23 Oct 2012 17:05:45 +0000 (18:05 +0100)]
Remove need for padding in av_memcpy_backptr()
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Mon, 22 Oct 2012 17:02:20 +0000 (19:02 +0200)]
lzo: Use AV_COPY*U macros where appropriate
Reinhard Tartler [Tue, 23 Oct 2012 16:30:36 +0000 (18:30 +0200)]
prepare 9_beta2 release
Diego Biurrun [Tue, 23 Oct 2012 12:37:16 +0000 (14:37 +0200)]
dsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU
Diego Biurrun [Tue, 23 Oct 2012 11:27:05 +0000 (13:27 +0200)]
intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses
Diego Biurrun [Tue, 23 Oct 2012 11:03:10 +0000 (13:03 +0200)]
dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16
Luca Barbato [Mon, 22 Oct 2012 17:11:05 +0000 (19:11 +0200)]
mp3: properly forward mp_decode_frame errors
The function can return either a parsing error or a memory management
error.
Luca Barbato [Mon, 22 Oct 2012 16:50:32 +0000 (18:50 +0200)]
mp3: exit on parsing error in mp_decode_frame
Properly forward mp_decode_layer3 errors, mp_decode_layer1 and
mp_decode_layer2 do not return errors.
Based on a patch by Michael Niedermayer.
Diego Biurrun [Mon, 22 Oct 2012 13:57:55 +0000 (15:57 +0200)]
rtmppkt: Avoid unescaped backslash in Doxygen comment
Mans Rullgard [Wed, 17 Oct 2012 02:22:51 +0000 (03:22 +0100)]
fate-lavfi: replace sed/grep/cut combos with awk
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 15 Oct 2012 01:38:17 +0000 (02:38 +0100)]
build: Plan 9 support
This adds support for building on Plan 9 x86-32. The compat/plan9
directory contains these items:
- replacements for the 'head' and 'printf' shell commands
- wrapper for main() to disable FPU exceptions
Larger required changes to the system are described in the
documentation.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 15 Oct 2012 03:05:03 +0000 (04:05 +0100)]
build: allow targets to specify extra objects to link with executables
This allows targets to include special objects when linking
executables without including them in (shared) libraries.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 13 Oct 2012 23:26:15 +0000 (00:26 +0100)]
swscale: avoid pointless use of compound literals
Some compilers (e.g. old gcc) have trouble with these.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 13 Oct 2012 21:54:53 +0000 (22:54 +0100)]
libm: add fallbacks for various single-precision functions
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 14 Oct 2012 19:24:51 +0000 (20:24 +0100)]
network: use getservbyport() only if available
The absence of this function will only give a less informative
string back from our fallback implementation of getnameinfo().
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 14 Oct 2012 17:00:05 +0000 (18:00 +0100)]
network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 13 Oct 2012 23:27:26 +0000 (00:27 +0100)]
Include sys/time.h before sys/resource.h
Some systems require sys/time.h being explicitly included before
sys/resource.h. The configure check already does this.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Tue, 23 Oct 2012 02:28:08 +0000 (03:28 +0100)]
fate: check that dependencies actually exist
This causes make to exit with an error message if a nonexistent
dependency is specified rather than silently dropping the test.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Tue, 23 Oct 2012 02:23:43 +0000 (03:23 +0100)]
fate: fix ENCMUX macro
This matches how it is actually being called.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Michael Niedermayer [Sun, 21 Oct 2012 18:48:21 +0000 (20:48 +0200)]
mpegaudiodec: Fix buffer handling on random access
Diego Biurrun [Mon, 22 Oct 2012 14:55:23 +0000 (16:55 +0200)]
mpegaudio: Refactor mp3on4 flush function
Diego Biurrun [Fri, 19 Oct 2012 23:14:11 +0000 (01:14 +0200)]
fate: Add dependencies for audio tests
Diego Biurrun [Sat, 20 Oct 2012 14:12:30 +0000 (16:12 +0200)]
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests
Diego Biurrun [Fri, 19 Oct 2012 17:59:20 +0000 (19:59 +0200)]
fate: More fine-grained dependencies for libavcodec test programs
Diego Biurrun [Sat, 20 Oct 2012 19:58:43 +0000 (21:58 +0200)]
fate: Declare avcodec/avformat deps in the respective Makefile snippets
Diego Biurrun [Fri, 19 Oct 2012 14:26:15 +0000 (16:26 +0200)]
fate: Add dependencies for WMA and WavPack tests
Diego Biurrun [Mon, 22 Oct 2012 12:35:13 +0000 (14:35 +0200)]
Improve wording and spelling of av_log_missing_feature messages.
Anton Khirnov [Mon, 22 Oct 2012 12:40:32 +0000 (14:40 +0200)]
lavu: remove disabled FF_API_AV_FIFO_PEEK cruft
Anton Khirnov [Mon, 22 Oct 2012 12:39:43 +0000 (14:39 +0200)]
lavu: remove disabled avoptions cruft
Anton Khirnov [Mon, 22 Oct 2012 12:36:14 +0000 (14:36 +0200)]
lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft
Anton Khirnov [Mon, 22 Oct 2012 07:15:11 +0000 (09:15 +0200)]
Revert "avutil: make some tables visible again"
This reverts commit
def8c94699877d015154a03d43e2b8f479cd89a0.
After the major bump this is no longer necessary.
Anton Khirnov [Mon, 22 Oct 2012 07:14:43 +0000 (09:14 +0200)]
Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"
This reverts commit
d15c21e5fa3961f10026da1a3080a3aa3cf4cec9.
After the major bump this is no longer necessary.
Anton Khirnov [Mon, 22 Oct 2012 07:12:03 +0000 (09:12 +0200)]
lavu: bump major to 52
In addition to the recent tables mess, the AVOption defaults behavior
changed, so an old lavc used with a new lavu will get completely messed
up defaults.
Anton Khirnov [Mon, 22 Oct 2012 07:11:41 +0000 (09:11 +0200)]
lavu: postpone recent deprecations until the next major bump
Anton Khirnov [Mon, 22 Oct 2012 07:02:28 +0000 (09:02 +0200)]
APIchanges: update lavr bump date
Anton Khirnov [Mon, 22 Oct 2012 20:40:22 +0000 (22:40 +0200)]
avconv: only apply presets when we have an encoder.
Fixes a crash when using a preset with stream copy.
CC: libav-stable@libav.org
Justin Ruggles [Fri, 19 Oct 2012 03:51:37 +0000 (23:51 -0400)]
atrac3: replace a calculation with FFALIGN()
This allocates 4 bytes less than the previous code if avctx->block_align is
a multiple of 4, but the extra 4 bytes is not really needed.
Justin Ruggles [Fri, 19 Oct 2012 03:34:40 +0000 (23:34 -0400)]
atrac3: remove unused ATRAC3Context field, sample_rate
Justin Ruggles [Fri, 19 Oct 2012 03:25:44 +0000 (23:25 -0400)]
atrac3: use sizeof(variable) instead of sizeof(type)
Justin Ruggles [Fri, 19 Oct 2012 03:11:20 +0000 (23:11 -0400)]
atrac3: simplify MDCT window calculation
Justin Ruggles [Fri, 19 Oct 2012 03:04:03 +0000 (23:04 -0400)]
atrac3: initialize static tables in AVCodec.init_static_data()
Justin Ruggles [Fri, 19 Oct 2012 02:56:10 +0000 (22:56 -0400)]
atrac3: separate window initialization from IMDCT initialization
Justin Ruggles [Fri, 19 Oct 2012 02:53:13 +0000 (22:53 -0400)]
atrac3: move the 'frame_factor' field from ATRAC3Context to where it is used
Justin Ruggles [Fri, 19 Oct 2012 02:51:41 +0000 (22:51 -0400)]
atrac3: remove unused ATRAC3Context field, bit_rate
Justin Ruggles [Fri, 19 Oct 2012 02:50:40 +0000 (22:50 -0400)]
atrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is used
Justin Ruggles [Fri, 19 Oct 2012 02:48:45 +0000 (22:48 -0400)]
atrac3: remove unused ATRAC3Context field, samples_per_channel
Justin Ruggles [Fri, 19 Oct 2012 02:45:48 +0000 (22:45 -0400)]
atrac3: use AVCodecContext.block_align instead of keeping a private copy
Justin Ruggles [Fri, 19 Oct 2012 02:42:21 +0000 (22:42 -0400)]
atrac3: move the 'delay' field from ATRAC3Context to where it is used
Justin Ruggles [Thu, 18 Oct 2012 21:14:59 +0000 (17:14 -0400)]
atrac3: move the 'version' field from ATRAC3Context to where it is used
Justin Ruggles [Thu, 18 Oct 2012 21:13:22 +0000 (17:13 -0400)]
atrac3: use AVCodecContext.channels instead of keeping a private copy
Justin Ruggles [Thu, 18 Oct 2012 21:07:04 +0000 (17:07 -0400)]
atrac3: simplify some loop indexing
Justin Ruggles [Wed, 17 Oct 2012 15:59:40 +0000 (11:59 -0400)]
atrac3: cosmetics: pretty-printing and renaming
also does some minor refactoring.
Mans Rullgard [Wed, 17 Oct 2012 21:26:55 +0000 (22:26 +0100)]
pcm: define AVCodec instances only for enabled codecs
This defines an AVCodec only if the corresponding CONFIG option is
enabled instead of using the broad CONFIG_ENCODERS/DECODERS.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Mon, 22 Oct 2012 13:20:23 +0000 (15:20 +0200)]
libxvid: remove useless doxy comments.
Anton Khirnov [Fri, 19 Oct 2012 18:39:27 +0000 (20:39 +0200)]
lavc: remove stats_out from the options table.
Since it is declared as a string AVOption, the generic freeing code
attempts to free it on codec close. Some codecs might have already freed
it elsewhere (or didn't even allocate it with av_malloc() in the first
place), so this might lead to an invalid free.
There is no point in having this field accessible as an AVOption, so
remove it from the options table.
Fixes Bug 380.
CC: libav-stable@libav.org
Anton Khirnov [Wed, 17 Oct 2012 04:39:13 +0000 (06:39 +0200)]
riff: remove a write-only variable
Anton Khirnov [Wed, 17 Oct 2012 05:17:24 +0000 (07:17 +0200)]
lavc: extend frame_size doxy.
Justin Ruggles [Sun, 21 Oct 2012 23:18:07 +0000 (19:18 -0400)]
alacdec: set bits_per_raw_sample
Martin Storsjö [Sat, 20 Oct 2012 20:29:15 +0000 (23:29 +0300)]
rtpdec: Don't pass a non-AVClass pointer as log context
The log context is assumed to start with an AVClass pointer.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Sat, 20 Oct 2012 20:04:14 +0000 (23:04 +0300)]
rtsp: Update a comment to the current filename scheme
Signed-off-by: Martin Storsjö <martin@martin.st>
Nathan Caldwell [Fri, 19 Oct 2012 04:58:25 +0000 (22:58 -0600)]
avcodec: handle AVERROR_EXPERIMENTAL
Error out on init if a codec with CODEC_CAP_EXPERIMENTAL is requested
and strict_std_compliance is not FF_COMPLIANCE_EXPERIMENTAL.
Move the check from avconv to avcodec_open2() and return
AVERROR_EXPERIMENTAL accordingly.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Nathan Caldwell [Fri, 19 Oct 2012 04:59:04 +0000 (22:59 -0600)]
avutil: Add AVERROR_EXPERIMENTAL
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Nathan Caldwell [Thu, 18 Oct 2012 20:47:38 +0000 (14:47 -0600)]
avcodec: prefer decoders without CODEC_CAP_EXPERIMENTAL
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diego Biurrun [Fri, 19 Oct 2012 21:32:12 +0000 (23:32 +0200)]
fate: adpcm: cosmetics: Sort test entries
This also places tests of related formats together.
Diego Biurrun [Fri, 19 Oct 2012 23:13:56 +0000 (01:13 +0200)]
fate: adpcm: Add dependencies
Diego Biurrun [Fri, 19 Oct 2012 16:26:54 +0000 (18:26 +0200)]
svq3: cosmetics: Drop useless parentheses
Diego Biurrun [Fri, 19 Oct 2012 16:03:10 +0000 (18:03 +0200)]
svq3: K&R formatting cosmetics
Diego Biurrun [Sat, 20 Oct 2012 13:40:15 +0000 (15:40 +0200)]
fate: Introduce ENCMUX macro for tests that require encoders and a muxer
Diego Biurrun [Sat, 20 Oct 2012 19:09:25 +0000 (21:09 +0200)]
ffv1: Add missing #includes to header file
Derek Buitenhuis [Fri, 19 Oct 2012 19:12:07 +0000 (15:12 -0400)]
doc/platform: Add info on shared builds with MSVC
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Fri, 19 Oct 2012 18:19:26 +0000 (14:19 -0400)]
doc/platform: Move a caveat down to the notes section
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Mans Rullgard [Sat, 20 Oct 2012 14:29:32 +0000 (15:29 +0100)]
ARM: reinstate optimised intmath.h
Use of the ARM optimised intmath.h was accidentally dropped in 9734b8b.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Luca Barbato [Fri, 19 Oct 2012 10:14:22 +0000 (12:14 +0200)]
ffv1: update to ffv1 version 3
Based on code from Carl Eugen Hoyos, Michael Niedermayer and Paul B Mahol.
Luca Barbato [Fri, 19 Oct 2012 08:33:43 +0000 (10:33 +0200)]
ffv1: propagate errors
Luca Barbato [Fri, 19 Oct 2012 08:19:36 +0000 (10:19 +0200)]
ffv1: split decoder and encoder
Martin Storsjö [Sat, 20 Oct 2012 10:32:01 +0000 (13:32 +0300)]
avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility
Earlier versions of for instance of libavcodec expect this symbol to be
present in libavutil. This commit can be reverted after the next major
bump.
New shared builds of avcodec will link to the internal copy of the
table within that library, so those builds won't rely on this table
being present in avutil any longer either.
Signed-off-by: Martin Storsjö <martin@martin.st>
Reinhard Tartler [Fri, 19 Oct 2012 21:34:02 +0000 (23:34 +0200)]
avutil: make some tables visible again
These tables are used for instance by older versions of libavcodec and
need to remain visible until the next SONAME bump.
Signed-off-by: Martin Storsjö <martin@martin.st>
Mans Rullgard [Thu, 18 Oct 2012 17:15:38 +0000 (18:15 +0100)]
avutil: remove inline av_log2 from public API
This removes inline av_log2 and av_log2_16bit from the public API,
instead exporting them as regular functions. In-tree code still
gets the inline and otherwise optimised variants.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Thu, 18 Oct 2012 16:59:13 +0000 (17:59 +0100)]
celp_math: rename ff_log2 to ff_log2_q15
This name is more descriptive as the function returns a fixed-point
value with 15 fraction bits.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Fri, 19 Oct 2012 16:58:39 +0000 (18:58 +0200)]
configure: Group math functions into a separate variable
This avoids some duplication when listing and testing for the functions.
Diego Biurrun [Thu, 18 Oct 2012 17:16:37 +0000 (19:16 +0200)]
avutil/mem: K&R formatting cosmetics
Diego Biurrun [Thu, 18 Oct 2012 17:15:43 +0000 (19:15 +0200)]
avutil/lzo: K&R formatting cosmetics
Mans Rullgard [Thu, 18 Oct 2012 02:18:39 +0000 (03:18 +0100)]
fate-vc1: add dependencies
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Fri, 19 Oct 2012 12:39:11 +0000 (13:39 +0100)]
ARM: fix overreads in neon h264 chroma mc
The loops were reading ahead one line, which could end up outside the
buffer for reference blocks at the edge of the picture. Removing
this readahead has no measurable performance impact.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Martin Storsjö [Wed, 17 Oct 2012 13:46:29 +0000 (16:46 +0300)]
rtsp: Make sure the ret variable is initialized in ff_rtsp_fetch_packet
Signed-off-by: Martin Storsjö <martin@martin.st>
Hendrik Leppkes [Fri, 19 Oct 2012 20:07:10 +0000 (22:07 +0200)]
gitignore: ignore files created by msvc
exp files are created in every build and contain export information
of the libraries. Both pdb and ilk are created during debug builds,
and contain linking and debug information used by MSVC.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Martin Storsjö [Thu, 18 Oct 2012 22:40:47 +0000 (01:40 +0300)]
fate: Add proper dependencies for the tests in video.mak
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Mon, 15 Oct 2012 21:56:38 +0000 (23:56 +0200)]
configure: Disable Snow decoder and encoder by default
Snow has serious unfixed bugs and no real-world use.
Diego Biurrun [Thu, 18 Oct 2012 14:53:42 +0000 (16:53 +0200)]
lzo: Drop obsolete fast_memcpy reference
Diego Biurrun [Fri, 19 Oct 2012 14:16:06 +0000 (16:16 +0200)]
build: Drop OBJS declaration for non-existing PCM_DVD encoder
Michael Niedermayer [Fri, 12 Oct 2012 20:38:54 +0000 (22:38 +0200)]
mpeg4videodec: Disable frame multithreading for GMC, its not implemented at all
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Thu, 18 Oct 2012 22:49:15 +0000 (01:49 +0300)]
fate: Add proper dependencies in qt.mak
The output of make fate-list is identical to before.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Thu, 18 Oct 2012 21:35:32 +0000 (00:35 +0300)]
fate: Add proper dependencies in lossless-video.mak
The output of make fate-list is identical to before.
Signed-off-by: Martin Storsjö <martin@martin.st>
Kostya Shishkov [Thu, 18 Oct 2012 09:45:42 +0000 (11:45 +0200)]
indeo3: do not try to output more lines than we can fit
Internally chroma planes have multiple of four height while allocated image
planes might be smaller if CODEC_FLAG_EMU_EDGE is set. Thus we should not
output more lines of chroma than frame can accept.
Also the decoder can be safely switched to direct rendering now.
Kostya Shishkov [Thu, 18 Oct 2012 09:08:01 +0000 (11:08 +0200)]
bmv: get a new frame on every decode_frame(), so we can use direct rendering
Mans Rullgard [Thu, 18 Oct 2012 21:38:12 +0000 (22:38 +0100)]
configure: fix libcdio check
The compiler/linker flags passed to check_lib2 should not be quoted.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Martin Storsjö [Wed, 17 Oct 2012 12:46:30 +0000 (15:46 +0300)]
rtsp: Allow setting the reordering buffer size via an AVOption
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 17 Oct 2012 12:24:46 +0000 (15:24 +0300)]
rtsp: Vertically align a constant definition
Signed-off-by: Martin Storsjö <martin@martin.st>