Mans Rullgard [Mon, 13 Jun 2011 08:24:27 +0000 (09:24 +0100)]
ARM: jrevdct_arm: misc cleanup
- use 'const' macro to define coeff table
- add missing endfunc
- remove superflous directives
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 11 Jun 2011 21:53:32 +0000 (22:53 +0100)]
ARM: optimised mpadsp_apply_window_fixed
Signed-off-by: Mans Rullgard <mans@mansr.com>
Reinhard Tartler [Mon, 13 Jun 2011 06:56:54 +0000 (08:56 +0200)]
Add some (important) changelog entries
Stefano Sabatini [Sun, 12 Jun 2011 11:54:22 +0000 (13:54 +0200)]
cmdutils: add missing NULL check in parse_options()
Fix ffplay -i FILE, which was recently broken.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Sven C. Dack [Wed, 30 Mar 2011 15:02:29 +0000 (17:02 +0200)]
x11grab: remove a memory allocation and the associated memcpy.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Mans Rullgard [Sat, 11 Jun 2011 18:54:23 +0000 (19:54 +0100)]
build: fix "make install" with documentation disabled
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Tue, 7 Jun 2011 09:11:21 +0000 (10:11 +0100)]
build: simplify some conditional targets
Use intermediate targets instead of variables for conditional
parts of "all" and "install" targets.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Alex Converse [Tue, 26 Apr 2011 16:08:26 +0000 (09:08 -0700)]
bitstream: Properly promote av_reverse values before shifting.
Ronald S. Bultje [Thu, 9 Jun 2011 02:16:39 +0000 (19:16 -0700)]
libavutil/swscale: YUV444P10/YUV444P9 support.
Also add missing glue code for recently added YUV422P10 formats
to swscale.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Jason Garrett-Glaser [Fri, 10 Jun 2011 01:20:19 +0000 (18:20 -0700)]
H.264: Fix high bit depth explicit biweight
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Fri, 10 Jun 2011 00:40:10 +0000 (02:40 +0200)]
h264: Fix 10-bit H.264 x86 chroma v loopfilter asm.
The tc variable was not splatted correctly.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diego Biurrun [Tue, 7 Jun 2011 11:18:12 +0000 (13:18 +0200)]
Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.
Justin Ruggles [Fri, 10 Jun 2011 16:58:08 +0000 (12:58 -0400)]
Update copyright year for ac3enc_opts_template.c.
The code was originally committed to Libav on March 25, 2011.
Kieran Kunhya [Wed, 8 Jun 2011 06:26:20 +0000 (01:26 -0500)]
adts: Adjust frame size mask to follow the specification.
This fixes ADTS detection for at least one sample.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Martin Storsjö [Sat, 21 May 2011 11:58:43 +0000 (14:58 +0300)]
movenc: Add RTP muxer/hinter options
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 18 May 2011 12:41:38 +0000 (15:41 +0300)]
movenc: Pass the RTP AVFormatContext to the SDP generation
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Sat, 21 May 2011 12:03:48 +0000 (15:03 +0300)]
rtspenc: Add RTP muxer options
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Sat, 21 May 2011 12:03:35 +0000 (15:03 +0300)]
rtspenc: Add an AVClass for setting muxer specific options
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 18 May 2011 12:42:53 +0000 (15:42 +0300)]
rtpenc_chain: Pass the rtpflags options through to the chained muxer
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Fri, 27 May 2011 19:38:36 +0000 (22:38 +0300)]
rtpenc: Declare the rtp flags private AVOptions in rtpenc.h
This allows other muxers that chain a RTP muxer to declare
the same options easily.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 18 May 2011 12:48:20 +0000 (15:48 +0300)]
sdp: Reindent after the previous commit
Signed-off-by: Martin Storsjö <martin@martin.st>
Juan Carlos Rodriguez [Wed, 18 May 2011 12:00:03 +0000 (15:00 +0300)]
rtpenc: MP4A-LATM payload support
This is enabled with an AVOption on the RTP muxer. The SDP
generator looks for a latm flag in the rtpflags field.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Fri, 27 May 2011 19:21:40 +0000 (22:21 +0300)]
avoptions: Add an av_opt_flag_is_set function for inspecting flag fields
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 18 May 2011 12:41:06 +0000 (15:41 +0300)]
sdp: Allow passing an AVFormatContext to the SDP generation
Options from the AVFormatContext can be read for modifying
the generated SDP.
Signed-off-by: Martin Storsjö <martin@martin.st>
Yusuke Nakamura [Fri, 13 May 2011 14:46:48 +0000 (23:46 +0900)]
mov: Fix wrong timestamp generation for fragmented movies that have time offset caused by the first edit list entry.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Fri, 25 Mar 2011 00:13:08 +0000 (01:13 +0100)]
mpeg12: more advanced ffmpeg mpeg2 aspect guessing code.
Fixes issue1613, 621, 562 simultaneously
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Ronald S. Bultje [Thu, 9 Jun 2011 22:13:53 +0000 (18:13 -0400)]
swscale: split YUYV output out of yuv2packed[12X]_c().
This is part of the Great Evil Plan to simplify swscale.
Stefano Sabatini [Tue, 15 Mar 2011 11:34:55 +0000 (12:34 +0100)]
lavf: make compute_pkt_fields2() return meaningful error values
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Reimar Döffinger [Sat, 26 Feb 2011 11:52:01 +0000 (12:52 +0100)]
matroskadec: set timestamps for RealAudio packets.
Improves seeking in ffplay with
http://samples.mplayerhq.hu/Matroska/RA_missing_timestamps.mkv
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Thu, 9 Jun 2011 20:36:31 +0000 (22:36 +0200)]
intelh263dec: aspect ratio processing fix.
patch submitted by xvid_fan freenet de
Anton Khirnov [Thu, 9 Jun 2011 20:29:40 +0000 (22:29 +0200)]
intelh263dec: fix "Strict H.263 compliance" file playback
fixes issue2449
patch submitted by xvid_fan freenet de
Reimar Döffinger [Tue, 29 Mar 2011 18:18:45 +0000 (20:18 +0200)]
oss,sndio: simplify by using FFMIN.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Ronald S. Bultje [Thu, 9 Jun 2011 20:25:21 +0000 (16:25 -0400)]
swscale: extract monowhite/black output from yuv2packed[12X]_c().
This is part of the Great Evil Plan to simplify swscale.
Ronald S. Bultje [Thu, 9 Jun 2011 17:59:21 +0000 (13:59 -0400)]
swscale: de-macro'ify RGB15/16/32 input functions.
Inline functions are easier to read, maintain, modify and test,
which justifies the slightly increased source size. This patch
also adds support for non-native endianness RGB15/16 and fixes
isSupportedOutput() to no longer claim that we support writing
non-native RGB565/555/444.
Ronald S. Bultje [Thu, 9 Jun 2011 14:00:09 +0000 (10:00 -0400)]
swscale: rearrange code.
This way the code in the file is less cluttered all-over-the-
place.
Alex Converse [Mon, 6 Jun 2011 17:59:46 +0000 (10:59 -0700)]
movdec: Add support for the 'wfex' atom.
The 'wfex' is just a Microsoft WaveFormatEx struct.
Alex Converse [Thu, 9 Jun 2011 16:52:47 +0000 (09:52 -0700)]
ffmpeg.c: Add a necessary const qualifier
Alex Converse [Thu, 9 Jun 2011 16:50:38 +0000 (09:50 -0700)]
riff: Fix potential memleak.
Make ff_get_wav_header() free existing extradata before allocing a new
buffer.
Ronald S. Bultje [Wed, 8 Jun 2011 19:12:32 +0000 (15:12 -0400)]
swscale: change 48bit RGB input macros to inline functions.
Inline functions are slightly larger in source code, but
are easier to handle in source code editors. The binary code
generated is the same.
Ronald S. Bultje [Wed, 8 Jun 2011 18:50:49 +0000 (14:50 -0400)]
swscale: change 9/10bit YUV input macros to inline functions.
Inline functions are slightly larger in source code, but
are easier to handle in source code editors. The binary code
generated is the same.
Ronald S. Bultje [Wed, 8 Jun 2011 17:29:09 +0000 (13:29 -0400)]
swscale: extract gray16 output functions from yuv2packed[12X]().
This is part of the Great Evil Plan to simplify swscale.
Ronald S. Bultje [Tue, 7 Jun 2011 15:22:54 +0000 (11:22 -0400)]
swscale: use standard clipping functions.
This generates better code on some non-x86 architectures.
Ronald S. Bultje [Tue, 7 Jun 2011 15:06:44 +0000 (11:06 -0400)]
swscale: merge macros that are used only once.
This reduces source code size without affecting the binary.
Ronald S. Bultje [Wed, 8 Jun 2011 16:31:11 +0000 (12:31 -0400)]
swscale: fix function declarations in swscale.c.
Remove inline keyword from functions that are never inlined.
Use av_always_inline for functions that should be force-inlined
for performance reasons. Use av_cold for init functions.
Ronald S. Bultje [Wed, 8 Jun 2011 16:12:50 +0000 (12:12 -0400)]
swscale: fix function declaration keywords in x86/swscale_template.c.
Remove inline keyword for functions that are only called through
their function pointers (and thus cannot be inlined); add av_cold
keyword to init function, and use av_always_inline instead of
inline for functions that must be inlined for performance reasons.
Etienne Buira [Wed, 8 Jun 2011 00:20:53 +0000 (02:20 +0200)]
crypto: Use av_freep instead of av_free
This fixes a potential double free.
Signed-off-by: Martin Storsjö <martin@martin.st>
Anton Khirnov [Mon, 6 Jun 2011 11:14:05 +0000 (13:14 +0200)]
lavf: don't try to free private options if priv_data is NULL.
This might happen if there was an error before priv_data was allocated
and result in segfault.
Ronald S. Bultje [Wed, 8 Jun 2011 15:39:26 +0000 (11:39 -0400)]
swscale: fix types of assembly arguments.
This prevents the following compiler warnings: "warning:
initialization from incompatible pointer type". Since the
variables are only ever used in inline assembly, their type
is actually irrelevant (so the part where it was wrong did
not invoke any buggy behaviour).
Ronald S. Bultje [Wed, 8 Jun 2011 15:33:46 +0000 (11:33 -0400)]
swscale: move two macros that are only used once into caller.
This way, they look like regular code, which is easier to
understand.
Ronald S. Bultje [Wed, 8 Jun 2011 15:03:11 +0000 (11:03 -0400)]
swscale: remove unused function.
Use of this wrapper was removed in a previous patch, but I
forgot to actually remove the function itself.
Diego Biurrun [Wed, 8 Jun 2011 12:59:47 +0000 (14:59 +0200)]
options: Add missing braces around struct initializer.
This fixes the warning:
libavformat/options.c:62:1: warning: missing braces around initializer [-Wmissing-braces]
Diego Biurrun [Sun, 5 Jun 2011 14:10:17 +0000 (16:10 +0200)]
mov: Remove leftover crufty debug statement with references to a local file.
Diego Biurrun [Mon, 6 Jun 2011 12:10:22 +0000 (14:10 +0200)]
dvbsubdec: Fix compilation of debug code.
Anton Khirnov [Sun, 22 May 2011 10:46:29 +0000 (12:46 +0200)]
Remove all uses of now deprecated metadata functions.
Anton Khirnov [Sun, 22 May 2011 10:45:00 +0000 (12:45 +0200)]
Move metadata API from lavf to lavu.
Rename it to AVDictionary, since it will be used as such. Tags
documentation and metadata conversion API is lavf-specific, so remains
there.
Diego Biurrun [Sun, 5 Jun 2011 13:53:34 +0000 (15:53 +0200)]
Remove some non-compiling debug messages.
Diego Biurrun [Tue, 7 Jun 2011 22:41:12 +0000 (00:41 +0200)]
ffplay: Fix non-compiling debug printf and replace it by av_dlog.
Daniel Kang [Tue, 7 Jun 2011 14:31:51 +0000 (10:31 -0400)]
H264: x86 predict init cosmetics.
Change indentation and whitespace; also move HAVE_YASM blocks.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Tue, 7 Jun 2011 22:06:19 +0000 (00:06 +0200)]
ac3enc: Fix linking of AC-3 encoder without the E-AC-3 encoder.
The AC-3 encoder unconditionally references some symbols from the E-AC-3
encoder; make those references conditional to fix linking.
Justin Ruggles [Tue, 7 Jun 2011 16:47:09 +0000 (12:47 -0400)]
Move E-AC-3 encoder functions to a separate eac3enc.c file.
Justin Ruggles [Tue, 7 Jun 2011 15:50:38 +0000 (11:50 -0400)]
ac3enc: remove convenience macro, #define DEBUG
Justin Ruggles [Tue, 7 Jun 2011 14:53:44 +0000 (10:53 -0400)]
ac3enc: remove unused #define
John Stebbins [Tue, 7 Jun 2011 17:53:31 +0000 (19:53 +0200)]
vc1: re-initialize tables after width/height change.
read_sequence_header can change width/height; therefore, re-initialize
all tables if width/height changed
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Justin Ruggles [Tue, 7 Jun 2011 17:04:06 +0000 (13:04 -0400)]
APIchanges: fill-in git commit hash for av_get_bytes_per_sample() addition
Stefano Sabatini [Sun, 5 Jun 2011 23:14:50 +0000 (01:14 +0200)]
samplefmt: add av_get_bytes_per_sample()
Deprecate av_get_bits_per_sample_fmt(), which was a misnamed function.
For the moment we don't have sample formats with a non-integer number
of bytes, in that case we may need to create a new
av_get_bits_per_sample() function. In the meanwhile we prefer to adopt
this variant, since avoids divisions by 8 all over the place.
Justin Ruggles [Mon, 6 Jun 2011 21:10:11 +0000 (17:10 -0400)]
iirfilter: fix biquad filter coefficients.
The current filter implementation should only have the cx coefficients
divided by gain in order to give the correct output scale.
Ronald S. Bultje [Mon, 6 Jun 2011 02:54:30 +0000 (22:54 -0400)]
swscale: remove duplicate conversion routine in swScale().
Ronald S. Bultje [Mon, 6 Jun 2011 02:31:11 +0000 (22:31 -0400)]
swscale: add yuv2planar/packed function typedefs.
Ronald S. Bultje [Mon, 6 Jun 2011 02:27:45 +0000 (22:27 -0400)]
swscale: integrate yuv2nv12X_C into yuv2yuvX() function pointers.
Ronald S. Bultje [Mon, 6 Jun 2011 01:48:51 +0000 (21:48 -0400)]
swscale: reindent x86 init code.
Ronald S. Bultje [Mon, 6 Jun 2011 01:46:16 +0000 (21:46 -0400)]
swscale: extract SWS_FULL_CHR_H_INT conditional into init code.
Ronald S. Bultje [Mon, 6 Jun 2011 01:40:04 +0000 (21:40 -0400)]
swscale: cosmetics.
Ronald S. Bultje [Mon, 6 Jun 2011 01:37:59 +0000 (21:37 -0400)]
swscale: remove alp/chr/lumSrcOffset.
They are hacks added to reuse the same scaling function for
different formats and they may cause problems when SIMD
implementation of the same functions are used along with pure
C functions.
Ronald S. Bultje [Mon, 6 Jun 2011 01:15:44 +0000 (21:15 -0400)]
swscale: un-special-case yuv2yuvX16_c().
Make yuv2yuvX16_c a function pointer for yuv2yuvX(), so that the
function pointer becomes bitdepth-independent.
Diego Biurrun [Tue, 7 Jun 2011 08:52:30 +0000 (10:52 +0200)]
shorten: Remove stray DEBUG #define and corresponding av_dlog statement.
Diego Biurrun [Tue, 7 Jun 2011 12:02:38 +0000 (14:02 +0200)]
vorbisdec: Restore mistakenly removed debug output.
Diego Biurrun [Mon, 6 Jun 2011 11:32:37 +0000 (13:32 +0200)]
configure: Document --enable-vdpau.
The option is disabled by default, so enabling it should be documented.
Diego Biurrun [Sun, 5 Jun 2011 23:25:32 +0000 (01:25 +0200)]
Replace some av_log/printf + #ifdef combinations by av_dlog.
Diego Biurrun [Sun, 5 Jun 2011 22:53:31 +0000 (00:53 +0200)]
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
Diego Biurrun [Sun, 5 Jun 2011 22:52:28 +0000 (00:52 +0200)]
svq1dec: Fix debug statements that referenced non-existing context.
Diego Biurrun [Sun, 5 Jun 2011 22:39:39 +0000 (00:39 +0200)]
Replace some printf instances in debug code by av_log.
Diego Biurrun [Sun, 5 Jun 2011 13:27:51 +0000 (15:27 +0200)]
inverse.c: Replace unnecessary intmath.h header by necessary stdint.h.
Diego Biurrun [Sat, 4 Jun 2011 23:28:22 +0000 (01:28 +0200)]
Drop unnecessary directory prefixes from #include directives.
Mans Rullgard [Mon, 6 Jun 2011 20:46:18 +0000 (21:46 +0100)]
build: remove empty $(OBJS) target
This target was added to prevent some files being deleted
by make when using chains of implicit rules. This is no
longer required.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 6 Jun 2011 22:00:26 +0000 (23:00 +0100)]
build: make rule for linking ff* apply only to these targets
This ensures that the special link command using cmdutils.o
only applies to the targets it should.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 6 Jun 2011 18:57:10 +0000 (19:57 +0100)]
build: rearrange some lines in a more logical way
Signed-off-by: Mans Rullgard <mans@mansr.com>
Baptiste Coudurier [Sat, 4 Jun 2011 12:36:30 +0000 (14:36 +0200)]
s302m: fix resampling for 16 and 24bits.
Mans Rullgard [Sun, 5 Jun 2011 12:44:28 +0000 (13:44 +0100)]
ARM: remove MUL64 and MAC64 inline asm
Current GCC versions know how to generate these instructions
properly and avoiding inline asm gives better code. The MULH
function for ARMv5 uses the same instruction and is also not
needed any more.
The MLS64 macro remains since negating an input would normally
not be allowed as it would fail for INT_MIN. In our uses, the
inputs never have this value and thus negating is safe.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 5 Jun 2011 20:57:03 +0000 (21:57 +0100)]
build: clean up .PHONY lists
This removes nonexisting targets from phony lists and puts them
all in one place.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 5 Jun 2011 20:52:32 +0000 (21:52 +0100)]
build: move all (un)install* target aliases to toplevel Makefile
Signed-off-by: Mans Rullgard <mans@mansr.com>
Luca Barbato [Mon, 6 Jun 2011 14:13:05 +0000 (09:13 -0500)]
flvenc: propagate error properly
avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
Mans Rullgard [Mon, 6 Jun 2011 12:21:05 +0000 (13:21 +0100)]
build: remove stale dependency
This dependency is implicitly covered elsewhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 5 Jun 2011 21:16:16 +0000 (22:16 +0100)]
build: do not add CFLAGS-yes to CFLAGS
CFLAGS-yes is never set so this serves no purpose.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Ronald S. Bultje [Mon, 6 Jun 2011 13:27:54 +0000 (09:27 -0400)]
utils.c: fix crash with threading enabled.
Mans Rullgard [Mon, 6 Jun 2011 11:56:26 +0000 (12:56 +0100)]
configure: simplify source_path setup
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 6 Jun 2011 11:37:06 +0000 (12:37 +0100)]
configure: remove --source-path option
This option does not work, and the implied functionality is
at best pointless.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Fri, 3 Jun 2011 22:23:14 +0000 (00:23 +0200)]
lavf: deprecate AVFormatParameters.time_base.
Anton Khirnov [Fri, 3 Jun 2011 22:21:26 +0000 (00:21 +0200)]
img2: add framerate private option.
Anton Khirnov [Fri, 3 Jun 2011 22:17:31 +0000 (00:17 +0200)]
img2: add video_size private option.
Anton Khirnov [Fri, 3 Jun 2011 22:13:35 +0000 (00:13 +0200)]
img2: add pixel_format private option.