992cb15e67
wmavoice: move wmavoice_flush() up.
2016-12-27 10:02:33 -05:00
2f347c17d6
avcodec/ylc: thread safe initialization is possible with this codec
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-26 20:28:40 +01:00
31bf37cba8
avcodec/ylc: add frame threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-26 20:27:01 +01:00
341d3ee441
avcodec/ylc: do not leak memory at uninit
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-26 20:18:00 +01:00
12461636ea
avcodec/magicyuv: export colorspace and color_range for YUV
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-26 17:34:57 +01:00
67db4ff3b6
NVENC: Update check for Lookahead
...
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org >
2016-12-26 12:13:39 -03:00
c3d822855c
avcodec/lossless_videodsp: fix output of add_hfyu_left_pred_int16_c()
...
It is now bitexact with the ssse3 and sse4.1 versions of the function.
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-12-26 12:02:38 -03:00
6e26b6e43f
avcodec/error_resilience: Move variable initialization down, remove unneeded inits
...
This makes the code faster and easier to read
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-25 22:58:52 +01:00
d5ecffbac6
avcodec/error_resilience: Merge surrounding status checks
...
Simplifies code and is also faster
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-25 21:04:32 +01:00
cafc72bd7b
avcodec/error_resilience: Factor block parity check out
...
This makes the code noticably faster when there are lots of blocks
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-25 21:04:32 +01:00
25c4035529
avcodec/pixlet: simplify lowpass_prediction() function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-24 16:42:00 +01:00
68e5598e22
avcodec/utvideo: fix mistake using wrong arguments for left and lefttop pixel components
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-24 10:59:26 +01:00
6cedd20b97
avcodec/pixlet: make sure scaling factors are not zero
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-24 10:31:43 +01:00
ab31b46b89
avcodec/pixlet: avoid some overflows
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-24 10:26:27 +01:00
43cd33be16
avcodec/pixlet: fix undefined behaviour in postprocess_chroma
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-24 10:22:39 +01:00
ea93052db3
avcodec/utvideodec: add SIMD support for median prediction for planar formats
...
~10% faster overall.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-23 17:44:01 +01:00
0ed4993ad0
avcodec/asvdec: return correct value in case of error
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-23 11:10:47 +01:00
51ed1a7dd4
avcodec/pixlet: check out of bounds pfx value
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-23 09:41:06 +01:00
41de965e31
avcodec/pixlet: remove unnecessary double to float conversion
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-12-23 09:19:34 +01:00
73651090ca
avcodec: add Apple Pixlet decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-22 22:47:06 +01:00
95fb9e0205
avcodec: add pcm_f16le and pcm_f24le decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-22 10:30:21 +01:00
4cf96c5642
avcodec/wmaprodec: cleanup extradata dumping
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-22 09:47:47 +01:00
6d09d6edbc
avcodec/magicyuv: add 10 bit support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-20 13:32:15 +01:00
14090b7050
avcodec/get_bits: add av_assert2 to get_bits_long()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2016-12-18 10:06:29 +01:00
38a1315582
opus: remove redundant ff_celt_window2 declaration
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
2016-12-18 07:11:27 +00:00
6b517a194d
lavc: Fix ticket 6024, truncated mode decoding
...
The assumption that avcodec_send_packet makes regarding decoders
consuming the entire packet is not true if the codec supports
truncated decoding mode and the truncated flag is turned on.
Steps to reproduce:
./ffmpeg_g -flags truncated \
-i "http://samples.ffmpeg.org/MPEG2/test-ebu-422.40000.pakets.ts " \
-c:v ffv1 -c:a copy -y /tmp/truncated.nut
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-17 18:41:18 +01:00
5b74ebe937
avcodec/mips: version 1 of vc1dsp optimizations for loongson mmi
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-17 18:41:18 +01:00
eb7aa6bde4
avcodec/h263dec: Return the correct error code in explode mode
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-15 22:13:17 +01:00
c869e00f88
avcodec/smvjpegdec: return the packet size instead of 0
...
Most decoders return the amount of data used.
This is more consistent
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-15 22:12:48 +01:00
0888c5a242
avcodec/tdsc: return the packet size instead of 0
...
Most decoders return the amount of data used.
This is more consistent
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-15 22:12:12 +01:00
2eebcda10a
avcodec/screenpresso: return the packet size instead of 0
...
Most decoders return the amount of data used.
This is more consistent
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-15 22:11:26 +01:00
c62beba49a
avcodec/rscc: return the packet size instead of 0
...
Most decoders return the amount of data used.
This is more consistent
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-15 22:10:40 +01:00
ed412d2850
tiff: fix overflows when calling av_reduce
...
The arguments of av_reduce are signed, so the cast to uint64_t is misleading.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
2016-12-15 01:30:57 +01:00
457e933919
Bump for psd demuxer and decoder
...
Found-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-14 11:43:33 +01:00
90af962911
libavcodec : add decoder for Photoshop PSD image files
...
Decode the Image Data Section (which contains merged pictures).
Support RGB/A and Grayscale/A in 8bits and 16 bits per channel.
Support uncompress and rle decompression in Image Data Section.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-14 03:21:27 +01:00
bf15981b12
libvpxenc: Don't spam level errors for VP8 encodes
...
Fixes "Failed to set VP9E_GET_LEVEL codec control: Codec does not
implement requested capability" log messages on VP8 encodes.
2016-12-13 10:43:57 -08:00
d84e635d06
avcodec/mips: version 1 of wmv2dsp optimizations for loongson mmi
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-13 03:47:04 +01:00
c5c6e30781
avcodec/mips: version 1 of vp8dsp optimizations for loongson mmi
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-13 03:47:04 +01:00
00223132e9
avcodec/cuvid: fix compilation with msvc11
2016-12-12 13:09:55 +01:00
2f07830e69
avcodec: Add max_pixels options
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-10 22:24:10 +01:00
51c673a0d7
libavcodec/tests: Add avpacket test to .gitignore
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2016-12-10 15:51:01 +00:00
c085f1a7e1
opus_parser: make ParseContext the first element in OpusParseContext
...
ff_parse_close expects priv_data to be the ParseContext directly and
thus doesn't work if it isn't at the beginning of OpusParseContext.
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
2016-12-10 13:36:57 +01:00
7d3baebe40
opus_parser: fix leaking channel_maps on error
...
Make ff_opus_parse_extradata free allocated memory on error instead of
expecting callers to free it in that case.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
2016-12-10 13:36:12 +01:00
5b73ba9887
avcodec/mpeg12dec: Add FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
...
This decreases the amount of computations and memory needed for analysing mpeg1/2 streams
the properties update is moved from code that is skiped if skip_frame is set
to code that is not skiped so the change doesnt loose that
from being executed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-10 04:58:52 +01:00
8258e36385
avcodec/mpeg4videodec: Fix undefined shifts in mpeg4_decode_sprite_trajectory()
...
Fixes: part of 670190.ogg
Found-by: Matt Wolenetz <wolenetz@google.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-09 17:44:54 +01:00
4413e950b2
h264_slice: Wait for refs to be available before we use them in error concealment
...
This could happen when there was a frame number gap and frame threading was used.
This fixes #5458 .
Debugging-by: Ronald S. Bultje <rsbultje@gmail.com >
Debugging-by: Justin Ruggles <justin.ruggles@gmail.com >
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2016-12-09 15:00:29 +00:00
38a7834bbb
avcodec/ffv1enc: Allocate smaller packet if the worst case size cannot be allocated
...
We are checking during encoding if there is enough space as version 4 needs that
check.
Fixes Ticket6005
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-09 01:59:40 +01:00
cff1c0edaa
avcodec/ffv1enc: Fix size of first slice
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-09 01:59:30 +01:00
51a055b206
aacdec: Rename elem_type_prev to che_prev_type.
...
It describes the type of the previous che element (SCE, CPE, CCE, or
LFE) and does not reflect non-che elements.
2016-12-08 13:31:50 -08:00
d379592687
aacdec: Allow SBR after DRC.
...
Fixes https://www2.iis.fraunhofer.de/AAC/7.1auditionOutLeader_v2_rtb.mp4
Reported-by: rcombs on IRC
2016-12-08 13:31:50 -08:00