Stefano Sabatini
a6703faa15
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.
14 years ago
Justin Ruggles
2f37321abc
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.
14 years ago
Ronald S. Bultje
edeb56fa31
swscale: remove duplicate conversion routine in swScale().
14 years ago
Ronald S. Bultje
b73fe70025
swscale: add yuv2planar/packed function typedefs.
14 years ago
Ronald S. Bultje
df91d09174
swscale: integrate yuv2nv12X_C into yuv2yuvX() function pointers.
14 years ago
Ronald S. Bultje
0fb5193156
swscale: reindent x86 init code.
14 years ago
Ronald S. Bultje
ca364a5b43
swscale: extract SWS_FULL_CHR_H_INT conditional into init code.
14 years ago
Ronald S. Bultje
b3b28b080f
swscale: cosmetics.
14 years ago
Ronald S. Bultje
ea28175312
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.
14 years ago
Ronald S. Bultje
bda9b20fa4
swscale: un-special-case yuv2yuvX16_c().
...
Make yuv2yuvX16_c a function pointer for yuv2yuvX(), so that the
function pointer becomes bitdepth-independent.
14 years ago
Diego Biurrun
b9478cfefb
shorten: Remove stray DEBUG #define and corresponding av_dlog statement.
14 years ago
Diego Biurrun
2d9570a304
vorbisdec: Restore mistakenly removed debug output.
14 years ago
Diego Biurrun
e8f6bd4b88
configure: Document --enable-vdpau.
...
The option is disabled by default, so enabling it should be documented.
14 years ago
Diego Biurrun
02a8d43adf
Replace some av_log/printf + #ifdef combinations by av_dlog.
14 years ago
Diego Biurrun
1f6b9cc31d
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
14 years ago
Diego Biurrun
f8ea0eb6ff
svq1dec: Fix debug statements that referenced non-existing context.
14 years ago
Diego Biurrun
d7cf5639e7
Replace some printf instances in debug code by av_log.
14 years ago
Diego Biurrun
e01bb264e7
inverse.c: Replace unnecessary intmath.h header by necessary stdint.h.
14 years ago
Diego Biurrun
dc25d79f49
Drop unnecessary directory prefixes from #include directives.
14 years ago
Mans Rullgard
b9c6c7cb25
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>
14 years ago
Mans Rullgard
6d170962bd
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>
14 years ago
Mans Rullgard
d93d7349ce
build: rearrange some lines in a more logical way
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Baptiste Coudurier
4f8da7e7dc
s302m: fix resampling for 16 and 24bits.
14 years ago
Mans Rullgard
21c6512542
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>
14 years ago
Mans Rullgard
0018b7f043
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>
14 years ago
Mans Rullgard
d7a72d250b
build: move all (un)install* target aliases to toplevel Makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Luca Barbato
0e28e9ca8f
flvenc: propagate error properly
...
avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
14 years ago
Mans Rullgard
171ae1eb0d
build: remove stale dependency
...
This dependency is implicitly covered elsewhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
5eaba041a0
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>
14 years ago
Ronald S. Bultje
ceff045dbe
utils.c: fix crash with threading enabled.
14 years ago
Mans Rullgard
8477f2deef
configure: simplify source_path setup
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
dc435c4e9d
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>
14 years ago
Anton Khirnov
b2592ea42c
lavf: deprecate AVFormatParameters.time_base.
14 years ago
Anton Khirnov
abcedfac60
img2: add framerate private option.
14 years ago
Anton Khirnov
a915bf64cc
img2: add video_size private option.
14 years ago
Anton Khirnov
f33e2a51d9
img2: add pixel_format private option.
14 years ago
Anton Khirnov
c1dcbfddf9
tty: add framerate private option.
14 years ago
Diego Biurrun
eb7505e429
Remove some unused scripts from tools/.
14 years ago
Daniel Kang
a8d44f9dd5
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>
14 years ago
Luca Barbato
2c6fb9f032
v4l2: do not force NTSC as standard
...
Setting a standard is meaningful only for analog capture devices.
14 years ago
Diego Biurrun
ef5d7e18f4
Skip tableprint.h during 'make checkheaders'.
...
It is only used on the host and may not compile on the target.
14 years ago
Diego Biurrun
fb8648ad4b
Remove unnecessary LIBAVFORMAT_BUILD #ifdef.
14 years ago
Diego Biurrun
f25a2ece76
Drop explicit filenames from @file Doxygen tags.
...
The filename is unnecessary and brittle across file renames.
14 years ago
Diego Biurrun
29b3de127f
Skip generated table headers during 'make checkheaders'.
14 years ago
Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
14 years ago
Anton Khirnov
b39b06233d
AVOptions: add av_opt_free convenience function.
14 years ago
Diego Biurrun
92b4abc2ad
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>
14 years ago
Stefano Sabatini
1863a3c7aa
tiff: print log in case of unknown / unsupported tag.
...
Helps debugging.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
a43458d7eb
tiff: fix linesize for mono-white/black formats.
...
Fix decoding of file Test_1bpp.tif
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Mans Rullgard
5a4a71257c
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>
14 years ago