summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Do not fail in get_buffer_internal() if pix_fmt planes == 0.Carl Eugen Hoyos2013-03-221-0/+2
| | | | Fixes VDPAU decoding, reported by Ilja Sekler
* error_resilience: fix const correctness, silence warningsMichael Niedermayer2013-03-211-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vdpau.h: change vdpau_render_state layout to match fork if ↵Michael Niedermayer2013-03-211-0/+8
| | | | | | | | AV_HAVE_INCOMPATIBLE_FORK_ABI This might fix a compatibility issue. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vda_h264: fix for VDA compileAndrew Euell2013-03-211-1/+1
| | | | | | the VDA code needs to be updated to use the CHROMA(h) macros Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sonicdec: update to new buffer APIMichael Niedermayer2013-03-211-8/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sonicenc: fix mono decorrelationMichael Niedermayer2013-03-211-0/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sonicdec: fix frame sizeMichael Niedermayer2013-03-211-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sonicdec: check decorrelationMichael Niedermayer2013-03-211-0/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g729dec: switch to buffer refs styleMichael Niedermayer2013-03-211-8/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* v308dec: remove unneeded self assignmentMichael Niedermayer2013-03-211-1/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* h264: remove unused variableMichael Niedermayer2013-03-211-1/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* h264: add an argument to CHROMA for consistencyMichael Niedermayer2013-03-212-3/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-03-211-7/+0
|\ | | | | | | | | | | | | * qatar/master: h264: remove redundant freeing of DPB in h264_decode_end Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: remove redundant freeing of DPB in h264_decode_endAnton Khirnov2013-03-211-7/+0
| | | | | | | | free_tables() frees it already.
* | Merge commit '23e85be58fc64b2e804e68b0034a08a6d257e523'Michael Niedermayer2013-03-217-34/+34
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '23e85be58fc64b2e804e68b0034a08a6d257e523': h264: add a parameter to the CHROMA444 macro. h264: add a parameter to the CHROMA422 macro. Conflicts: libavcodec/h264.c libavcodec/h264.h libavcodec/h264_cavlc.c libavcodec/h264_loopfilter.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: add a parameter to the CHROMA444 macro.Anton Khirnov2013-03-216-18/+18
| | | | | | | | This way it does not look like a constant.
| * h264: add a parameter to the CHROMA422 macro.Anton Khirnov2013-03-217-12/+12
| | | | | | | | This way it does not look like a constant.
* | Merge commit '6d2b6f21eb45ffbda1103c772060303648714832'Michael Niedermayer2013-03-218-21/+21
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit '6d2b6f21eb45ffbda1103c772060303648714832': h264: add a parameter to the CABAC macro. h264: add a parameter to the FIELD_OR_MBAFF_PICTURE macro. Conflicts: libavcodec/h264.c libavcodec/h264_cabac.c libavcodec/h264_cavlc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: add a parameter to the CABAC macro.Anton Khirnov2013-03-216-12/+12
| | | | | | | | This way it does not look like a constant.
| * h264: add a parameter to the FIELD_OR_MBAFF_PICTURE macro.Anton Khirnov2013-03-214-9/+9
| | | | | | | | This way it does not look like a constant.
* | Merge commit '7fa00653a550c0d24b3951c0f9fed6350ecf5ce4'Michael Niedermayer2013-03-219-69/+69
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit '7fa00653a550c0d24b3951c0f9fed6350ecf5ce4': h264: add a parameter to the FIELD_PICTURE macro. h264: add a parameter to the FRAME_MBAFF macro. Conflicts: libavcodec/h264.c libavcodec/h264_loopfilter.c libavcodec/h264_refs.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: add a parameter to the FIELD_PICTURE macro.Anton Khirnov2013-03-215-25/+25
| | | | | | | | This way it does not look like a constant.
| * h264: add a parameter to the FRAME_MBAFF macro.Anton Khirnov2013-03-218-44/+44
| | | | | | | | This way it does not look like a constant.
* | Merge commit 'da6be8fcec16a94d8084bda8bb8a0a411a96bcf7'Michael Niedermayer2013-03-217-44/+44
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit 'da6be8fcec16a94d8084bda8bb8a0a411a96bcf7': h264: add a parameter to the MB_FIELD macro. h264: add a parameter to the MB_MBAFF macro. Conflicts: libavcodec/h264.c libavcodec/h264_cabac.c libavcodec/h264_cavlc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: add a parameter to the MB_FIELD macro.Anton Khirnov2013-03-217-30/+30
| | | | | | | | This way it does not look like a constant.
| * h264: add a parameter to the MB_MBAFF macro.Anton Khirnov2013-03-214-18/+18
| | | | | | | | This way it does not look like a constant.
* | Merge commit '48d0fd2d62a476e1db9298163f1fc0abae26cc67'Michael Niedermayer2013-03-211-31/+26
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '48d0fd2d62a476e1db9298163f1fc0abae26cc67': h264: merge common_init() into ff_h264_decode_init. Conflicts: libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: merge common_init() into ff_h264_decode_init.Anton Khirnov2013-03-211-25/+20
| | | | | | | | There is no point in keeping those separate.
* | Merge commit '25408b2a0660c1e6c8555559c4ed71dff2ede31e'Michael Niedermayer2013-03-212-4/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '25408b2a0660c1e6c8555559c4ed71dff2ede31e': h264: make ff_h264_frame_start static. Conflicts: libavcodec/h264.c libavcodec/h264.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: make ff_h264_frame_start static.Anton Khirnov2013-03-212-5/+4
| | | | | | | | It is not called from outside h264.c
* | Merge commit '1c4073efd24164ac6eaa52c544f5cdb0e5f6aee5'Michael Niedermayer2013-03-211-0/+5
|\ \ | |/ | | | | | | | | | | | | * commit '1c4073efd24164ac6eaa52c544f5cdb0e5f6aee5': fate: add tests for h264 decoder reinit h264: fix bit depth changes with frame threading Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: fix bit depth changes with frame threadingJanne Grunau2013-03-201-0/+5
| | | | | | | | | | | | | | | | | | AVCodecContext.bits_per_raw_sample is updated from the previous thread in the generic update function before the codec specific update_thread function is called. The check for reinitialization of dsp functions uses bits_per_raw_sample. When called from update_thread_context it will be already at the current value and the dsp functions aren't updated if only the bit depth changes.
* | h264: drop special case for 9bit chroma422Michael Niedermayer2013-03-211-2/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/utils: fix metadata audio frame memleak in case of non refcounted frames.Clément Bœsch2013-03-211-1/+1
| | | | | | | | | | | | | | | | The metadata must be set before saving the frame to avci->to_free, otherwise it will leak. Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Clément Bœsch <ubitux@gmail.com>
* | libavcodec/mips: fix for mips optimized fp fft with hard coded tables disabledNedeljko Babic2013-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | Floating point FFT (nips optimized) breaks when hard coded tables are not enabled because MIPS optimization of floating point FFT uses only ff_init_ff_cos_tabs(16) which is not enabled by default in that case. This patch is fixing it. Signed-off-by: Nedeljko Babic <nbabic@mips.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mips: Optimization of IIR filter functionBojan Zivkovic2013-03-205-2/+242
| | | | | | | | | | | | Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mips: Optimization of AAC coefficients encoder functionsBojan Zivkovic2013-03-204-0/+2504
| | | | | | | | | | | | Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c3ebfcd6e1327ca7bbcaee822e593c2da6cfd352'Michael Niedermayer2013-03-202-22/+21
|\ \ | |/ | | | | | | | | | | | | * commit 'c3ebfcd6e1327ca7bbcaee822e593c2da6cfd352': mpegvideo: allocate hwaccel privdata after the frame buffer h264: allocate hwaccel privdata after the frame buffer Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegvideo: allocate hwaccel privdata after the frame bufferHendrik Leppkes2013-03-191-14/+12
| | | | | | | | | | | | | | | | | | | | This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * h264: allocate hwaccel privdata after the frame bufferHendrik Leppkes2013-03-191-8/+9
| | | | | | | | | | | | | | | | | | | | This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'c71c80f53b6a63fd6360d9de5a262f9e7c85681f'Michael Niedermayer2013-03-201-0/+1
|\ \ | |/ | | | | | | | | | | * commit 'c71c80f53b6a63fd6360d9de5a262f9e7c85681f': pthread: unref already decoded frames when flushing the decoder Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pthread: unref already decoded frames when flushing the decoderHendrik Leppkes2013-03-191-0/+1
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '4e70d66ded537cadd32dbd02a38c3d86a203c812'Michael Niedermayer2013-03-202-14/+28
|\ \ | |/ | | | | | | | | | | | | * commit '4e70d66ded537cadd32dbd02a38c3d86a203c812': mpegvideo: fix allocation of the hwaccel_picture_private data lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegvideo: fix allocation of the hwaccel_picture_private dataHendrik Leppkes2013-03-191-3/+5
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting.Anton Khirnov2013-03-191-11/+23
| |
* | Merge commit '6599b087de62a5f9f2a8d61a1952d777d1bff804'Michael Niedermayer2013-03-201-2/+2
|\ \ | |/ | | | | | | | | | | | | * commit '6599b087de62a5f9f2a8d61a1952d777d1bff804': buffersrc: fix a typo. lavc, lavfi: fix counting number of planes in AVBufferRef wrappers Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc, lavfi: fix counting number of planes in AVBufferRef wrappersAnton Khirnov2013-03-191-2/+2
| | | | | | | | | | | | Number of planes is not always equal to the number of components even for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components in two planes.
* | vc1dec: interlaced B-framesSebastian Sandberg2013-03-201-57/+418
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | er: set error_occured on missing slicesMichael Niedermayer2013-03-201-1/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/utils: add VP6F hack for setting correct video size in streamStefano Sabatini2013-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some obscure reasons avcodec_set_dimensions() resets the width/height so that the resulting value set in the stream is equal to the corresponding coded_width/height, which is not the same as the correct width/height in case of the H.264 and VP6F codecs. This adds a codec-specific hack for VP6F which disables the call to avcodec_set_dimensions() in avcodec_open2(), like it is done with H264. A proper fix needs to be found yet. Fix trac ticket #1386. Based on a patch by Michael Niedermayer. Trolled-By: Daemon404 See thread: Subject: [FFmpeg-devel] [PATCH] ffprobe: Stash and use width and height before opening the codec Date: Fri, 1 Mar 2013 10:41:34 -0500
OpenPOWER on IntegriCloud