Clément Bœsch
b46f19100b
cosmetics: group remaining .name and .long_name.
...
See b2bed9325
.
11 years ago
Reimar Döffinger
547c2f002a
Make decoding alpha optional for some codecs.
...
For codecs where decoding of a whole plane can simply
be skipped, we should offer applications to not decode
alpha for better performance (ca. 30% less CPU usage
and 40% reduced memory bandwidth).
It also means applications do not need to implement support
(even if it is rather simple) for YUVA formats in order to be
able to play these files.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years ago
Paul B Mahol
3dcd3e08f6
avcodec/proresdec2: remove duplicated tables
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
43497d8a83
avcodec/proresdec2: return meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
30df9789a9
proresdec: Fix end condition
...
Fixes out of array writes
No FFmpeg release is affected by this
This also fixes some artifacts
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
e32bbd4112
proresdec2: Only try to decode alpha plane if four output planes were allocated.
...
Fixes a crash with MPlayer.
12 years ago
Kostya Shishkov
d13fa0e995
proresdec2: Support decoding transparency information.
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
12 years ago
Clément Bœsch
859f7da543
lavc/prores: restore pict_type and key_frame setting.
12 years ago
Paul B Mahol
4012cd6c4f
lavc: fix decode_frame() third parameter semantics for rest of video decoders
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
c871244306
proresdec: check input size before reading qmats, prevent overreading.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8e6511c1e1
proresdec2: avoid VLA and use SliceContext instead.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
5a03a3d998
proresdec2: use ff_dsputil_init() avoid deprecated ff_ less variant.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
67f17e7202
proresdec2: Fix 16 vs. 8bit compiler warnings.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0065080320
proresdec: Fix read via negative index in a global array.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
7099f36578
lavc: replace rest of deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2b73cddd40
proresdec: Check yuv slice data sizes.
...
Fixes overread
Fixes Ticket812
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
29179239f5
proresdec: add UPDATE_CACHE, should fix decoding with -Os
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1a2484fc4e
get_bits: drop the a32 reader.
...
that way qatar maintains the code for me and i dont need to resolve conflicts.
If someone wants the a32 reader back, only thing you need to do is maintain
it, i would be happy to have it back, iam just not volunteering to maintain
it due to lack of time.
Based on: a1e98f198e
by Mans Rullgard.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
66160bdb01
cleanup: remove two extraneous semicolons.
13 years ago
Michael Niedermayer
4b9e9a57ee
proresdec: rename to avoid confusion
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
19ec283f49
prores: add missing feature warning for alpha
13 years ago
Michael Niedermayer
337496980e
prores: use C idct for fate as the SSE code is not matching the SSE* code down at the bits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8937afd39f
proresdec: set CODEC_CAP_DR1, it appears this was forgotten.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Elvis Presley
bebaf4ea1f
prores: change license to LGPL, merge some parts.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
397d194e50
prores: check slice mb_y against mb_height
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e1b2f6ec11
prores: only call get_buffer once per frame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ebba05b3c5
prores:cosmetics
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fd0247f833
prores: fix typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
a667e90aae
proresdec_gpl: remove wrong @file reference.
13 years ago
Michael Niedermayer
93c220e895
forgot git add prores_*c
...
Authorship of the decoders is elvis / maxim. For more details see previous
comits
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago