summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* avcodec/libaomenc: remove AVOption related to frame partitionsJames Almer2018-09-12
| | | | | | | | | Support for it was apparently never in the codebase, and the enum value was recently removed from the public headers [1] [1] https://aomedia.googlesource.com/aom/+/df4ffb73140fe31bebdabd17c1a7b53721e74838 Signed-off-by: James Almer <jamrial@gmail.com>
* libavcodec/pnm_parser: do not lose skipped parts in reporting of how much ↵Michael Niedermayer2018-09-12
| | | | | | | | | | | was consumed Fixes: Timeout Fixes: 9759/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PPM_fuzzer-5655277650051072 Fixes: 9753/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-5764378543521792 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vp8: Check bitstream input in vp7_fade_frame() before time consuming ↵Michael Niedermayer2018-09-12
| | | | | | operation Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mjpegdec: simplify rgb index remapingMichael Niedermayer2018-09-12
|
* lavc, doc, configure: add libxavs2 video encoder wrapperhwren2018-09-11
| | | | Signed-off-by: hwren <hwrenx@126.com>
* Merge commit '7e929dac100916fc45cb95e231025f3439c20156'James Almer2018-09-11
|\ | | | | | | | | | | | | * commit '7e929dac100916fc45cb95e231025f3439c20156': libfdk-aacenc: Allow enabling the ELDv2 profile Merged-by: James Almer <jamrial@gmail.com>
| * libfdk-aacenc: Allow enabling the ELDv2 profileMartin Storsjö2018-09-05
| | | | | | | | | | | | This is a new feature in FDK v2. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '2edaafe5b93832715781851dfe2663da228a05ad'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit '2edaafe5b93832715781851dfe2663da228a05ad': libfdk-aacdec: Allow setting the new dynamic range control effect setting Merged-by: James Almer <jamrial@gmail.com>
| * libfdk-aacdec: Allow setting the new dynamic range control effect settingMartin Storsjö2018-09-05
| | | | | | | | | | | | This is a new setting in FDK v2. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'ffb9b7a6bab6c6bfd3dd9a7c32e3724209824999'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit 'ffb9b7a6bab6c6bfd3dd9a7c32e3724209824999': libfdk-aac: Consistently use a proper version check macro for detecting features Merged-by: James Almer <jamrial@gmail.com>
| * libfdk-aac: Consistently use a proper version check macro for detecting featuresMartin Storsjö2018-09-05
| | | | | | | | | | | | | | | | | | | | The previous version checks checked explicitly for the version where the version define was added to the installed headers, making an "#ifdef AACDECODER_LIB_VL0" enough. Now that we have a need for more diverse version checks than this, convert all checks to such checks. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '141c960e21d2860e354f9b90df136184dd00a9a8'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit '141c960e21d2860e354f9b90df136184dd00a9a8': libfdk-aacenc: Fix building with libfdk-aac v2 Merged-by: James Almer <jamrial@gmail.com>
| * libfdk-aacenc: Fix building with libfdk-aac v2Martin Storsjö2018-09-03
| | | | | | | | | | | | | | | | | | | | When flushing the encoder, we now need to provide non-null buffer parameters for everything, even if they are unused. The encoderDelay parameter has been replaced by two, nDelay and nDelayCore. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'c8bca9fe466f810fd484e2c6db7ef7bc83b5a943'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit 'c8bca9fe466f810fd484e2c6db7ef7bc83b5a943': lavc/qsvenc: dump BufferSizeInKB message Merged-by: James Almer <jamrial@gmail.com>
| * lavc/qsvenc: dump BufferSizeInKB messageZhong Li2018-09-02
| | | | | | | | | | Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* | Merge commit 'e16b20782a597e36a9c7488487c3179375a25b97'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit 'e16b20782a597e36a9c7488487c3179375a25b97': lavc/qsvenc: allow to set qp range for h264 BRC Merged-by: James Almer <jamrial@gmail.com>
| * lavc/qsvenc: allow to set qp range for h264 BRCZhong Li2018-09-02
| | | | | | | | | | Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* | Merge commit '83678dbbae64ad8c501e0c732c1117e642c25dae'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit '83678dbbae64ad8c501e0c732c1117e642c25dae': libopenh264dec: Export the decoded profile and level in AVCodecContext Merged-by: James Almer <jamrial@gmail.com>
| * libopenh264dec: Export the decoded profile and level in AVCodecContextMartin Storsjö2018-08-31
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '69caad8959982580504643d36aef22528e4aa6ce'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit '69caad8959982580504643d36aef22528e4aa6ce': qsvdec: Release packet on decoding failure for mpeg2/vp8/vc1 Merged-by: James Almer <jamrial@gmail.com>
| * qsvdec: Release packet on decoding failure for mpeg2/vp8/vc1Zhong Li2018-08-23
| | | | | | | | | | | | | | | | | | H264/265 have been fixed such an issue with commit 559370f2c45110afd8308eec7194437736c323d4. Similar fixing is needed for other codecs. Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '76eef04f30a768fa80366d679f3de7e9447b67d5'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit '76eef04f30a768fa80366d679f3de7e9447b67d5': qsvenc: Fix a misleading log message Merged-by: James Almer <jamrial@gmail.com>
| * qsvenc: Fix a misleading log messageZhong Li2018-08-23
| | | | | | | | | | Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * decode: copy the output parameters from the last bsf in the chain back to ↵James Almer2018-08-17
| | | | | | | | | | | | the AVCodecContext Signed-off-by: James Almer <jamrial@gmail.com>
| * decode: flush the internal bsfs instead of constantly reinitalizing themJames Almer2018-08-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
| * h264_redundant_pps_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
| * vp9_superframe_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
| * vp9_superframe_split_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
| * h264_mp4toannexb_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
| * bsf: add a flushing mechanism to AVBSFContextJames Almer2018-08-17
| | | | | | | | | | | | Meant to reset the internal bsf state without the need to reinitialize it. Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '325aa63dd1a3abc2453914d0bc111d297833d725'James Almer2018-09-11
|\| | | | | | | | | | | | | * commit '325aa63dd1a3abc2453914d0bc111d297833d725': qsv: enforcing continuous memory layout Merged-by: James Almer <jamrial@gmail.com>
| * qsv: enforcing continuous memory layoutMaxym Dmytrychenko2018-08-06
| | | | | | | | | | | | | | we need to make sure that memory allocation for Y/UV planes is continuous and re-used from a pool Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* | avcodec/loco: rotate other planes too for non-power of 2 widthsPaul B Mahol2018-09-11
| | | | | | | | This was forgotten in df05fd3131fd94d01ebeaa58b4c60510961b8be2.
* | libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_Jason Stevens2018-09-10
| | | | | | | | | | | | | | | | refactor ff_dnxhd_get_hr_frame_size to avpriv_dnxhd_get_hr_frame_size, to allow cross library usage in libavformat/mxfenc this change makes this function no longer be always inlined. Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
* | avcodec/loco: switch to planar rgb formatPaul B Mahol2018-09-10
| | | | | | | | Remove now unused step variable.
* | avcodec/lagarith: set pict_type tooPaul B Mahol2018-09-09
| |
* | avcodec/lagarith: switch to planar rgbPaul B Mahol2018-09-09
| | | | | | | | Speed goes from 363 fps to 428 fps for 640x480 video.
* | avcodec/v210enc: Pass through Active Format Description (AFD) dataDevin Heitmueller2018-09-09
| | | | | | | | | | | | | | | | | | When encoding to V210, make sure the AFD side data makes it through in the resulting AVPacket. This is needed so the decklink output module can put out AFD when in 10-bit mode. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avcodec: add AV_PKT_DATA_AFD to allow AFD data to be embedded in AVPacketDevin Heitmueller2018-09-09
| | | | | | | | | | | | | | | | | | | | Create a new AVPacket side data type for Active Format Description, which mirrors the side data type found in AVFrame. The primary use case for this is ensuring AFD gets preserved in the V210 encoder, so that the decklink libavdevice can output AFD. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avcodec/v210enc: Pass through A53 CC dataDevin Heitmueller2018-09-09
| | | | | | | | | | | | | | | | | | When encoding to V210, make sure the CC side data makes it through in the resulting AVPacket. This is needed so the decklink output module can put out captions when in 10-bit mode. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avcodec/scpr: stop checking for overread twicePaul B Mahol2018-09-09
| |
* | avutil/mips: [loongson] simplify macro TRANSPOSE_4H and TRANSPOSE_8BShiyou Yin2018-09-09
| | | | | | | | | | | | Simplify macro TRANSPOSE_4H in mmiutils.h and add TRANSPOSE_8B as a common macro. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mips: [loongson] optimize vp8 decoding in vp8dsp.gxw2018-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | Optimize vp8 loop filter with mmi, four functions optimized: 1. ff_vp8_h_loop_filter8uv_mmi. 2. ff_vp8_v_loop_filter8uv_mmi. 3. ff_vp8_h_loop_filter16_mmi. 4. ff_vp8_v_loop_filter16_mmi. Vp8 decoding speed improved about 50%(from 73fps to 110fps, Tested on loongson 3A3000). Signed-off-by: Shiyou Yin <yinshiyou-hf@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/aacenc: report channel layout by nameMoritz Barsnick2018-09-09
| | | | | | | | | | | | | | Possibly useful in the error case. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/tiff: check ff_lzw_decode_open() for failurePaul B Mahol2018-09-09
| |
* | avcodec/gifdec: set .caps_internalPaul B Mahol2018-09-09
| |
* | avcodec/gifdec: check ff_lzw_decode_open() for failurePaul B Mahol2018-09-09
| |
* | avcodec/zmbv: decoder supports init_cleanup capabilityPaul B Mahol2018-09-08
| |
* | avcodec/ulti: fix minor style issuePaul B Mahol2018-09-08
| |
* | avcodec/tscc: decoder supports init_cleanup capabilityPaul B Mahol2018-09-08
| |