Clément Bœsch
b5451d88cf
lavc: reindent a few decoders after previous commits
2016-02-26 22:15:20 +01:00
Clément Bœsch
22ebbda637
lavc: deprecate decoded ass subtitles with timings
2016-02-26 21:53:34 +01:00
Clément Bœsch
30e7685360
lavc/options: add ass_ro_flush_noop to flags2
2016-02-26 21:53:32 +01:00
Clément Bœsch
2941282124
lavc: allow subtitle text format to be ASS without timing
2016-02-26 21:49:34 +01:00
Clément Bœsch
805685fffd
Kill timed SSA
2016-02-26 21:34:33 +01:00
Michael Niedermayer
410f717ff6
avcodec/utils: Merge identical if conditions
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-26 20:12:30 +01:00
Rostislav Pehlivanov
bc7beb6574
vc2enc: calculate the minimum slice size only once
...
This commit moves the minimum bits per slice calculations outside of the
rate control function as it is identical for every slice.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-26 15:38:26 +00:00
Rostislav Pehlivanov
2b811e4605
vc2enc: halve allocated table size, refactor and optimize quantization
...
Since coefficients differ only in the last bit when writing to the
bitstream it was possible to remove the sign from the tables, thus
halving them. Also now all quantization is done in the unsigned domain
as the sign is completely separate, which gets rid of the need to do
quantization on 32 bit signed integers.
Overall, this slightly speeds up the encoder depending on the machine.
The commit still generates bit-identical files as before the commit.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-26 14:47:06 +00:00
Rostislav Pehlivanov
7db2e757c5
vc2enc: use FFABS() instead of abs()
...
Provides a minor speedup.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-26 12:55:34 +00:00
Rostislav Pehlivanov
3ef10406e1
vc2enc: correctly zero out coefficient array padding
...
Credit for figuring this out goes to James Darnley.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-26 12:21:36 +00:00
Rostislav Pehlivanov
35346c7b0f
vc2enc: mark as FF_CODEC_CAP_INIT_THREADSAFE and align AVCodec entries
...
The encoder does not modify any global variables.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-26 12:17:42 +00:00
Carl Eugen Hoyos
0f31d401c3
lavc/mjpegdec: Fix decoding images with Adobe_CM tag.
...
Fixes ticket #5267 .
2016-02-25 13:26:13 +01:00
Neil Birkbeck
ad17b9d2d4
libavcodec:add packet level support for mastering metadata
...
Some containers, like webm/mkv, will contain this mastering metadata.
This is analogous to the way 3D fpa data is handled (in frame and
packet side data).
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-25 00:18:12 +01:00
Derek Buitenhuis
ef7ce480c8
Merge commit 'd24bd96bdd5b4bae9a9e0055fa8d1104db1283a9'
...
* commit 'd24bd96bdd5b4bae9a9e0055fa8d1104db1283a9':
build: Disentangle VC-1 decoder and parser
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 18:23:36 +00:00
Derek Buitenhuis
b056482ef3
Merge commit '15a24614aef5836af3cd2c7cc3b2b737eee6bf3c'
...
* commit '15a24614aef5836af3cd2c7cc3b2b737eee6bf3c':
build: Add vc1dsp component for more fine-grained dependencies
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 18:21:38 +00:00
Derek Buitenhuis
2814f06abf
Merge commit 'f9fbd474676e903e12efe83203697d60a9d28cf9'
...
* commit 'f9fbd474676e903e12efe83203697d60a9d28cf9':
msmpeg4data: Move WMV2 data tables to their own file
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 18:15:14 +00:00
Derek Buitenhuis
133aa68601
Merge commit '79866803ffc4c1a1b02663de9bab216b8cfdb8b4'
...
* commit '79866803ffc4c1a1b02663de9bab216b8cfdb8b4':
msmpeg4data: K&R formatting cosmetics
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 18:13:25 +00:00
Derek Buitenhuis
745d0c0300
Merge commit '624e235502c5aa2d17e22dd6c0ccdf080a177310'
...
* commit '624e235502c5aa2d17e22dd6c0ccdf080a177310':
build: Introduce iso_media component
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:53:30 +00:00
Derek Buitenhuis
34e4c588c8
Merge commit '82454c3a826bc8aa42474097784b70befd5be532'
...
* commit '82454c3a826bc8aa42474097784b70befd5be532':
build: Let the WTV demuxer select the MPEG-TS demuxer
build: Adjust mpeg4video parser dependencies
build: Fix mpegvideo component dependencies
build: Fix dependencies for components relying on H.263 data tables
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:46:10 +00:00
Derek Buitenhuis
3c5a040ad9
Merge commit 'e453129321778886813dcecf73c8b42f8352ca0e'
...
* commit 'e453129321778886813dcecf73c8b42f8352ca0e':
build: Add missing dependencies for eatqi decoder
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:39:04 +00:00
Derek Buitenhuis
aaa3d62272
Merge commit '3d8025d602045cbd2894e5182d9243c2e864c8c8'
...
* commit '3d8025d602045cbd2894e5182d9243c2e864c8c8':
profiles: Add missing #endif comment
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:36:30 +00:00
Derek Buitenhuis
5eb4073781
Merge commit '6b96d2dcdaa60d7919d710432c6ca204b7fab0ab'
...
* commit '6b96d2dcdaa60d7919d710432c6ca204b7fab0ab':
cosmetics: Drop particularly redundant silly comments
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:35:47 +00:00
Derek Buitenhuis
1a12eb4a73
Merge commit '29c2d06d67724e994980045afa055c6c34611b30'
...
* commit '29c2d06d67724e994980045afa055c6c34611b30':
cosmetics: Drop empty comment lines
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:31:44 +00:00
Derek Buitenhuis
0d4c0240af
Merge commit '9c0bc1e980a99106d6749ec632f166b87275871e'
...
* commit '9c0bc1e980a99106d6749ec632f166b87275871e':
qsv: add a missing #include
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:22:43 +00:00
Derek Buitenhuis
2cfb34a4e8
Merge commit '47570dbde8b33001d5ccac44e7ebaaeecbcb807c'
...
* commit '47570dbde8b33001d5ccac44e7ebaaeecbcb807c':
fft: ppc: Place ff_fft_calc_interleave_altivec() under correct ifdefs
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:18:27 +00:00
Derek Buitenhuis
7e49cdd129
Merge commit '7b3214d0050613bd347a2e41c9f78ffb766da25e'
...
* commit '7b3214d0050613bd347a2e41c9f78ffb766da25e':
lavc: add a field for passing AVHWFramesContext to encoders
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:05:11 +00:00
Michael Niedermayer
10fa50c156
avcodec/mpeg12dec: Fix missing slice handling without padding
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-24 03:22:31 +01:00
Kieran Kunhya
4170a44bbc
Add GBRAP12 pixel format
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-24 03:22:31 +01:00
Ganesh Ajjanagadde
e86444b19d
lavc/utvideodec: prevent possible signed overflow
...
Doing slice_end - slice_start is unsafe and can lead to undefined behavior
until slice_end has been properly sanitized.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
2016-02-23 20:37:11 -05:00
Stefano Sabatini
14f7a3d55a
lavc/lavf: transmit stream_id information for mpegts KLV data packets
...
This allows to copy information related to the stream ID from the demuxer
to the muxer, thus allowing for example to retain information related to
synchronous and asynchronous KLV data packets. This information is used
in the muxer when remuxing to distinguish the two kind of packets (if the
information is lacking, data packets are considered synchronous).
The fate reference changes are due to the use of
av_packet_merge_side_data(), which increases the size of the output
packet size, since side data is merged into the packet data.
2016-02-23 18:44:12 +01:00
James Zern
7586b3adf2
libvpxenc: quiet unused-variable warning
...
with older versions of libvpx
since:
432be63
lavc/libvpx: Fix support for RGB colorspace.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: James Zern <jzern@google.com>
2016-02-22 20:23:31 -08:00
James Almer
45d3af9059
x86/dcadec: add ff_lfe_fir1_float_{sse3,avx}
...
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-02-22 21:21:34 -03:00
Rostislav Pehlivanov
1387f3a051
vc2enc: set quantization ceiling to 50
...
The reference encoder limits it to 64, but testing revealed that there
is absolutely no difference for indices above 50 in amount of zeroed
coefficients.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-22 17:25:13 +00:00
Mats Peterson
cf85a20d92
lavc/rawdec: Align AV_PIX_FMT_RGB24 correctly
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-22 00:44:42 +01:00
James Almer
778439b69a
avcodec/webp: move exif_metadata outside of WebPContext
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-02-21 14:31:19 -03:00
Rostislav Pehlivanov
dc0481f2fb
vc2enc: use LAVC_INDENT instead of FFMPEG_VERSION for encoder comment
...
Prevents from having to recompile vc2enc on every single commit.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-21 16:39:54 +00:00
Mats Peterson
100167451a
lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-21 03:53:38 +01:00
Rostislav Pehlivanov
029c069c6d
vc2enc: add support for Haar wavelet transforms
...
This commit adds support for the (simple, allowed in the spec, but
inferior in quality) Haar wavelet transforms.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-20 13:49:44 +00:00
Marton Balint
6c905dd3c2
avcodec/libzvbi-teletextdec: use common functions for matching data_unit_id and data_identifier
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-02-19 21:50:19 +01:00
Marton Balint
51afd9f4e1
avformat/dvbtxt: add raw demuxer for dvb teletext probing
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-02-19 21:50:16 +01:00
Carl Eugen Hoyos
73781741b7
lavc/libvpx: Reindent after last commit.
2016-02-19 21:11:56 +01:00
Carl Eugen Hoyos
432be6362c
lavc/libvpx: Fix support for RGB colorspace.
...
Reported and tested by Nicolas George.
Fixes ticket #5249 .
2016-02-19 21:06:26 +01:00
Carl Eugen Hoyos
84d7933e3b
lavc/libvpx: Fix high-bitdepth pix_fmts on big endian.
2016-02-19 21:02:42 +01:00
Diego Biurrun
d24bd96bdd
build: Disentangle VC-1 decoder and parser
2016-02-19 20:38:18 +01:00
Diego Biurrun
15a24614ae
build: Add vc1dsp component for more fine-grained dependencies
2016-02-19 20:38:18 +01:00
Diego Biurrun
f9fbd47467
msmpeg4data: Move WMV2 data tables to their own file
2016-02-19 20:38:18 +01:00
Diego Biurrun
79866803ff
msmpeg4data: K&R formatting cosmetics
2016-02-19 20:38:17 +01:00
Paul B Mahol
4956dc88d1
avcodec/cdxl: add support for raw videos with chunky format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-19 10:45:54 +01:00
Michael Niedermayer
98a0053d0f
avcodec/h264: Execute error concealment before marking the frame as done.
...
Fixes race condition causing artifacts
Fixes Ticket4122
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-19 01:31:16 +01:00
Diego Biurrun
624e235502
build: Introduce iso_media component
2016-02-18 15:35:46 +01:00