Michael Niedermayer
3f6aae377a
avcodec/mpegvideo: Fix edge emu buffer overlap with interlaced mpeg4
...
Fixes Ticket5936
Regression since c5fc8ae126
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 85407c7e63 )
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-17 12:47:40 +01:00
Michael Niedermayer
660229d647
Revert "Bump minor versions after 3.2 branchpoint to seperate release"
...
this should only have been on master
This reverts commit 1609935b6c .
2016-10-26 21:22:12 +02:00
Michael Niedermayer
1609935b6c
Bump minor versions after 3.2 branchpoint to seperate release
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-26 20:52:42 +02:00
Michael Niedermayer
3f3025205f
Bump minor versions for 3.2
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-26 20:52:42 +02:00
Matthieu Bouron
f62c54456d
lavc: add mpeg4 mediacodec decoder
2016-10-19 10:50:52 +02:00
Matthieu Bouron
0f7fce87ea
lavc: add vp8/vp9 mediacodec decoders
2016-10-19 10:50:12 +02:00
Timo Rothenpieler
30c5587503
avcodec/nvenc: add support for forcing intra/idr frames
2016-10-12 20:51:43 +02:00
Steve Lhomme
9b462a0b9d
avcodec/d3d11va: use the proper slice index
...
The slice index expected by D3D11VA is the one from the texture not from the
array or texture/slices.
In VLC the slices we provide the decoder don't start from 0 and thus pictures
appear in bogus order. With possible crashes and corruptions when using an
invalid index.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-10 16:05:14 +02:00
Hendrik Leppkes
3f9137c57d
Merge commit ' 32c8359093'
...
* commit '32c8359093 ':
lavc: export the timestamps when decoding in AVFrame.pts
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-10-07 13:03:36 +02:00
Timo Rothenpieler
ba0e516533
avcodec/cuvid: make use of new av_hwdevice_ctx_create api
2016-09-29 22:58:34 +02:00
Sasi Inguva
7e0235bdb1
lavc/utils.c: Subtract skip_samples when frame is DISCARDed.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-29 02:25:41 +02:00
James Almer
32c25f06b7
Merge commit ' e85f6f7f8d'
...
* commit 'e85f6f7f8d ':
lavc: allow using AVCodecContext.hw_frames_ctx for decoding
Conflicts:
doc/APIchanges
libavcodec/version.h
Merged-by: James Almer <jamrial@gmail.com>
2016-09-28 13:22:00 -03:00
James Almer
6e76c9c450
Merge commit ' a816432337'
...
* commit 'a816432337 ':
pixdesc: Add new SMPTE 431, 432, and 2085 color properties
Conflicts:
libavcodec/options_table.h
libavcodec/version.h
libavutil/pixdesc.c
libavutil/pixfmt.h
libavutil/version.h
Merged-by: James Almer <jamrial@gmail.com>
2016-09-28 13:12:18 -03:00
James Almer
f013ba475b
Merge commit ' 5d560d38de'
...
* commit '5d560d38de ':
pixfmt: Add ARIB STD-B76 color transfer characteristic
See 785038c92c
Conflicts:
libavcodec/options_table.h
libavcodec/version.h
libavutil/pixdesc.c
libavutil/version.h
Merged-by: James Almer <jamrial@gmail.com>
2016-09-28 13:09:26 -03:00
Carl Eugen Hoyos
83bf40f3cf
lavc/8bps: Fix 32bit output of 24bit video.
...
Regression since / partial revert of ba3bb53b
2016-09-28 17:49:39 +02:00
Yogender Gupta
facc19ef06
avcodec/nvenc: Extended rate-control support as provided by SDK 7
...
Merged from libav commit by Yogender Gupta:
https://git.libav.org/?p=libav.git;a=commitdiff;h=70de2ea4261f860457a04e3d0c58c5543f403325
2016-09-28 16:48:43 +02:00
Timo Rothenpieler
30d3e36a46
avcodec: add new AVOID_PROBING capability
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-23 11:15:08 +02:00
Carl Eugen Hoyos
11777eb814
lavc/rscc: Support pal8 in rscc.
...
Fixes the colours of the sample for ticket #5611 .
2016-09-19 23:26:06 +02:00
Rostislav Pehlivanov
38c3fc9404
lavc: bump minor (after adding TrueHD and MLP encoders)
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-09-17 15:36:13 +01:00
Matthieu Bouron
140da8e810
lavc: add hevc mediacodec decoder
2016-09-15 21:48:28 +02:00
Philip Langdale
86910b15c9
cuvid: Implement flush to support seeking in media players
...
Right now, if we attempt to use cuvid in a media player and then
try to seek, the decoder will happily pass out whatever frames were
already in flight before the seek.
There is both the output queue in our code and some number of frames
within the cuvid decoder that need to be accounted for.
cuvid doesn't support flush, so our only choice is to do a brute-force
re-creation of the decoder, which also implies re-creating the parser,
but this is fine.
The only subtlty is that there is sanity check code in decoder
initialisation that wants to make sure the HWContextFrame hasn't already
been initialised. This is a fair check to do at the beginning but not
after a flush, so it has to be made conditional.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-09-06 21:52:05 +02:00
Philip Langdale
1891dfe013
cuvid: Add hwaccels and decoders for remaining supported formats
...
cuvid/nvdecode also supports mpeg1, mpeg2, h.263/mpeg4-asp and mjpeg.
It should, in theory, also support wmv3 via the vc1 support, given
that vdpau supports this. However, it failed to play wmv3 samples
which vdpau played correctly, so I'm not sure what to make of it.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-09-06 21:35:42 +02:00
Carl Eugen Hoyos
e82b181f80
lavc/mjpegdec: Only read JFIF thumbnail size if the segment is long enough.
...
Fixes ticket #5805 .
2016-09-03 14:21:46 +02:00
Oliver Collyer
d1bf8a3aa8
avcodec/nvenc: added support for 10 bit HEVC encoding
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-08-28 16:47:54 +02:00
Paul B Mahol
fc600eff63
avcodec: add 64-bit signed pcm codec
2016-08-18 15:30:05 +02:00
Jon Toohill
c3c4c72665
lavc: add trailing_padding to AVCodecContext to match AVCodecParameters.
...
Shows encoder delay/padding in the stream summary if they are set.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-16 12:30:37 +02:00
Jan Sebechlebsky
b746ed70ef
avcodec/bsf: Add list BSF API
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-15 14:03:46 +02:00
Carl Eugen Hoyos
ceab04fb5d
lavc/raw: Support QT b64a ARGB64 rawvideo.
...
Decoder based on a patch by v0lt, v0lt rambler ru
Fixes ticket #5657 .
2016-08-13 01:44:52 +02:00
Carl Eugen Hoyos
bc70312654
lavc/screenpresso: Fix 32bit pix_fmt, there is no transparency.
...
Fixes a remaining issue of ticket #5025 .
2016-08-13 01:35:10 +02:00
Martin Storsjö
c5d326f551
Add an OpenH264 decoder wrapper
...
This is cherrypicked from libav, from commits
82b7525173 and
d0b1e6049b .
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-27 10:19:40 +03:00
Clément Bœsch
775389fc59
Merge commit ' 90f469aa2b'
...
* commit '90f469aa2b ':
lavc: add H.264 MVC profiles
Merged-by: Clément Bœsch <u@pkh.me>
2016-07-09 14:01:28 +02:00
Matthieu Bouron
0f2654c9a3
lavc: add mediacodec hwaccel support
2016-07-08 17:02:37 +02:00
Carl Eugen Hoyos
3e4357eb82
lavc/libx265: Support gray encoding.
...
Gray encoding crashes with libx265 <= 84, so check the library version.
2016-07-06 18:56:19 +02:00
Carl Eugen Hoyos
420ba222c6
lavc/mjpeg_parser: Allow jpegls parsing.
...
Fixes ticket #5691 .
2016-07-05 23:48:22 +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
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
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
Timo Rothenpieler
888a5c7947
avcodec/nvenc: Bring encoder names in line with other encoders
2016-06-25 23:05:17 +02:00
Anton Khirnov
32c8359093
lavc: export the timestamps when decoding in AVFrame.pts
...
Currently it's exported as AVFrame.pkt_pts, which is also the only use
for that field. The reason it is done like this is that lavc used to
export various codec-specific "timing" information in AVFrame.pts, which
is not done anymore.
Since it is confusing to the callers to have a separate field which is
used only for decoder timestamps and nothing else, deprecate pkt_pts and
use just AVFrame.pts everywhere.
2016-06-21 19:54:42 +02:00
Anton Khirnov
e85f6f7f8d
lavc: allow using AVCodecContext.hw_frames_ctx for decoding
...
For now it will only be used by the default get_buffer2 callback for
allocating hw frames.
2016-06-21 19:52:17 +02:00
Vittorio Giovara
a816432337
pixdesc: Add new SMPTE 431, 432, and 2085 color properties
...
Appeared in H.264 2016/02.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-06-21 09:29:04 -04:00
Neil Birkbeck
5d560d38de
pixfmt: Add ARIB STD-B76 color transfer characteristic
...
Adding hybrid log-gamma (https://en.wikipedia.org/wiki/Hybrid_Log-Gamma )
based on the standardization in ARIB STD-B67:
http://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf
The choice of enum value of 18 is consistent with HEVC:
http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=10481
And also with latest proposal for color format in mkv:
https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&q=Colour+Format+proposal
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-06-21 09:02:46 -04:00
Paul B Mahol
470cd0c5fe
Add TrueMotion 2.0 Real Time decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-06-20 15:48:12 -04:00
Paul B Mahol
d78fd2fa21
Add MagicYUV decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-06-20 15:45:51 -04:00
Anton Khirnov
90f469aa2b
lavc: add H.264 MVC profiles
2016-06-12 20:27:53 +02:00
Timo Rothenpieler
88e8aef9e9
avcodec/cuvid: add cuvid decoder
2016-06-10 16:31:23 +02:00
Paul B Mahol
fdf832a986
avcodec: add BitJazz SheerVideo decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-06-07 21:38:49 +02:00
Michael Niedermayer
134cba728b
Seperate x264rgb encoder and only enable when its actually supported
...
This avoids enabling and building the x264rgb encoder when its actually not supported and
thus would not work
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-05 17:04:29 +02:00
Paul B Mahol
77f9c4b7aa
avocdec: add MagicYUV decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-31 22:37:09 +02:00