Michael Bradshaw
453c02f971
libopenjpeg: introduce encoding support
Based on FFmpeg version from
commit 713a7854e0
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Michael Bradshaw
b43a7bb4f9
libopenjpeg: rename decoder source file.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
chinshou
81dd908c6e
Fix libilbc compilation.
Fixes ticket #1540
13 years ago
Carl Eugen Hoyos
7f5fae1e48
mpeg4videodec: Add two missing format specifiers for debug output.
13 years ago
Carl Eugen Hoyos
34aa61a36d
mpeg4videodec: Use format specifier PRId64 for int64_t.
13 years ago
Kostya Shishkov
0b40153d20
tscc2: DCT output should not be clipped
This fixes decoding some TSCC2 files with large quantisers.
13 years ago
Paul B Mahol
3071af6cf2
tiff: read more tags of type string
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
292850b634
tiff: add smarter checks if there is enough data left
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
1ec83d9a9e
tiff: port to bytestream2
Prevents out of array reads.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
b45a313e97
ffv1dec: fix error concealment for gop>1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nick Brereton
e03077c432
Fix DCA-XXCH extension scaling for embedded downmixes.
Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nick Brereton
73154feec1
Fix ordering of XXCH downmix coefficients.
Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ac9389a663
ffv1dec: detect errors in bytestream end mismatches for EC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b0d674ec10
ffv1dec: set the first slices bytestream end correctly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f5af3568f6
ffv1dec: keep track of errors in slice headers for EC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
094845aad8
ffv1dec: add simple error concealment in case of CRC errors on slices.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
371d37fcf5
ffv1: keep last_frame (to be used for error concealment)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
7543fd80e5
exr: check size of uncompressed buffer returned by uncompress()
The actual size of uncompressed buffer returned by uncompress() may be
smaller than expected, so abort decoding in such cases.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Mohammad Alsaleh
c37c383e59
libfdk-aac: Check if cutoff value is valid
Passing a cutoff value < sample_rate/256 will cause a crash.
Also, values >20000 will have no effect and 20000 will be used anyway.
Signed-off-by: Mohammad Alsaleh <msal@tormail.org>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Carl Eugen Hoyos
a1e52c9441
Simplify ptx decoding on big-endian.
Reviewed-by: Reimar Döffinger
13 years ago
Piotr Bandurski
96e2507363
isom: add "NO16" FourCC
samples:
http://www.datafilehost.com/download-46d9a0fa.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
209f92d94a
lavc: add seperate AVCodec for CODEC_ID_H263P so demuxers can use that id.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
082829520e
vc1dec: Do not use random pred_flag if motion vector data is skipped
This fixes SA10143.vc1 from test-suite. Also partially fixes MC-VC1.ts
from videolan streams archive.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
25f056e6d4
vp8: Enclose pthread function calls in ifdefs
This fixes building with threads disabled.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
2c31ed3330
exr: make channel_offsets int instead of int8_t
Prior to this change max number of channels for float data which was
going to be correctly decoded was 32, which is rather small
considering that exr allows multiple channel layers.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
1463bd902a
cosmetics: reindent after d3abbb1d1
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
a8f6df8a4f
libfdk-aacenc: remove redundant log message if ff_alloc_packet2 fails
The whole point of ff_alloc_packet2 is to not bloat code with
duplicated error messages.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Ronald S. Bultje
c44091a9f7
snow: refactor code to work around a compiler bug in MSVC.
This fixes the compiler error "cannot convert from 'BlockNode' to
'int16_t'".
13 years ago
Martin Storsjö
a794600c00
vp8: Include the thread headers before using the pthread types
This was unnoticed on linux, since stdlib.h apparently includes
files declaring the pthread_mutex_t and pthread_cond_t types.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Paul B Mahol
6ad4560031
mss1: improve check if decoded pivot is invalid
The pivot has to lie between 0 and base.
Check of ==base is insufficient.
Thus replace it by a proper check.
Fixes out of array write.
Fixes bug #1531 .
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Philip Langdale
2c501ae82b
movtextdec: 3GPP TS 26.245 Timed Text Decoder.
This change introduces a basic decoder for 3GPP Timed Text subtitles,
also known as TX3G, Quicktime subtitles, or "movtext" in the existing
code.
This initial change doesn't attempt to parse styling information,
and just reads the plain text of the subtitles. I intend to add
support for styles eventually, but it's challenging due to a lack
of existing players that support them.
Signed-off-by: Philip Langdale <philipl@overt.org>
13 years ago
Daniel Kang
951455c1c1
vp8: implement sliced threading
Testing gives 25-30% gain on HD clips with two threads and
up to 50% gain with eight threads.
Sliced threading uses more memory than single or frame threading.
Frame threading and single threading keep the previous memory
layout.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Daniel Kang
17343e3952
vp8: move data from VP8Context->VP8Macroblock
In preparation for sliced threading.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Daniel Kang
337ade52de
vp8: refactor decoding a single mb_row
This is in preperation for sliced threading.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Nicolas George
3aba391fb5
libx264: list possible presets and tunes.
The values are listed if setting them fails.
Using "-preset help" or "-preset list" have that effect.
13 years ago
Stefano Sabatini
160df9797e
lavc/tiffenc: apply misc doxy fixes
13 years ago
Thomas Kühnel
75abfab6c6
lavc/tiff: add GeoTIFF support to the TIFF decoder
Work done for SOCIS 2011.
See thread:
Subject: [libav-devel] [PATCH 2/3] tiff: Add GeoTIFF support to the TIFF decoder
Date: Tue, 4 Oct 2011 00:19:52 +0200
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
14 years ago
Stefano Sabatini
fb57180698
lavc/avcodec.h: keep avframe_* field setter and getter close
Slightly more readable, now that the list is getting longer.
13 years ago
Thomas Kühnel
f49ec1b404
lavc: add metadata to AVFrame
See thread:
Subject: [libav-devel] [PATCH 1/3] avcodec: add metadata to AVFrame
Date: Tue, 4 Oct 2011 00:19:51 +0200
14 years ago
Michael Niedermayer
aa32971d2b
lavc: adjust timestamp in case of skiping initial samples
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2fe186409b
lavc: skip initial silence when requested
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
jamal
0f03563d7e
lavc/w32pthreads: Fix make checkheaders.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
bc0ef29cf0
exr: fix scan_line_size calculation
This one will also work in cases when file have channels
we are not going to use.
Only compressed files where affected by this bug.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
cd3136e84a
exr: print channel names not yet supported
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
fedefe4a87
exr: remove double ;;
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
1033807313
exr: frame multithreading support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
af285072b5
ffv1enc: use default number of slices if unspecified
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
051dd2eea6
ffv1dec: print timestamp at which a CRC mismatch happened
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0eb0b310c4
lavc: add pkt_timebase to allow avcodec to adjust pkt_dts/pts when needed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
f30260d32a
imgconvert: deprecate avcodec_find_best_pix_fmt()
13 years ago