summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* avcodec/me_cmp: add median SAD compare functionStanislav Dolganov2016-08-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/alsdec: Implement floating point sample data decodingUmair Khan2016-08-22
| | | | | | It conforms to the RM22 version of the reference encoder Signed-off-by: Umair Khan <omerjerk@gmail.com>
* avcodec: Implement masked lz decompressionUmair Khan2016-08-22
| | | | Signed-off-by: Umair Khan <omerjerk@gmail.com>
* libavcodec/dnxhdenc: fix typo, check if profile is dnxhr 444 or hqxMark Reid2016-08-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/wmalosslessdec: Check the remaining bitsMichael Niedermayer2016-08-21
| | | | | | | | Fixes assertion failure Fixes: 24ebfda03228b5cc1ef792608cfba458/signal_sigabrt_7ffff6ae7c37_6473_3fa8a111dbc752b1a7c411c5ab79aaa4.wma Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bsf: Add custom item name function for bsf listJan Sebechlebsky2016-08-21
| | | | | | | | | which will construct string description of filter chain. This is done using lazy-initialization, so there is no overhead if item name is never accessed. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/adpcm: Fix adpcm_ima_wav paddingMichael Niedermayer2016-08-21
| | | | | | | | Fixes out of array read Fixes: f29f134ea5f5590df554a7733294a587/asan_stack-oob_309d14e_9188_ea01743d6355aff20530f3d4cdaa841a.wav Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/svq3: fix slice size checkMichael Niedermayer2016-08-20
| | | | | | | | Fixes out of array read Fixes: 09f46aa2175cade93e3e3932646a56a9/asan_heap-oob_4a5385_2995_498f6abfdc0248288cefe5f4b7ad316c.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/diracdec: Check numx/yMichael Niedermayer2016-08-20
| | | | | | | | Fixes division by 0 Fixes: 60261c4469ba3e11059890fb2832a515/asan_generic_135e694_2790_beb94eaa0aeb7d11c0437375a8964a99.drc Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h2645_parse: fix nal sizeMichael Niedermayer2016-08-20
| | | | | Found-by: <durandal_1707> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h2645_parse: Use get_nalsize() in ff_h2645_packet_split()Michael Niedermayer2016-08-20
| | | | | | This fixes several regressions in h.264 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h264_parser: Factor get_avc_nalsize() outMichael Niedermayer2016-08-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/cfhd: Increase minimum band dimension to 3Michael Niedermayer2016-08-19
| | | | | | | | | | The implementation does not currently support len=2 Fixes out of array accesses Fixes: 29d1b3db5ba2205e82b0b3a533e057a3/asan_heap-oob_12b650c_9254_3b8c4e4d931eb2c32841c18ebb297f1d.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/indeo2: check ctabMichael Niedermayer2016-08-19
| | | | | | | | Fixes out of array access Fixes: 6b73fa392ac808f02e95a4e0a5770026/asan_static-oob_1b15f9a_1969_e7778535e5f27225fe0d6ded14721430.AVI Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/rawdec: Fix bits_per_coded_sample checksMichael Niedermayer2016-08-19
| | | | | | | | Fixes assertion failure Fixes: 9eb9cf5b8c26dd0fa7107ed0348dcc1f/signal_sigabrt_7ffff6ae7c37_8926_4609a5c3f071d555d2d557625f9687b1.swf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vcodec/h2645_parse: Clear buffer paddingMichael Niedermayer2016-08-18
| | | | | | | | Fixes use of uninitialized memory Fixes: 044100cb22845944988a4bd821ff8074/asan_heap-oob_329927a_1366_c3de34ce9217dac820fbb46171031bbb.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h2645: Fix NAL unit paddingMichael Niedermayer2016-08-18
| | | | | | | | | The parser changes have lost the support for the needed padding, this adds it back Fixes out of array reads Fixes: 03ea21d271abc8acf428d42ace51d8b4/asan_heap-oob_3358eef_5692_16f0cc01ab5225e9ce591659e5c20e35.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: add 64-bit signed pcm codecPaul B Mahol2016-08-18
|
* lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.Carl Eugen Hoyos2016-08-17
|
* avcodec/ffv1enc: Add RGB48 supportMichael Niedermayer2016-08-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1enc: do not offset null pointersMichael Niedermayer2016-08-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1: Fix rgb plane ordering in experimental planar RGBMichael Niedermayer2016-08-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1enc: Factor rice high depth check outMichael Niedermayer2016-08-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc: add trailing_padding to AVCodecContext to match AVCodecParameters.Jon Toohill2016-08-16
| | | | | | Shows encoder delay/padding in the stream summary if they are set. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bsf: Add list BSF APIJan Sebechlebsky2016-08-15
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/iff: remove palette swapping for animPaul B Mahol2016-08-15
| | | | It appears it is wrong.
* libavcodec/qsvdec_h2645.c: switch to the new BSF APIIvan Uskov2016-08-15
| | | | | | | | | | This patch applies same changes as commit e3dfef8e3c85a64dbe6388117303f5819fa3c6a2 of libav: instead of the obsolete AVBitStreamFilterContext now the new AVBSFContext filter is used to restore annex-B prefixes. Based-on: e3dfef8e3c85a64dbe6388117303f5819fa3c6a2 by Anton Khirnov Push requested by maintainer Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* aacenc: fix various typos and an error messageRostislav Pehlivanov2016-08-13
| | | | | | Too much copy and pasting. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* aacenc: unmark the fast coder as experimentalRostislav Pehlivanov2016-08-13
| | | | | | | This version has had much testing so there's little point in keeping it maked as experimental. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* aacenc: add a faster version of twoloop as the "fast" coderRostislav Pehlivanov2016-08-13
| | | | | | | | | Does nothing fancy but still sounds very decent at 128kbps. Still room to improve by bringing in the low pass and PNS management from the main big twoloop which should improve its quality but not sacrifice that much speed. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avcodec/bsf: Add ff_bsf_get_packet_ref() functionJan Sebechlebsky2016-08-13
| | | | | | | | Use of this function can save unnecessary malloc operation in bitstream filter. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bsf: Forbid packet without payload in av_bsf_send_packetJan Sebechlebsky2016-08-13
| | | | | Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bsf: Set EOF flag only in pkt == NULLJan Sebechlebsky2016-08-13
| | | | | | | Set BSF EOF flag only if pkt == NULL in av_bsf_send_packet(). Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/raw: Support QT b64a ARGB64 rawvideo.Carl Eugen Hoyos2016-08-13
| | | | | Decoder based on a patch by v0lt, v0lt rambler ru Fixes ticket #5657.
* lavc/screenpresso: Fix 32bit pix_fmt, there is no transparency.Carl Eugen Hoyos2016-08-13
| | | | Fixes a remaining issue of ticket #5025.
* libavcodec/dnxhdenc: add edge emulate for dnxhrMark Reid2016-08-12
| | | | | | Fixes handling for resolutions that are not multiples of 16. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/utils: only warn when passed invalid lowres valueAman Gupta2016-08-12
| | | | | | | | | This makes it easier to use the lowres option when dealing with input files in different codecs. If the codec doesn't support lowres=1 for instance, it will throw a warning and use lowres=0 instead of erroring out completely. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/rawdec: Fix palette handling with changing palettesMichael Niedermayer2016-08-08
| | | | | | | | Fixes out of array access Fixes: poc.swf Found-by: 连一汉 <lianyihan@360.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1: add AV_PIX_FMT_GBRP16 supportMichael Niedermayer2016-08-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1: template functions to allow data types different from int16_tMichael Niedermayer2016-08-08
| | | | | | | This is required for >= 16bit RGB support I tried it without templates but its too much duplicated code Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/qsvdec: Fix null dereferences in the qsv decoderYuli Khodorkovskiy2016-08-07
| | | | | | | | | | | | | | This patch fixes the h264_qsv decoder issues mentioned in https://ffmpeg.zeranoe.com/forum/viewtopic.php?t=2962. The patch may be tested by specifying h264_qsv as the decoder to ffplay for an h264 encoded file. ffplay -vcodec h264_qsv foo.mts Signed-off-by: Yuli Khodorkovskiy <ykhodo@gmail.com> Push requested-by: Ivan Uskov Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/raw: Fix decoding of ilacetest.movMichael Niedermayer2016-08-07
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ttadsp: cosmeticsJames Almer2016-08-06
| | | | | | | Clean some header includes and use the same naming scheme as in ttaencdsp Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/ffv1enc: Fix assertion failure with non zero bits per sampleMichael Niedermayer2016-08-06
| | | | | Fixes Ticket5736 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/vaapi_encode_h26x: Fix a crash if "." is not the decimal separator.Carl Eugen Hoyos2016-08-05
| | | | | | Fixes Debian bugs #831529, #831909, #832964. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avcodec/vdpau: clean up vdpau_internal.hJames Almer2016-08-04
| | | | | | | | | | Also don't include it on files that don't need it. This reduces differences with libav Tested-by: Timothy Gu <timothygu99@gmail.com> Reveiwed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* h264dec: Fix indentationTimothy Gu2016-08-04
|
* Merge commit '58640fe89ec4f2a3d67c0a2585fca8de34440857'Timothy Gu2016-08-03
|\ | | | | | | | | | | | | | | | | | | * commit '58640fe89ec4f2a3d67c0a2585fca8de34440857': h264: handle frame recovery in h264_field_start() Conflicts: libavcodec/h264dec.c Merged-by: Timothy Gu <timothygu99@gmail.com>
| * h264: handle frame recovery in h264_field_start()Anton Khirnov2016-06-21
| | | | | | | | | | | | This is a more appropriate place for this. H264Context.recovery_frame is shared between frame threads, so modifying it where it is right now is invalid.
* | Merge commit 'e26c64148be8a20ace7512d96503172fb5e9753b'Timothy Gu2016-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e26c64148be8a20ace7512d96503172fb5e9753b': h264: discard slices of redundant pictures right after parsing the slice header Conflicts: libavcodec/h264_slice.c libavcodec/h264dec.c TODO: fix indentation Merged-by: Timothy Gu <timothygu99@gmail.com>