summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* 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>
| * h264: discard slices of redundant pictures right after parsing the slice headerAnton Khirnov2016-06-21
| | | | | | | | | | Going through the whole decoder initialization process for a slice we are not going to decode is unnecessary and potentially dangerous.
* | Merge commit '6efc4638584e1e14d1a6152186ba28f5d48a80c0'Timothy Gu2016-08-03
|\| | | | | | | | | | | | | * commit '6efc4638584e1e14d1a6152186ba28f5d48a80c0': h264: always set redundant_pic_count during slice header parsing Merged-by: Timothy Gu <timothygu99@gmail.com>
| * h264: always set redundant_pic_count during slice header parsingAnton Khirnov2016-06-21
| | | | | | | | | | It is always checked in the surrounding code, so this make sure we don't see a value from an old slice.
| * h264: call the hwaccel frame_start() from h264_field_start()Anton Khirnov2016-06-21
| | | | | | | | This is a more appropriate place for it.
* | Revert "Revert "Merge commit 'd1d7678040cd60148f97b372cb4291bcc45b2e22'""Timothy Gu2016-08-03
| | | | | | | | | | | | | | This reverts commit e4af9be0f45c8f2ca148fb971f1e0c6782530e8c and redoes 796027f22154c799e0063e2457b31e0cfd1dddae. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
* | Revert "Merge commit 'd1d7678040cd60148f97b372cb4291bcc45b2e22'"Timothy Gu2016-08-03
| | | | | | | | | | | | | | This reverts commit 796027f22154c799e0063e2457b31e0cfd1dddae, reversing changes made to bca30ed2b67f095fd31e07319a622ac30ad22978. Preemptive revert before further testing has been done.
* | Merge commit 'd1d7678040cd60148f97b372cb4291bcc45b2e22'Timothy Gu2016-08-03
|\| | | | | | | | | | | | | | | | | | | | | * commit 'd1d7678040cd60148f97b372cb4291bcc45b2e22': h264: fix the check for mixed IDR/non-IDR slices Conflicts: libavcodec/h264_slice.c libavcodec/h264dec.c Merged-by: Timothy Gu <timothygu99@gmail.com>
| * h264: fix the check for mixed IDR/non-IDR slicesAnton Khirnov2016-06-21
| |
* | Merge commit 'b13fc1e344011949929975a3451f78f226aa1de3'Timothy Gu2016-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b13fc1e344011949929975a3451f78f226aa1de3': h264: do not pass H264Context to h264_slice_header_parse() Conflicts: libavcodec/h264dec.h Did not merge the h264_slice_header_parse() part. We use a few other members of H264Context for error checking in that function. Merged-by: Timothy Gu <timothygu99@gmail.com>
| * h264: do not pass H264Context to h264_slice_header_parse()Anton Khirnov2016-06-21
| | | | | | | | | | This should make it more clear that this function does not need any decoder-global state other than the parameter sets.
* | mediacodec: Return ENOSYS on unsupported platformsTimothy Gu2016-08-02
| |
* | jni: Return ENOSYS on unsupported platformsTimothy Gu2016-08-02
| |
* | doxygen: Standardize root-level modulesTimothy Gu2016-08-02
| |
* | avcodec/h264dec: move ff_h264_ps_uninit prototype to h264_ps.hJames Almer2016-08-03
| | | | | | | | | | | | It's the proper place since 8c7932884d09bc580036640453fd6b7ad4dd77b4 Signed-off-by: James Almer <jamrial@gmail.com>
* | libavcodec/dnxhd: Enable 12-bit DNxHR support.Steven Robertson2016-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10- and 12-bit DNxHR use the same DC coefficient decoding process and VLC table, just with a different shift value. From SMPTE 2019-1:2016, 8.2.4 DC Coefficient Decoding: "For 8-bit video sampling, the maximum value of η=11 and for 10-/12-bit video sampling, the maximum value of η=13." A sample file will be uploaded to show that with this patch, things decode correctly: dnxhr_hqx_12bit_1080p_smpte_colorbars_davinci_resolve.mov Signed-off-by: Steven Robertson <steven@strobe.cc> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x86/ttaenc: add ff_ttaenc_filter_process_{ssse3,sse4}James Almer2016-08-02
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/ttaenc: split off hybrid filter processing as ttaencdspJames Almer2016-08-02
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/alacenc: allocate bigger packetsPaul B Mahol2016-08-02
| |
* | Merge commit '996f13413b0415097e2a184d161462ffb3ceb647'James Almer2016-08-01
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '996f13413b0415097e2a184d161462ffb3ceb647': h264: fix warnings in fill_filter_caches_inter() Conflicts: libavcodec/h264_slice.c See ef8f6464a55db730cab8c48a1a51fa4e6ca12107 Merged-by: James Almer <jamrial@gmail.com>
| * h264: fix warnings in fill_filter_caches_inter()Anton Khirnov2016-06-21
| | | | | | | | | | | | The code does some weird casting to a 2-dimensional sub-array of ref2frm. This is not necessary, since only one dimension is needed there.
* | Merge commit 'bc7f4268514624e1286ea76d27a89a56b4ee18e1'James Almer2016-08-01
|\| | | | | | | | | | | | | | | | | | | * commit 'bc7f4268514624e1286ea76d27a89a56b4ee18e1': h264: drop tests whether the codec id is AV_CODEC_ID_H264 Conflicts: libavcodec/h264dec.c Merged-by: James Almer <jamrial@gmail.com>
| * h264: drop tests whether the codec id is AV_CODEC_ID_H264Anton Khirnov2016-06-21
| | | | | | | | Those are unused remnants of the old SVQ3 code.
* | Merge commit '8281cd5cb80582d668ce0848e0e035b383f161f6'James Almer2016-08-01
|\| | | | | | | | | | | | | * commit '8281cd5cb80582d668ce0848e0e035b383f161f6': h264_cabac: drop an always true condition Merged-by: James Almer <jamrial@gmail.com>
| * h264_cabac: drop an always true conditionAnton Khirnov2016-06-21
| |
* | Merge commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c'James Almer2016-08-01
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c': h264: add H264_ prefix to the NAL unit types Conflicts: libavcodec/h264_parse.c libavcodec/h264_parser.c libavcodec/h264_slice.c libavcodec/h264dec.c Merged-by: James Almer <jamrial@gmail.com>
| * h264: add H264_ prefix to the NAL unit typesAnton Khirnov2016-06-21
| | | | | | | | | | This will prevent conflicts e.g. in code that deals with both h264 and hevc.
* | Merge commit '1cf2f3d334f52849aae2be868bad1e5fa5f59aa0'James Almer2016-08-01
|\| | | | | | | | | | | | | * commit '1cf2f3d334f52849aae2be868bad1e5fa5f59aa0': h264_sei: drop an unnecessary h264dec.h include Merged-by: James Almer <jamrial@gmail.com>
| * h264_sei: drop an unnecessary h264dec.h includeAnton Khirnov2016-06-21
| | | | | | | | | | The code does not depend on the h264 decoder anymore and only needs information from h264_ps
* | Merge commit 'b24dafe10572254ff0decc18b0d7c3d3707d5a29'James Almer2016-08-01
|\| | | | | | | | | | | | | * commit 'b24dafe10572254ff0decc18b0d7c3d3707d5a29': lavc: drop unnecessary h264dec.h includes Merged-by: James Almer <jamrial@gmail.com>
| * lavc: drop unnecessary h264dec.h includesAnton Khirnov2016-06-21
| |
* | Merge commit '70b1dcef2d859ae6b3e21d61de928c3dd0cf1aa4'James Almer2016-08-01
|\| | | | | | | | | | | | | | | | | | | * commit '70b1dcef2d859ae6b3e21d61de928c3dd0cf1aa4': h264: tighten the valid range for ref_frame_count Conflicts: libavcodec/h264_ps.c Merged-by: James Almer <jamrial@gmail.com>