Sasi Inguva
7c01fa962e
libx264: Increase x264 opts character limit to 4096
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 282477bf45 )
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-01 17:29:14 +02:00
Michael Niedermayer
e4eab67a0a
avcodec/h264_parser: Set sps/pps_ref
...
Fixes use of freed memory
Should fix valgrind failures of fate-h264-skip-nointra
Found-by: logan
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit febc862b53 )
Conflicts:
libavcodec/h264_parser.c
2016-08-01 17:29:14 +02:00
Carl Eugen Hoyos
2e1be22715
lavc/Makefile: Fix standalone compilation of the svq3 decoder.
...
Regression since 0bf5fd2e
(cherry picked from commit 71167f7f84 )
2016-07-24 23:56:39 +02:00
Matthieu Bouron
1410732621
lavc/mediacodecdec_h264: properly convert extradata to annex-b
...
H264ParamSets has its SPS/PPS stored raw (SODB) and needs to be
converted to NAL units before sending them to MediaCodec.
This patch adds the missing convertion of the SPS/PPS from SOBP to RBSP
which makes the resulting NAL units correct.
Fixes codec initialization on Nexus 4 and Nexus 7.
(cherry picked from commit 88d9c30cf5 )
2016-07-11 15:32:30 +02:00
Martin Vignali
37c83b5373
libavcodec/exr : fix decoding piz float file.
...
fix ticket #5674
the size of data to process in piz_uncompress, is now calc
using the pixel type of each channel.
the data reorganization, alos take care about the size of
each channel
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d9e1e08133 )
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-30 17:57:59 +02:00
Matthieu Bouron
8fd5669077
lavc/mediacodecdec_h264: add missing NAL headers to SPS/PPS buffers
...
Fixes a regression introduced by 0cd5e281df .
(cherry picked from commit db0af7250a )
2016-06-29 11:00:42 +02:00
Clément Bœsch
25f0ea9ece
lavc/pnm_parser: disable parsing for text based PNMs
...
P1, P2, and P3 are respectively the text versions of PBM, PGM and PPM
files.
We can not obtain the buffer size using av_imgage_get_buffer_size() as
every pixel in the picture will occupy a random size between 16 and 32
bits ("4 " and "231 " are such example).
Ideally, we could look for the next header (or EOF) in the bytestream,
but this commit is meant to fix a decoding regression introduced by
48ac4532d4 .
Fix Ticket #5670
(cherry picked from commit c5566f0a94 )
2016-06-29 11:00:34 +02:00
Michael Niedermayer
e9394ca63d
avcodec/libopenjpegenc: Set numresolutions by default to a value that is not too large
...
Fixes issues with libopenjpeg 2.1
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-26 18:08:04 +02:00
Hendrik Leppkes
c142dc203e
Merge commit ' dc40a70c57'
...
* commit 'dc40a70c57 ':
Drop unnecessary libavutil/x86/asm.h #includes
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 15:53:00 +02:00
Hendrik Leppkes
f2a3798ea4
Merge commit ' a86aa16088'
...
* commit 'a86aa16088 ':
vaapi_h264: Add trivial support for low-power encoding
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 15:44:43 +02:00
Hendrik Leppkes
d3327b7eda
Merge commit ' b51c7c6b8a'
...
* commit 'b51c7c6b8a ':
vaapi_h264: Fix frame_num after non-reference frames
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 15:44:35 +02:00
Hendrik Leppkes
18b1b8be6a
Merge commit ' 2bfa067d0b'
...
* commit '2bfa067d0b ':
vaapi_encode: Check config attributes before creating config
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 15:44:25 +02:00
Hendrik Leppkes
2c1d0f871f
Merge commit ' 24b5cff01b'
...
* commit '24b5cff01b ':
lavc: handle hw_frames_ctx where necessary
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 15:20:43 +02:00
Hendrik Leppkes
b20fe650ef
Merge commit ' 4024b566d6'
...
* commit '4024b566d6 ':
golomb: Give svq3_get_se_golomb()/svq3_get_ue_golomb() better names
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 15:12:48 +02:00
Hendrik Leppkes
b95534bb67
Merge commit ' e47b8bbf0b'
...
* commit 'e47b8bbf0b ':
avcodec: Bump micro version after changing public JPEG 2000 defines
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 14:49:10 +02:00
Hendrik Leppkes
46ff31d39c
Merge commit ' ad61da054b'
...
* commit 'ad61da054b ':
jpeg2000: Fix profile define values
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 14:41:05 +02:00
Hendrik Leppkes
f9a186c59b
Merge commit ' 2ef6dab0a7'
...
* commit '2ef6dab0a7 ':
lavc: document that avcodec_close() should not be used
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 14:35:10 +02:00
Hendrik Leppkes
69c38d64d7
Merge commit ' 04fc8e24a0'
...
* commit '04fc8e24a0 ':
lavc: deprecate avcodec_get_context_defaults3()
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 14:34:53 +02:00
Hendrik Leppkes
6988cf2969
Merge commit ' 5f30ac2779'
...
* commit '5f30ac2779 ':
lavc: deprecate avcodec_copy_context()
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 14:34:02 +02:00
Hendrik Leppkes
314e608631
Merge commit ' 74b1bf632f'
...
* commit '74b1bf632f ':
mp3: Make the extrasize explicit
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 14:31:53 +02:00
Hendrik Leppkes
e2836397f1
Merge commit ' 52567e8198'
...
* commit '52567e8198 ':
get_bits: Drop some TRACE-level debug code
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 14:19:48 +02:00
Paul B Mahol
8fb92ea7e2
avcodec: add YUY2 Lossless Codec decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-06-26 10:18:10 +02:00
Michael Niedermayer
9981b70da5
avcodec/h264_sei: Do not skip subsequent SEIs on errors potentially caused by missing parameter sets.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-26 00:44:47 +02:00
Timo Rothenpieler
888a5c7947
avcodec/nvenc: Bring encoder names in line with other encoders
2016-06-25 23:05:17 +02:00
Martin Storsjö
a590d344e3
omx: Don't return > 0 from omx_encode_frame
...
The encode function is supposed to just return 0 on success.
This stems from a mixup with the return value of decode functions.
Reviewed-by: Jan Gerber <j@v2v.cc>
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-06-25 21:39:17 +02:00
Aman Gupta
ee2a8f142b
avcodec/omx: fix deprecation warning for ff_alloc_packet
...
Tested-by: Jan Gerber <j@v2v.cc>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-25 18:48:59 +02:00
Martin Vignali
d96b8144c0
avcodec/exr: add missed hunks from previous exr commit
2016-06-25 18:28:06 +02:00
Martin Vignali
1e38791b7f
avcodec/exr: fix reading float channel when there is half and float channels in a file
2016-06-25 18:10:10 +02:00
Clément Bœsch
dfd0c0f981
lavc/neontest: fix constness in arm/aarch64 avcodec_open2() wrappers
2016-06-25 13:41:13 +02:00
Clément Bœsch
2ab823d4a6
Merge commit ' d68fb14758'
...
* commit 'd68fb14758 ':
mjpegdec: Properly fail on malloc failure
Merged-by: Clément Bœsch <u@pkh.me>
2016-06-25 11:42:57 +02:00
Clément Bœsch
b45348130a
Merge commit ' 0d95d88fbd'
...
* commit '0d95d88fbd ':
lavc: revert the Makefile part of 330177b
Merged-by: Clément Bœsch <u@pkh.me>
2016-06-25 10:46:08 +02:00
Jing Yu
311a953c76
avcodec/ppc: fix broken build when compiling libavcodec with LLVM on PPC backend
...
This commit fixes a broken build when compiling libavcodec with LLVM
compiler. These assembly files use non-standard format that is only
supported by GCC compiler. It would be nice to use a common standard
format. With this patch, both GCC and LLVM can build and generate the
same objects.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-25 03:48:19 +02:00
Michael Niedermayer
6935aaa748
avcodec/flac_parser: Increase FLAC_MAX_SEQUENTIAL_HEADERS by 1
...
Fixes Ticket5343
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-24 03:34:42 +02:00
Michael Niedermayer
947daffa59
avcodec/libx264: Remove unused variable
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-23 21:36:02 +02:00
Matthieu Bouron
55816c9269
lavc/mediacodec: increase buffer dequeue timeout when the codec needs to be drained
...
Increase buffer dequeue timeout when the codec needs to be drained as it
could happen that no input buffer is available when we receive a null
packet for the first time (meaning we are unable to signal end of stream
and mark the codec as draining).
Fixes potential loss of last frames after sending a null packet.
2016-06-23 14:14:15 +02:00
Matthieu Bouron
b316ebf46d
lavc/mediacodec: rely on buffer flags to detect end of stream
2016-06-23 14:14:15 +02:00
Matthieu Bouron
30e3a27119
lavc/mediacodec: re-indent after previous commit
2016-06-23 14:14:15 +02:00
Matthieu Bouron
a71d518575
lavc/mediacodec: discard 0-sized buffers
...
Their only purpose is to carry the end of stream flag.
2016-06-23 14:14:15 +02:00
Derek Buitenhuis
a02766fb4d
avcodec: remove libutvideo wrapper support
...
The 10-bit decoding support is available now in native decoder.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-06-23 13:04:11 +02:00
Paul B Mahol
dccea0ed0d
avcodec/sheervideo: fix YbYr format decoding
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-06-23 12:59:20 +02:00
Clément Bœsch
aef2d3d2b5
lavc: fix previous merge
2016-06-23 00:42:16 +02:00
Clément Bœsch
bcafc41a5a
Merge commit ' ffa190d047'
...
* commit 'ffa190d047 ':
Move VLC and RL_VLC_ELEM structure definitions to a separate header
Merged-by: Clément Bœsch <u@pkh.me>
2016-06-23 00:29:25 +02:00
Michael Niedermayer
b0b3676e13
avcodec/flac_parser: Raise threshold for detecting invalid data
...
Fixes regression from Ticket5428
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-22 21:10:36 +02:00
Clément Bœsch
6c98398b0b
lavc/get_bits: add a logging context to check_marker()
...
Based on d338abb664
2016-06-22 20:07:49 +02:00
Clément Bœsch
541e1c2c3b
Merge commit ' 31f6a4b4b8'
...
* commit '31f6a4b4b8 ':
lavc: mark the old audio/video encoding API as deprecated
Merged-by: Clément Bœsch <u@pkh.me>
2016-06-22 19:51:36 +02:00
Clément Bœsch
17fdffc9f8
Merge commit ' 8996515b13'
...
* commit '8996515b13 ':
avpacket: fix setting AVPacket.data in av_packet_ref()
This commit is a noop, see ed3a02547c
Merged-by: Clément Bœsch <u@pkh.me>
2016-06-22 19:32:00 +02:00
Clément Bœsch
d4b1b3b06c
Merge commit ' e62ff72fc1'
...
* commit 'e62ff72fc1 ':
lavc: make avcodec_open2() fail when the timebase is not set for encoding
Merged-by: Clément Bœsch <u@pkh.me>
2016-06-22 19:29:56 +02:00
Michael Niedermayer
70d48accd8
avcodec/tests/options: Set timebase
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-22 18:49:33 +02:00
Clément Bœsch
5d48e4eafa
Merge commit ' a6a750c7ef'
...
* commit 'a6a750c7ef ':
tests: Move all test programs to a subdirectory
Merged-by: Clément Bœsch <clement@stupeflix.com>
2016-06-22 13:44:34 +02:00
Clément Bœsch
5558ff3a9f
Merge commit ' 257f00ec1a'
...
* commit '257f00ec1a ':
Split global .gitignore file into per-directory files
Merged-by: Clément Bœsch <clement@stupeflix.com>
2016-06-22 11:28:51 +02:00