Martin Storsjö
3e2efacdd8
libavcodec: Prefix fdct_ifast, fdct_ifast248
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
9cf0841ef3
dsputil: Add ff_ prefix to the dsputil*_init* functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
99560a4caa
libavcodec: Add ff_ prefix to some nonstatic symbols
...
Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
e96b4a53df
vlc/rl: Add ff_ prefix to the nonstatic symbols
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
ddce8953a5
h263: Add ff_ prefix to nonstatic symbols
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
a082ac4125
mpegvideo: Remove a leftover function declaration
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
25893ad6c9
ffv1: Warn the user if transparency is stored.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
1a265f6187
prores encoder
13 years ago
Kostya Shishkov
8835c2c829
prores: move data shared between decoder and encoder to common file
13 years ago
Kostya Shishkov
3ec623c22f
prores: fix multithreaded decoding case when slice quantisers are not the same
...
Since quantisation matrices are stored in context, decoding slices with
different quantisers in parallel leads to unpredictable content of
aforementioned matrices and wrong output picture thereof.
13 years ago
Paul B Mahol
83e2e9315a
ffv1: PIX_FMT_GRAY8 support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
dc4e57489f
CDXL demuxer and decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Janne Grunau
18d1d5886b
rv30: check block type validity
...
Prevents crashes with the fuzzed samples from bugs 88, 89 and 125 after
"golomb: avoid infinite loop on all-zero input".
13 years ago
Paul B Mahol
2af3dc8698
ttadec: CRC checking
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Janne Grunau
2bd730010d
rv34: handle size changes during frame multithreading
...
Factors all context dynamic memory handling to its own functions.
Fixes bug 220.
13 years ago
Janne Grunau
b54b40b33c
rv40: prevent undefined signed overflow in rv40_loop_filter()
13 years ago
Janne Grunau
29330721b0
rv34: use AVERROR return values in ff_rv34_decode_frame()
...
Also adds an error message.
13 years ago
Janne Grunau
bf61ef2316
rv34: use uint16_t for RV34DecContext.deblock_coefs
...
It is used as bitfield with 16 entries.
13 years ago
Paul B Mahol
148d1f4799
lavc: add missing PIX_FMT_YUVA444P
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
387783749f
jpeglsdec: fix bpp & limit.
...
Fixes: Tikcet969
Thanks-to: ITU for the freely available spec.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
00ab9cdae1
jpeglsdec: Prevent out of array write.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dda713f870
iff: Fix decode_ham_plane32() buf_size.
...
The wrong variable was passed into decode_ham_plane32()
Fixes: Ticket922
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
a8798c7eb9
Drop unnecessary av_uninit attributes from some variable declarations.
...
Recent versions of gcc (4.4+) no longer give false positive warnings.
13 years ago
Diego Biurrun
0bf184e59c
Move PS2 MMI code below the mips subdirectory, where it belongs.
...
Also give a more suitable name to the MMI-optimized IDCT;
it is not PS2-specific, as the name currently suggests.
13 years ago
Diego Biurrun
75f11901b5
mips: Move MMI function declarations to a header.
...
This fixes compilation with -Werror=missing-prototypes.
13 years ago
Reimar Döffinger
f51a072160
Fix compilation without HAVE_AVX.
...
%ifdef HAVE_AVX must now be %if HAVE_AVX.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
18a7f7465e
threads: Perform the generic progress cleanup more carefully.
...
The cleanup is only done now when
a picture is returned (assuming that it has to be done when its returned)
a error is returned (assuming that there will be no further progress on the frame)
the codec is not h264 (this is still needed due to some deadlocks in realvideo)
This fixes a decoding regression with 00017.MTS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6be0960851
threads: move state update after progress cleanup.
...
This order is more logic and might prevent a race.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f900d60178
h264: Mark previous field as done before throwing it away.
...
This fixes some deadlock without the generic cleanup code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
b223035511
Detect and check for CMOV.
...
Some MMX-only CPUs do not have support for CMOV.
All SSE/MMX2 CPUs should be fine, thus no check was
added to those functions.
See also https://sourceforge.net/tracker/?func=detail&aid=3358347&group_id=205275&atid=992986
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Anton Khirnov
3dffa1b46c
cljr: implement encode2.
13 years ago
Anton Khirnov
177bb4bf50
cljr: set the properties of the coded_frame, not input frame.
13 years ago
Anton Khirnov
89829242a6
dnxhdenc: switch to encode2.
13 years ago
Anton Khirnov
3f77c41171
bmpenc: switch to encode2().
13 years ago
Carl Eugen Hoyos
289520fd97
Reduce the verbosity of a mpeg1/2 invalid intra-matrix warning.
...
Fixes ticket #973 .
13 years ago
Paul B Mahol
07dbea7033
tta: reindent
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
69494fd5c5
lagarith: Fix out of array reads.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
2396206fb4
ffv1: Assume encoding all bits is wanted if bits_per_raw_sample == 0.
13 years ago
Carl Eugen Hoyos
cadd9ab6aa
Cosmetics: Move a block in ffv1's encode_init().
...
Makes the next patch smaller.
13 years ago
Aneesh Dogra
41afdd913a
sunrast: Return AVERROR values instead of -1.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Aneesh Dogra
4fbccfab23
sunrast: Add support for gray8 decoding.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Justin Ruggles
764852d653
alacenc: use AVCodec.encode2()
13 years ago
Justin Ruggles
bee80054f7
alacenc: cosmetics: indentation
13 years ago
Justin Ruggles
b6e8ff72ea
alacenc: consolidate bitstream writing into a single function.
...
Simplifies use of verbatim mode.
13 years ago
Justin Ruggles
b590f3a7bf
alacenc: only encode frame size in header for a final smaller frame
...
Otherwise it is not needed because it matches the frame size as encoded in
the extradata.
13 years ago
Justin Ruggles
ba821b098b
alacenc: store current frame size in AlacEncodeContext.
...
This avoids an indirection and will simplify implementation of encode2()
13 years ago
Justin Ruggles
65d15aec77
alacenc: return AVERROR codes in alac_encode_frame()
13 years ago
Justin Ruggles
302daf5800
alacenc: calculate a new max frame size for the final small frame
...
Gives a better estimate of buffer requirements and a better decision of
whether or not to use verbatim mode.
13 years ago
Justin Ruggles
fc9cf0b2a6
alacenc: pretty-printing and other cosmetics
13 years ago
Justin Ruggles
51c2483862
alacenc: fix error handling and potential memleaks in alac_encode_init()
13 years ago