summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* | lavc: Allow 64 channels internally.Carl Eugen Hoyos2015-07-17
| |
* | Refactoring to move common QSV-related code part into libavcodec/qsvdec.cIvan Uskov2015-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/snappy: refactor so ff_snappy_uncompress uses an existing bufferTom Butterworth2015-07-16
| | | | | | | | | | | | Some uses of Snappy require uncompressing to positions within an existing buffer. Also adds a function to get the uncompressed length of Snappy data. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hap: move some per-stream setup into decoder init rather than per-frameTom Butterworth2015-07-16
| | | | | | | | | | | | This change will reject frames with a texture type which doesn't match the stream description. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 MC functionsShivraj Patil2015-07-16
| | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for VP9 MC functions in new file vp9_mc_msa.c Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: loongson optimized idctdsp with mmi周晓勇2015-07-16
| | | | | | | | | | Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: loongson add constant definition周晓勇2015-07-16
| | | | | | | | | | Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/pthread_frame: clear priv_data, avoid stale pointer in error caseMichael Niedermayer2015-07-16
| | | | | | | | | | | | | | Fixes: b4b47bc2b3fb7ca710bfffe5aa969e37_signal_sigabrt_7ffff70eccc9_744_nc_sample2.avi with memlimit of 4194304 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc: Add properties field to AVCodecContext.Carl Eugen Hoyos2015-07-16
| | | | | | | | The new field can hold information about losslessness and closed captions for now.
* | Merge commit 'c88c5eef53ff1619724ba47b722da64ec0593dab'Michael Niedermayer2015-07-15
|\| | | | | | | | | | | | | | | | | | | * commit 'c88c5eef53ff1619724ba47b722da64ec0593dab': hevc: Split the struct setup from the pps parsing Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc: Split the struct setup from the pps parsingLuca Barbato2015-07-15
| |
* | avcodec/mpeg4videodec: Clarify the mpeg4_unpack_bframes reference.Michael Niedermayer2015-07-15
| | | | | | | | | | | | This should avoid misunderstandings like in Ticket4618 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mips/mpegvideo_mmi: Use av_assert2()Michael Niedermayer2015-07-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: loongson optimized mpegvideo dct unquantize with mmiZhouXiaoyong2015-07-15
| | | | | | | | | | Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: loongson optimized h264pred with mmi周晓勇2015-07-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mjpegdec: Fix DC overflow in decode_block()Michael Niedermayer2015-07-15
| | | | | | | | | | | | Fixes Ticket4683 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mpeg12dec: Fix decoding of faulty interlaced mpeg2Michael Niedermayer2015-07-15
| | | | | | | | | | | | Fixes Ticket4721 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/nvenc: Fix build with older gcc versionsTimo Rothenpieler2015-07-14
| | | | | | | | | | Aparently anonymous structs weren't always supported, not even sure if they are standard conformant.
* | avcodec: add libkvazaar HECV encoderArttu Ylä-Outinen2015-07-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/qsv.c: Issue fixed: QSV engine does not release display handler ↵Ivan Uskov2015-07-14
| | | | | | | | | | | | | | under linux platform. Reviewed-by: Gwenole Beauchesne <gb.devel@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '32c8d89c036b0e75ece74aea638df587099def0b'Michael Niedermayer2015-07-14
|\| | | | | | | | | | | | | | | | | | | * commit '32c8d89c036b0e75ece74aea638df587099def0b': hevc: Print the non-supported chroma_format_idc Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc: Print the non-supported chroma_format_idcLuca Barbato2015-07-13
| | | | | | | | | | | | And drop the spurious newline. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '8e373fe048812a25b238ea60a7052b8c07639a42'Michael Niedermayer2015-07-14
|\| | | | | | | | | | | | | | | | | | | * commit '8e373fe048812a25b238ea60a7052b8c07639a42': hevc: Factor out the pixel format mapping from the sps parser Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc: Factor out the pixel format mapping from the sps parserLuca Barbato2015-07-13
| | | | | | | | | | | | The function will grow larger as more formats are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * dxva2_hevc: unbreak compilation after recent sps/pps changesJames Almer2015-07-13
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/mpegvideo: Fix null pointer dereference of picture arrayMichael Niedermayer2015-07-14
| | | | | | | | | | | | | | Fixes: 0d0a2bace067d09c08f0fa5340496c23_signal_sigsegv_7ffff713351a_342_WobblyWindowsIntro.avi with memlimit of 67108864 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc_parser: Fix memleaks in parser mixMichael Niedermayer2015-07-13
| | | | | | | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/pthread_frame: check avctx on deallocationMichael Niedermayer2015-07-13
| | | | | | | | | | | | | | | | Fixes null pointer dereferences Fixes: af1a5a33e67e479f439239097bd0d4fd_signal_sigsegv_7ffff713351a_152_Dolby_Rain_Logo.pmp with memlimit of 8388608 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc_parser: use the old parser only when hevc decoder is availableJames Almer2015-07-13
| | | | | | | | | | | | | | If it's not, then the new dependence-free parser will be used instead Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mpegvideo: Check for NULL in ff_mpv_common_end()Michael Niedermayer2015-07-13
| | | | | | | | | | | | | | Fixes: af94b3a3d26586c08f557cafe8246251_signal_sigsegv_7ffff713351a_343_XFMode.ASF with 1048576 alloc limit Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/vp3: check current_frame before accessing itMichael Niedermayer2015-07-13
| | | | | | | | | | | | | | | | Fixes null pointer dereference Fixes: b15eb06e0111e94bc59123c86db7aff9_signal_sigsegv_a0500f_45_320vp3.nsv with allocation limit 536870912 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'a062a55d37720abc8c704aa0e8682efd3cdc9c9b'Michael Niedermayer2015-07-13
|\| | | | | | | | | | | | | | | | | | | | | * commit 'a062a55d37720abc8c704aa0e8682efd3cdc9c9b': hevc_parser: fix standalone build with the hevc decoder disabled Conflicts: libavcodec/Makefile libavcodec/hevc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc_parser: fix standalone build with the hevc decoder disabledAnton Khirnov2015-07-13
| | | | | | | | | | | | The parser depends on hevc_ps, which in turn needs some data tables. Found-by: James Almer <jamrial@gmail.com>
| * hevc_ps: make sure failing to decode an SPS always returns an errorAnton Khirnov2015-07-13
| | | | | | | | | | Some of the goto err clauses do not set the error code. It seems better to fall back on INVALIDDATA instead of adding it everywhere explicitly.
* | Merge commit '077b55943330150db0eafd36bbee614697cabd98'Michael Niedermayer2015-07-13
|\| | | | | | | | | | | | | * commit '077b55943330150db0eafd36bbee614697cabd98': hevc: handle a NULL sps in set_sps() properly Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc: handle a NULL sps in set_sps() properlyAnton Khirnov2015-07-12
| | | | | | | | | | This can happen in update_thread_context(), when the previous frame was corrupted.
* | Merge commit '18156b53f9b642b71c182c5c9818175a61572d2b'Michael Niedermayer2015-07-13
|\| | | | | | | | | | | | | * commit '18156b53f9b642b71c182c5c9818175a61572d2b': hevc: do not pass an entire HEVCContext into export_stream_params() Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc: do not pass an entire HEVCContext into export_stream_params()Anton Khirnov2015-07-12
| | | | | | | | It only needs the parameter sets.
* | avcodec/sanm: Reset sizes in destroy_buffers()Michael Niedermayer2015-07-13
| | | | | | | | | | | | | | Fixes crash in 1288a2fe8e9ae6b00ca40e089d08ca65_signal_sigsegv_7ffff71426a7_354_accident.san with allocation limit 65536 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/alac: Clear pointers in allocate_buffers()Michael Niedermayer2015-07-13
| | | | | | | | | | | | | | Fixes: 06a4edb39ad8a9883175f9bd428334a2_signal_sigsegv_7ffff713351a_706_mov__alac__ALAC_6ch.mov Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dxva2_hevc: unbreak compilation after recent sps/pps changesJames Almer2015-07-13
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/vdpau_hevc: unbreak compilation after sps/pps changesPhilip Langdale2015-07-12
| | | | | | | | | | There was some reorganisation in the HEVC headers so the sps and pps now live in a different place.
* | avcodec/utils: Check that the sample rate is not negative when opening an ↵Michael Niedermayer2015-07-13
| | | | | | | | | | | | encoder Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Factor duplicated ff_fast_malloc() out into mem_internal.hMichael Niedermayer2015-07-13
| | | | | | | | | | | | | | | | internal.h is difficult to use due to circular dependancies mem.h is a public header ff_* is not public Alternative solutions probably are possible too Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc_parser: Reenable the old parser under ADVANCED_PARSER defineMichael Niedermayer2015-07-13
| | | | | | | | | | | | | | Feel free to use either, they both work but the old one provides more information but needs the hevc decoder Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '650060dfb665552442ec11b456660e3e9a9d9016'Michael Niedermayer2015-07-13
|\| | | | | | | | | | | | | | | | | | | | | * commit '650060dfb665552442ec11b456660e3e9a9d9016': hevc_parser: parse and export some stream parameters Conflicts: configure libavcodec/hevc_parser.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc_parser: parse and export some stream parametersAnton Khirnov2015-07-12
| | | | | | | | | | Particularly those that will be needed by the QSV decoder. More can be added later as necessary.
* | avcodec/hevc: Simplify skipped_bytes_pos code furtherMichael Niedermayer2015-07-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc: Move skipped_bytes_pos_nal to HEVCNAL, simplify codeMichael Niedermayer2015-07-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc: Move skipped_bytes_pos_size_nal into HAVCNALMichael Niedermayer2015-07-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>