Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-22avcodec/hevcdec: remove unneeded codeSteven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-12-01avcodec/hevcdec: Check for overlapping slicesMichael Niedermayer
Fixes: Timeout Fixes: 10108/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-6222384351674368 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-11-10avcodec/hevcdec: fix non-ref frame judgementMark Wu
After inspecting the source code of x265, mpv and ffmpeg, I've found that ffmpeg mistakenly regards EVC_NAL_BLA_N_LP and HEVC_NAL_IDR_N_LP as non- reference frames, which are acutally reference frames according to the specification in x265, and drops them. This patch should address the problem. I have tested it with mpv. Signed-off-by: Mark Wu <wfwf1997@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2018-05-10avcodec/hevcdec: make ff_hevc_frame_nb_refs take a const pointerTimo Rothenpieler
2017-12-08libavcodec/hevc_filter: move AVDISCARD_NONREF switch-case into functionsfan5
In preparation for implementation of skip_frame. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-31Merge commit 'c3f0357bdf7d3c542aad2c58b94184b9f56edc41'James Almer
* commit 'c3f0357bdf7d3c542aad2c58b94184b9f56edc41': hevcdec: move the MD5 context out of HEVCSEIPictureHash back into HEVCContext Merged-by: James Almer <jamrial@gmail.com>
2017-10-31avcodec/hevc_sei: rename HEVCSEIContext to HEVCSEIJames Almer
Cosmetic change skipped in 0b30cb8dae5e7edb2a5f35900547321499c217f1 by mistake. Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-22hevc: Fix aligned array declarationsMark Thompson
(cherry picked from commit d41e10c1485ec34aa342f7bc2e5bf4f9b6e66414)
2017-06-24avcodec/hevcdec: check ff_init_cabac_decoder() for failureMichael Niedermayer
Fixes: runtime error: left shift of 1965559808 by 4 places cannot be represented in type 'int' Fixes: 2333/clusterfuzz-testcase-minimized-5223935677300736 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-26avcodec/hevcdec: export cropping information instead of handling it internallyJames Almer
This merges commit a02ae1c6837a54ed9e7735da2b1f789b2f4b6e13 from libav, originally written by Anton Khirnov and skipped in fc63d5ceb357c4b760cb02772de0b50d0557140f. libavcodec/hevc_parser.c | 6 ++++-- libavcodec/hevc_ps.c | 31 ++++++++++++------------------- libavcodec/hevc_ps.h | 2 -- libavcodec/hevc_refs.c | 18 +++++------------- libavcodec/hevcdec.c | 7 ++++--- libavcodec/hevcdec.h | 2 -- 6 files changed, 25 insertions(+), 41 deletions(-) Signed-off-by: James Almer <jamrial@gmail.com>
2017-05-20hevcdec: move the MD5 context out of HEVCSEIPictureHash back into HEVCContextAnton Khirnov
HEVCSEIPictureHash should store only the information extracted from the bitstream and exported to the higher layer (the decoder or the parser). The MD5 context is allocated, used and freed by this higher layer, so it makes more sense for it to also be stored there.
2017-05-09hevcdec: move SEI message parsing into a separate headerJames Almer
It doesn't depend on hevcdec anymore. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-05-09hevcdec: remove HEVCContext usage from hevc_seiJames Almer
Based on the H264 SEI implementation. This will be mainly useful once support for SEI messages that can be used by the hevc parser are implemented, like Picture Timing. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-05-05avcodec/hevcdec: move SliceHeader struct definition to hevc_psJames Almer
This is in preparation for a following patch. Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Reviewed-by: Aaron Levinson <alevinsn@aracnet.com> Signed-off-by: James Almer <jamrial@gmail.com>
2017-05-05avcodec/hevcdec: remove HEVCContext usage from ff_hevc_compute_poc()James Almer
Move it to hevc_ps as well. This is in preparation for a following patch. Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Reviewed-by: Aaron Levinson <alevinsn@aracnet.com> Signed-off-by: James Almer <jamrial@gmail.com>
2017-05-05avcodec/hevcdec: move SEI message parsing into a separate headerJames Almer
It doesn't depend on hevcdec anymore. Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Reviewed-by: Aaron Levinson <alevinsn@aracnet.com> Signed-off-by: James Almer <jamrial@gmail.com>
2017-05-05avcodec/hevcdec: remove HEVCContext usage from hevc_seiJames Almer
Based on the H264 SEI implementation. Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Reviewed-by: Aaron Levinson <alevinsn@aracnet.com> Signed-off-by: James Almer <jamrial@gmail.com>
2017-04-09avcodec/hevcdec: remove duplicate extradata parsing functionJames Almer
Use ff_hevc_decode_extradata() instead, which correctly only tries to decode parameter set NAL units and not any other NAL that may be present in extradata. Reviewed-by: nevcairiel Signed-off-by: James Almer <jamrial@gmail.com>
2017-04-06lavc: Add Content Light Level side metadata found in HEVCSteve Lhomme
These data are necessary when transmitting HDR over HDMI. Signed-off-by: James Almer <jamrial@gmail.com>
2017-03-24Merge commit '0bfdcce4d42a6e654c00ea5f9237dc987626457f'James Almer
* commit '0bfdcce4d42a6e654c00ea5f9237dc987626457f': hevc: move the SliceType enum to hevc.h Merged-by: James Almer <jamrial@gmail.com>
2017-03-23Merge commit 'f6e2f8a9ffda2247bffba991450990d075ea68e3'James Almer
* commit 'f6e2f8a9ffda2247bffba991450990d075ea68e3': hevcdec: move parameter set parsing into a separate header Merged-by: James Almer <jamrial@gmail.com>
2017-03-23Merge commit '150c896a9e46b23b97debb0a5f66fbaeaa32f153'James Almer
* commit '150c896a9e46b23b97debb0a5f66fbaeaa32f153': hevcdec: split ff_hevc_diag_scan* declarations into a separate header Merged-by: James Almer <jamrial@gmail.com>
2017-03-23Merge commit 'c359d624d3efc3fd1d83210d78c4152bd329b765'James Almer
* commit 'c359d624d3efc3fd1d83210d78c4152bd329b765': hevcdec: move decoder-independent declarations into a separate header Merged-by: James Almer <jamrial@gmail.com>
2017-03-23Merge commit '4abe3b049d987420eb891f74a35af2cebbf52144'Clément Bœsch
* commit '4abe3b049d987420eb891f74a35af2cebbf52144': hevc: rename hevc.[ch] to hevcdec.[ch] Merged-by: Clément Bœsch <u@pkh.me>
2017-01-12hevcdec: export cropping information instead of handling it internallyAnton Khirnov
2016-10-21hevc: move the SliceType enum to hevc.hAnton Khirnov
Those values are decoder-independent and are also use by the VA-API encoder.
2016-10-16hevcdec: move parameter set parsing into a separate headerAnton Khirnov
This code is independent from the decoder, so it makes more sense for it to to have its own header.
2016-10-16hevcdec: split ff_hevc_diag_scan* declarations into a separate headerAnton Khirnov
This will be useful in the following commits.
2016-10-16hevcdec: drop the prototype of a non-existing functionAnton Khirnov
2016-10-16hevcdec: move decoder-independent declarations into a separate headerAnton Khirnov
This way they can be reused by other code without including the whole decoder-specific hevcdec.h Also, add the HEVC_ prefix to them, since similarly named values exist for H.264 as well and are sometimes used in the same code.
2016-10-16hevc: rename hevc.[ch] to hevcdec.[ch]Anton Khirnov
This is more consistent with the rest of libav and frees up the hevc.h name for decoder-independent shared declarations.