Michael Niedermayer
74dbb5388e
av_tempfile: Pass int log_offset, void *log_ctx
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Steven Walters
27237d524e
w32threads: support for frame multithreading
...
Replace our incomplete w32threads implementation with x264's pthreads
w32threads wrapper.
Relicensed to LGPL with kind permission by Pegasys Inc.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Mans Rullgard
b44522981c
avcodec: remove stray @deprecated comment
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
885158c887
Move av_tempfile() into libavutil, it is a generically usefull thing and its small.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
3e01c9b547
dvbsubdec: cosmetic change on how xpos is passed around
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7d2e4673b1
dvbsubdec: Fix 0xf0 end detection
...
Based on a change by JULIAN GARDNER
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
294ea2cfc6
dvbsub: add comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
8a6799d205
dvbsub: add dvb_encode_rle8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
7fa1f02ce2
dvbsub: Move setting of *dvb_encode_rle() up
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
d5f4857a73
dvbsubdec:dvbsub_display_end_segment() move main loop under if() as its useless if false.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
91038cdbd1
prores: get correct size for coded V plane if alpha is present
...
The size check must be updated to take into account both manners
in which v_data_size might be set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
cd14e297e6
prores: do not set pixel format on codec init
...
The pixel format is not known until the frame header is parsed.
Guessing it here only causes trouble for the caller if the guess
turns out to be wrong (and actually causes very wrong output by
avconv/avplay).
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
2ed7e353bd
h264: Workaround invalid flag combinations of 8x8 inference.
...
Fixes Ticket555
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
7b6883898f
pthread: prevent updating AVCodecContext from itself in frame_thread_free
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Ronald S. Bultje
feadcd1bdc
pthread: copy coded frame dimensions in update_context_from_thread
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Ronald S. Bultje
0f0b5d6434
vp8: prevent read from uninitialized memory in decode_mvs
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Ronald S. Bultje
5653579381
vp8: force reallocation in update_thread_context after frame size change
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Ronald S. Bultje
f05c2fb6eb
vp8: fix return value if update_dimensions fails
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Justin Ruggles
a62c0f94ee
adpcmdec: calculate actual number of output samples for each decoder.
...
This also allows for removing some of the buf_size checks and using the
sample count for some of the decoding loops.
13 years ago
Justin Ruggles
439998e18b
adpcmdec: check remaining buffer size before decoding next block in the
...
ADPCM IMA WAV decoder.
13 years ago
Justin Ruggles
ff5790c761
adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder.
...
There are still 2 nibbles to decode once the last byte in the packet has been
read. Updated FATE reference.
13 years ago
Justin Ruggles
8140a1288f
adpcmdec: remove unneeded buf_size==0 check.
...
This is already done by avcodec_decode_audio3()
13 years ago
Justin Ruggles
f7f7c1942b
adpcmdec: remove unneeded zeroing of *data_size
13 years ago
Mans Rullgard
d341d5fd2c
dnxhdenc: fixed signed multiplication overflow
...
The low 32 bits of a multiplication are the same for signed
and unsigned operands. Casting to unsigned before multiplying
is thus equivalent while avoiding signed overflow, which is
undefined by the C99 standard.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
4b9e9a57ee
proresdec: rename to avoid confusion
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
05c8f119cc
proresdsp: fix function prototypes.
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Ronald S. Bultje
f78cd0c243
prores-idct: fix overflow in c code.
...
Fix the fate ref for prores-422_proxy by reverting the changes to it
in commit f492df0927
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Janne Grunau
19ec283f49
prores: add missing feature warning for alpha
13 years ago
JULIAN GARDNER
0f8d77199a
dvbsubdec: add version checking
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
1fc7b0ed5a
dvbsubdec: handle mode change page state
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
168a5d3b3c
dvbsubdec: change the top_bottom correction
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
f12c7ad86d
dvbsubdec: fix buf ptr in dvbsub_parse_region_segment()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
7e0f4f9d0f
dvbsubdec: bottom_field_len fix
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
55f17d3175
dvbsubdec: fix x/y_pos checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
24fb1b64a6
dvbsubdec: outcomment debug stuff in dvbsub_parse_pixel_data_block()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
b522d2a3b7
dvbsubdec: dirty handkling
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
JULIAN GARDNER
eea064aea6
dvbsubdec: Fix variable increments & checking in dvbsub_read_*bit_string()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Dustin Brody
582f231142
lavc: add a flag-based error_recognition field to AVCodecContext and deprecate non-flag-based ER field
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Dustin Brody
ac90a71459
lavc: rename deprecation symbol FF_API_VERY_AGGRESSIVE to FF_API_ER
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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
Justin Ruggles
617a51f9b7
shorten: remove the flush function.
...
The shorten decoder does not support seeking.
13 years ago
Justin Ruggles
c6ac30c84b
truespeech: use sizeof() instead of hardcoded sizes
13 years ago
Justin Ruggles
6d55506c8b
truespeech: remove unneeded variable, 'consumed'
...
increment the 'buf' pointer instead, and consume the whole packet.
13 years ago
Justin Ruggles
b84048935e
truespeech: simplify truespeech_read_frame() by using get_bits()
13 years ago
Justin Ruggles
5e5ce70f19
truespeech: decode directly to output buffer instead of a temp buffer
13 years ago
Justin Ruggles
3e7a176759
truespeech: check to make sure channels == 1
13 years ago
Justin Ruggles
a8f8db2636
truespeech: check for large enough output buffer rather than truncating output
13 years ago
Justin Ruggles
595cf1a1aa
truespeech: remove unneeded zero-size packet check.
...
This is already checked in avcodec_decode_audio3()
13 years ago
Justin Ruggles
82be06bbb3
mlpdec: return meaningful error codes instead of -1
13 years ago