Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-02h264: Fix a typo from the previous commitLuca Barbato
f777504f640260337974848c7d5d7a3f064bbb45 changed a - in + CC: libav-stable@libav.org (cherry picked from commit d922c5a5fbaf0b6c73bd8c81ae059bc6e406961c)
2014-03-02h264: Lower bound check for slice offsetsVittorio Giovara
And use the value from the specification. Sample-Id: 00000451-google Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org> (cherry picked from commit f777504f640260337974848c7d5d7a3f064bbb45)
2014-02-14h264: drop outdated commentsVittorio Giovara
2014-02-14h264: store current_sps_id inside the current spsVittorio Giovara
In preparation for MVC support.
2014-02-14h264: print values in case of errorVittorio Giovara
Also make error style consistent and drop redundant information.
2014-02-12h264: make context_count unsignedJanne Grunau
Removes the bogus but scary looking warning 'libavcodec/h264.c:4529:49: warning: array subscript is below array bounds [-Warray-bounds]'.
2014-02-04h264: reset data partitioning at the beginning of each decode callAnton Khirnov
Prevents using GetBitContexts with data from previous calls. Fixes access to freed memory. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-26avutil: remove timer.h include from internal.hJanne Grunau
Added libavutil/timer.h include to all files with {START,STOP}_TIMER.
2014-01-22h264: skip chroma edges at the picture boundary while deblocking 4:4:4Janne Grunau
This handles macroblock edges for the chroma components in the same way as for the luma compoment for 4:4:4 streams. The Spec explicitly states that the deblocking filter is not applied to edges at the boundary of the picture. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2014-01-18h264: check that an IDR NAL only contains I slicesAnton Khirnov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-18h264: reset ref count if decoding the slice header failsAnton Khirnov
Otherwise the ER code might try to use some already freed references. Fixes possible access to freed memory. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-18h264: do not call field_end if we do not have a current pictureAnton Khirnov
Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-18h264: limit allowed pred modes in ff_h264_check_intra_pred_mode() to 3Anton Khirnov
Higher modes are not allowed for 16x16/chroma, which is what this function is used for. Otherwise this function would return 0 (vertical prediction) for invalid higher modes, which could result in invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-18h264: reset first_field if frame_start() fails for missing refsAnton Khirnov
In this case we may not have a current frame, while first_field being set implies we do. Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-06h264: check that execute_decode_slices() is not called too many timesAnton Khirnov
Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-06h264: reject mismatching luma/chroma bit depths during sps parsingAnton Khirnov
There is no point in delaying the check and it avoids bugs with a half-initialized context. Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-06h264: rebuild the default ref list if the reference count changesAnton Khirnov
Fixes possible access to freed memory. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2014-01-03h264: reset data_partitioning if decoding the slice header for NAL_DPA failsAnton Khirnov
If it was set before then we can end up trying to decode a slice without a valid slice header, which can lead to invalid memory access. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2013-12-27h264: namespace the decode functionLuca Barbato
Make much easier debugging.
2013-12-11h264: call av_frame_unref() instead of avcodec_get_frame_defaults().Anton Khirnov
This is a temporary workaround to allow deprecating avcodec_get_frame_defaults(). The proper solution will be using a properly allocated AVFrame in Picture.
2013-12-09h264: parse frame packing arrangement SEI messages and save relevant ↵Vittorio Giovara
stereo3d information
2013-11-21h264: check buffer size before accessing itAnton Khirnov
Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2013-11-18lavc: use buf[0] instead of data[0] in checks whether a frame is allocatedAnton Khirnov
data[0] may be NULL for valid frames with hwaccel pixel formats.
2013-11-15lavc: Edge emulation with dst/src linesizeRonald S. Bultje
Allow supporting files for which the image stride is smaller than the maximum block size + number of subpel mc taps, e.g. a 64x64 VP9 file or a 16x16 VP8 file with -fflags +emu_edge.
2013-11-14h264: free the tables and uninitialize the context on flushAnton Khirnov
Prevents referencing empty frames when the first packet after the flush does not contain a frame.
2013-11-10hwaccel: Simplify ff_find_hwaccelLuca Barbato
It is always called by passing fields from an AVCodecContext.
2013-10-31h264: wait for initial complete frame before outputing framesJohn Stebbins
This can be optionally disabled whith the "output_corrupt" flags option. When in "output_corrupt" mode, incomplete frames are signalled through AVFrame.flags FRAME_FLAG_INCOMPLETE_FRAME. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-10-29h264: Check all allocationsDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-16lavc: Convert some remaining strides to ptrdiff_tRonald S. Bultje
2013-10-15h264_parser: Fix POC parsing for the case where MMCO_RESET is present.Yusuke Nakamura
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-10-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-09-24h264: do not reinitialize the global cabac tables at each slice headerAnton Khirnov
2013-09-24h264: do not discard NAL_SEI when skipping framesRainer Hochecker
Setting AVDISCARD_NONREF (e.g. after flushing) resulted in 100% dropped frames. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-24h264: log extradata skip only for non-ignored NALsVittorio Giovara
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-20h264: remove an unused static constantVittorio Giovara
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-20h264data: Move some tables to the only place they are usedDiego Biurrun
2013-08-20avcodec: Remove some commented-out debug cruftDiego Biurrun
2013-08-10h264: check one context_init() allocationVittorio Giovara
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-10h264: use explicit variable names for *_field_flagVittorio Giovara
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-10h264: return meaningful valuesVittorio Giovara
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-05vdpau: remove old-style decodersRémi Denis-Courmont
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-02avcodec: Add output_picture_number to AVCodecParserContextYusuke Nakamura
Set output_picture_number in H.264 parser. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-07-27h264: K&R formatting cosmeticsDiego Biurrun
2013-05-24h264_parser: Set field_order and picture_structure.Yusuke Nakamura
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-04-22h264: Drop unused variableDiego Biurrun
2013-04-20dsputil: Remove dct_bitsRonald S. Bultje
dct_bits is never set except in h264, where it is never used, thus remove it. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-19h264: fully support cropping.Anton Khirnov
Based on a patch by Vittorio Giovara <vittorio.giovara@gmail.com> Fixes Bug 378.
2013-04-10h264: Only initialize dsputil if error resilience is enabledRonald S. Bultje
It is only used for error resilience. This allows building the h264 decoder without dsputil, if error resilience is disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-10h264: Integrate clear_blocks calls with IDCTRonald S. Bultje
The non-intra-pcm branch in hl_decode_mb (simple, 8bpp) goes from 700 to 672 cycles, and the complete loop of decode_mb_cabac and hl_decode_mb (in the decode_slice loop) goes from 1759 to 1733 cycles on the clip tested (cathedral), i.e. almost 30 cycles per mb faster. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-10h264: Clear the mb members via memset instead of using dsputilMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>