OSDN Git Service
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.
Anton Khirnov [Fri, 3 Jun 2011 18:58:01 +0000 (20:58 +0200)]
tty: add framerate private option.
Diego Biurrun [Sat, 4 Jun 2011 16:45:28 +0000 (18:45 +0200)]
Remove some unused scripts from tools/.
Daniel Kang [Sun, 5 Jun 2011 23:20:05 +0000 (19:20 -0400)]
Add x86 assembly for some 10-bit H.264 intra predict functions.
Parts are inspired from the 8-bit H.264 predict code in Libav.
Other parts ported from x264 with relicensing permission from author.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Luca Barbato [Sun, 5 Jun 2011 19:20:56 +0000 (14:20 -0500)]
v4l2: do not force NTSC as standard
Setting a standard is meaningful only for analog capture devices.
Diego Biurrun [Sat, 4 Jun 2011 23:59:14 +0000 (01:59 +0200)]
Skip tableprint.h during 'make checkheaders'.
It is only used on the host and may not compile on the target.
Diego Biurrun [Sat, 4 Jun 2011 23:54:45 +0000 (01:54 +0200)]
Remove unnecessary LIBAVFORMAT_BUILD #ifdef.
Diego Biurrun [Sat, 4 Jun 2011 22:59:52 +0000 (00:59 +0200)]
Drop explicit filenames from @file Doxygen tags.
The filename is unnecessary and brittle across file renames.
Diego Biurrun [Sun, 5 Jun 2011 00:00:21 +0000 (02:00 +0200)]
Skip generated table headers during 'make checkheaders'.
Anton Khirnov [Sun, 5 Jun 2011 11:18:17 +0000 (13:18 +0200)]
lavf,lavc: free avoptions in a generic way.
It's simpler and less error-prone.
Fixes some memleaks along the way.
Anton Khirnov [Sun, 5 Jun 2011 11:17:26 +0000 (13:17 +0200)]
AVOptions: add av_opt_free convenience function.
Diego Biurrun [Sun, 5 Jun 2011 00:06:13 +0000 (01:06 +0100)]
tableprint: Restore mistakenly deleted common.h #include for FF_ARRAY_ELEMS.
This fixes the build with hardcoded tables enabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Stefano Sabatini [Mon, 9 May 2011 19:26:39 +0000 (21:26 +0200)]
tiff: print log in case of unknown / unsupported tag.
Helps debugging.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Mon, 9 May 2011 20:11:57 +0000 (22:11 +0200)]
tiff: fix linesize for mono-white/black formats.
Fix decoding of file Test_1bpp.tif
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Mans Rullgard [Sat, 4 Jun 2011 17:48:46 +0000 (18:48 +0100)]
Fix build of eval-test program
eval.c has moved to libavutil, move the TESTPROGS entry too.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Robert Swain [Sun, 5 Jun 2011 08:31:24 +0000 (10:31 +0200)]
configure: Document --enable-vaapi
VAAPI is disabled by default so it should have a --enable-vaapi option
documented, not a --disable-vaapi.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Justin Ruggles [Wed, 1 Jun 2011 16:40:01 +0000 (12:40 -0400)]
ac3enc: extract all exponents for the frame at once
Mans Rullgard [Sat, 4 Jun 2011 20:16:04 +0000 (21:16 +0100)]
ARM: remove MULL inline asm
Reasonable gcc versions get this one right on their own.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 4 Jun 2011 16:52:30 +0000 (17:52 +0100)]
mathops: use MUL64 macro where it forms part of other ops
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Fri, 3 Jun 2011 18:43:48 +0000 (20:43 +0200)]
tty: factorise returning error codes.
Anton Khirnov [Fri, 3 Jun 2011 12:13:14 +0000 (14:13 +0200)]
rawdec: add framerate private option.
Anton Khirnov [Fri, 3 Jun 2011 11:36:36 +0000 (13:36 +0200)]
x11grab: add framerate private option.
Anton Khirnov [Fri, 3 Jun 2011 11:29:43 +0000 (13:29 +0200)]
fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
Anton Khirnov [Fri, 3 Jun 2011 11:11:39 +0000 (13:11 +0200)]
bktr: don't error when AVFormatParameters.time_base isn't set.
There's a private option for it now.
Mans Rullgard [Sat, 4 Jun 2011 15:47:15 +0000 (16:47 +0100)]
cmdutils: add missing const qualifier
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Sat, 4 Jun 2011 16:02:40 +0000 (18:02 +0200)]
Skip headers not designed to work standalone during 'make checkheaders'.
Diego Biurrun [Sat, 4 Jun 2011 14:58:31 +0000 (16:58 +0200)]
Add missing #includes to make headers self-contained.
This fixes 'make checkheaders'.
Mans Rullgard [Sat, 4 Jun 2011 15:45:15 +0000 (16:45 +0100)]
musepack: remove unnecessary #include from mpcdata.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 4 Jun 2011 15:43:41 +0000 (16:43 +0100)]
musepack: remove extraneous mpcdata.h inclusions
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 4 Jun 2011 12:36:35 +0000 (13:36 +0100)]
Fix error check in av_file_map()
On failure, mmap() returns MAP_FAILED, which may or may not be -1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Fri, 3 Jun 2011 14:50:14 +0000 (15:50 +0100)]
build: simplify commands for clean target
Signed-off-by: Mans Rullgard <mans@mansr.com>
Ronald S. Bultje [Fri, 3 Jun 2011 05:45:16 +0000 (22:45 -0700)]
swscale: split swscale.c in unscaled and generic conversion routines.
This duplicates the function fillPlane().
Ronald S. Bultje [Fri, 3 Jun 2011 05:34:13 +0000 (22:34 -0700)]
swscale: cosmetics.
Remove duplicate "inC" and "_c" functions that do the same thing;
give each function that handles data and acts as a function pointer
a "_c" suffix; remove "_c" suffix from functions that are inherently
not optimizable. Remove inline keyword from functions that are only
used through function pointers.
Ronald S. Bultje [Fri, 3 Jun 2011 05:34:12 +0000 (22:34 -0700)]
swscale: integrate (literally) swscale_template.c in swscale.c.
Ronald S. Bultje [Fri, 3 Jun 2011 05:00:00 +0000 (22:00 -0700)]
swscale: split out x86/swscale_template.c from swscale.c.
Ronald S. Bultje [Fri, 3 Jun 2011 03:33:05 +0000 (20:33 -0700)]
swscale: enable hScale_altivec_real.
Ronald S. Bultje [Fri, 3 Jun 2011 03:04:04 +0000 (20:04 -0700)]
swscale: split out ppc _template.c files from main swscale.c.
Ronald S. Bultje [Fri, 3 Jun 2011 02:28:56 +0000 (19:28 -0700)]
swscale: remove indirections in ppc/swscale_template.c.
Ronald S. Bultje [Fri, 3 Jun 2011 03:17:20 +0000 (20:17 -0700)]
swscale: split out unscaled altivec YUV converters in their own file.
Ronald S. Bultje [Thu, 2 Jun 2011 21:24:58 +0000 (14:24 -0700)]
mpegvideoenc: fix multislice fate tests with threading disabled.
The MPEG encoding code assumes that n_threads == n_slices, and thus it
should use n_slices even if threading itself is disabled.
Diego Biurrun [Fri, 27 May 2011 18:34:01 +0000 (20:34 +0200)]
mpegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro.
Diego Biurrun [Mon, 30 May 2011 15:28:43 +0000 (17:28 +0200)]
build: Simplify texi2html invocation through the --output option.
The --output option is available in texi2html since at least version 1.78.
Mans Rullgard [Fri, 3 Jun 2011 11:52:29 +0000 (12:52 +0100)]
Mark some variables with av_unused
Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Stefano Sabatini [Fri, 3 Jun 2011 09:42:07 +0000 (11:42 +0200)]
Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().
This fixes warnings about avcodec_get_pix_fmt_name() being deprecated.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Baptiste Coudurier [Thu, 5 May 2011 01:45:36 +0000 (18:45 -0700)]
svq3: Check negative mb_type to fix potential crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Baptiste Coudurier [Thu, 5 May 2011 12:18:33 +0000 (14:18 +0200)]
svq3: Move svq3-specific fields to their own context.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Anton Khirnov [Fri, 3 Jun 2011 11:40:54 +0000 (13:40 +0200)]
rawdec: initialize return value to 0.
Vladimir Pantelic [Fri, 3 Jun 2011 09:00:15 +0000 (11:00 +0200)]
Remove unused get_psnr() prototype
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Fri, 3 Jun 2011 05:37:44 +0000 (07:37 +0200)]
rawdec: don't leak option strings.
Anton Khirnov [Fri, 3 Jun 2011 05:36:14 +0000 (07:36 +0200)]
bktr: get default framerate from video standard.
Ronald S. Bultje [Fri, 3 Jun 2011 02:19:12 +0000 (19:19 -0700)]
swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.
Diego Biurrun [Thu, 2 Jun 2011 20:45:15 +0000 (22:45 +0200)]
Replace custom DEBUG preprocessor trickery by the standard one.
Diego Biurrun [Thu, 2 Jun 2011 21:03:54 +0000 (23:03 +0200)]
vorbis: Remove non-compiling debug statement.
Diego Biurrun [Thu, 2 Jun 2011 21:02:34 +0000 (23:02 +0200)]
vorbis: Remove pointless DEBUG #ifdef around debug output macros.
Diego Biurrun [Thu, 2 Jun 2011 20:59:27 +0000 (22:59 +0200)]
cook: Remove non-compiling debug output.
random_state was changed from an int to a struct and can no longer be printed
as easily as before.
Diego Biurrun [Thu, 2 Jun 2011 20:56:29 +0000 (22:56 +0200)]
Remove pointless #ifdefs around function declarations in a header.
Diego Biurrun [Thu, 2 Jun 2011 20:55:51 +0000 (22:55 +0200)]
Replace #ifdef + av_log() combinations by av_dlog().