Diego Biurrun
888fa31eca
Fix FSF address copy paste error in some license headers.
14 years ago
Martin Aumüller
b1eb7a1204
arm: properly mark external symbol call
Surround memset and ff_vp8_dct_cat_prob by X() in order to fix iOS build
Includes patch by Luca Barbato <lu_zero@gentoo.org>.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Michael Niedermayer
01d3ebaf21
AVFrame: only set parameters from AVCodecContext in decode_video*() when no frame reordering is used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
a3bc7a9ebf
avcodec_default_get_buffer: init picture parameters.
Fixes multithreading regression introduced in 64c06615d2
Fixes ticket197
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
1550f45a89
Add av_clip_uintp2() function
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
ami_stuff
2bd12ee3c8
Support more QT 1bpp rawvideo files.
Fixes ticket #189 .
14 years ago
Stefano Sabatini
4d15f194b4
tiffenc: set bpp table for monow/monob formats
Also makes the bpp_tab non static const, as it needs to be changed in
this case.
Fix encoding of monow/monob images, fix trac issue #193 .
14 years ago
Stefano Sabatini
ac8d6f120d
tiffenc: factorize code for monow/monob case in encode_frame() switch
Reduce code duplication, increase robustness.
14 years ago
Stefano Sabatini
995013ebc8
tiffenc: fix bpp value for monow/monob formats
14 years ago
Stefano Sabatini
d8297ca443
tiff: fix linesize for mono-white/black formats
Fix decoding of file Test_1bpp.tif, fix trac issue #171 .
15 years ago
Stefano Sabatini
762b4662f0
tiff: print log in case of unknown / unsupported tag
Helps debugging.
15 years ago
Reimar Döffinger
2c9a5172d3
dfa: fix buffer overflow checks to avoid integer overflows.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Carl Eugen Hoyos
410ca3bc2d
Support Digital Voodoo SD 8 Bit in mov (ticket 195).
14 years ago
Carl Eugen Hoyos
69b6b2d2bc
Set channel_layout for S302M.
14 years ago
Carl Eugen Hoyos
0aac0403c5
Map mlp surround channels to FFmpeg rear channels.
This allows more 3rd party applications to correctly read
the resulting wav files.
14 years ago
Alexandre Colucci
a37f7b6246
Support native DTS channel order when requested.
14 years ago
Justin Ruggles
4d7a421574
ac3enc: put the counting of stereo rematrixing bits in the same place to
make the code easier to understand.
15 years ago
Justin Ruggles
257de756fb
ac3enc: clean up count_frame_bits() and count_frame_bits_fixed()
15 years ago
Michael Niedermayer
c4fb3b0327
mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of just via AVFrame.
This allows the values to be used without changing C code and is closer to how
the other DEBUG flags work.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Aurelien Jacobs
ea5fa19427
srtdec: make sure we don't write past the end of buffer
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Tomas Härdin
ee81e76db1
wmaenc: improve channel count and bitrate error handling in encode_init()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Stefano Sabatini
bbc572a2c4
tiff: add support for SamplesPerPixel tag in tiff_decode_tag()
Format detection and internal frame initialization is moved to a
separate init_image() function, which is called when all the tags have
been read, and so both BitsPerSample and SamplesPerPixel information
has been collected.
This fixes decoding of the file 11.tiff from roundup issue #1925 .
Based on a patch by Kostya Shishkov <kostya.shishkov@gmail.com>.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
15 years ago
Michael Niedermayer
7b874dcc00
ffv1: Add PIX_FMT_YUV420P9 support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
8102d886be
tiff: Prefer enum TiffCompr over int for TiffContext.compr.
This is safer and helps debugging.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
15 years ago
Michael Niedermayer
7a3a259840
ffv1dec: output PIX_FMT_YUV422P10 and PIX_FMT_YUV420P10 when possible.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
ami_stuff
0b8002fd68
Add support for QT BMP 1bpp color mode
Fix trac issue #188
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Baptiste Coudurier
14cf9e698d
dnxhdenc: add AVClass in private context.
Fixes private options.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Diego Biurrun
0a6b1a9f21
Replace int_fast integer types with their sized standard posix counterparts.
The _fast integer types provide no realworld benefits, but may introduce
portability issues and are just plain ugly.
15 years ago
Diego Biurrun
be89845708
jfdct: Replace sized int_fast integer types with plain int/unsigned.
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
15 years ago
Diego Biurrun
046f081b46
configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems
since it causes certain system functions to be hidden on some (BSD) systems.
The solution is to only add the flag on systems that really require it, i.e.
glibc-based ones.
This change makes BSD systems compile out-of-the-box without the need for
adding specific flags manually. It also allows dropping a number of flags
set manually on a file-per-file basis, but were only present to work around
breakage introduced by the presence of _POSIX_C_SOURCE.
Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions
in several places already, so it is preferable to define it globally instead
of littering source files with individual #defines only needed for glibc.
15 years ago
Michael Niedermayer
b8a4b0152a
error concealment: check last pictures motion_val before using it.
Fixes NULL pointer dereference.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
John Horigan
ce10e858a7
Added PIX_FMT_GRAY8 to the formats supported by the QuickTime RLE encoder
The QuickTime RLE encoder only supports 16, 24, and 32-bit color. This patch adds support
for 8-bit grayscale.
Signed-off-by: John Horigan <john@glyphic.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
anatoly
99e07a4453
Fix crash of interlaced MPEG2 decoding
15 years ago
Jason Garrett-Glaser
5705b02079
10-bit H.264 x86 chroma v loopfilter asm
Also delete some unused deblock asm macros.
14 years ago
Baptiste Coudurier
9aa91043f3
Port SMPTE S302M audio decoder from FFmbc 0.3.
15 years ago
Ronald S. Bultje
c77b858c4c
h264pred: fix one more aliasing violation.
15 years ago
Anatoly Nenashev
b44c8ad280
Fix crash of interlaced MPEG2 decoding
Problem description, preliminary review discussion at
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/127731
15 years ago
Ronald S. Bultje
d2bf42895a
h264pred: fix one more aliasing violation.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Anton Khirnov
880fa21830
flacenc: use proper initializers for AVOption default values.
default_val was recently changes from double to a union, current code
wasn't updated for that.
15 years ago
Anton Khirnov
c9e81d0783
lavc: deprecate named constants for deprecated antialias_algo.
15 years ago
Michael Niedermayer
b75e53cc43
h264idct_template: fix include path
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Reinhard Tartler
083e715f33
aac: workaround for compilation on cygwin
On cygwin, math.h needs to be included before float.h because of a bug
in the system headers. Including libavutil/libm.h first works around
this issue.
Longer discussion of the topic:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/128582
15 years ago
Baptiste Coudurier
5c511ad4ce
swscale: extend YUV422p support to 10bits depth
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Michael Niedermayer
d18e243f62
h264: merge _internal & template files.
seems git missed them and we temporary lost our improvments in them.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Stefano Sabatini
b437f5b055
tiff: add support for inverted FillOrder for uncompressed data
Fix decoding of file b.tif, trac issue #168 .
Signed-off-by: Diego Biurrun <diego@biurrun.de>
15 years ago
Ronald S. Bultje
2caf19e90f
h264pred: fix aliasing violations.
Tested to fix Haiku H264/10bit fate failures, may also fix others.
15 years ago
Reimar Döffinger
3b6bbfa063
Check syntax even if DEBUG is not defined.
15 years ago
Ronald S. Bultje
b9660e2ac5
fix fate failures for 10bit H264 on some systems
This is possibly a temporary solution
15 years ago
Alex Converse
ffc437c026
cosmetics: Fix crazy formatting in resample.
15 years ago
Alex Converse
3e00ababc4
Allow resampling with no channel count change for up to 8 channels.
15 years ago