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-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
2013-10-28h264_ps: when parsing a VUI fails, only abort when explode is setAnton Khirnov
A VUI doesn't contain anything strictly necessary for decoding. Apparently there are many samples with truncated VUIs in the wild, this commit should allow decoding them.
2013-08-20h264_ps: Use more meaningful error valuesDiego Biurrun
2013-08-20h264_ps: K&R formatting cosmeticsDiego Biurrun
2013-08-20h264_ps: Drop commented-out cruftDiego Biurrun
2013-08-20avcodec: Remove some commented-out debug cruftDiego Biurrun
2013-04-19h264: fully support cropping.Anton Khirnov
Based on a patch by Vittorio Giovara <vittorio.giovara@gmail.com> Fixes Bug 378.
2013-02-26Remove unnecessary dsputil.h #includesDiego Biurrun
2013-02-15h264: deMpegEncContextizeAnton Khirnov
Most of the changes are just trivial are just trivial replacements of fields from MpegEncContext with equivalent fields in H264Context. Everything in h264* other than h264.c are those trivial changes. The nontrivial parts are: 1) extracting a simplified version of the frame management code from mpegvideo.c. We don't need last/next_picture anymore, since h264 uses its own more complex system already and those were set only to appease the mpegvideo parts. 2) some tables that need to be allocated/freed in appropriate places. 3) hwaccels -- mostly trivial replacements. for dxva, the draw_horiz_band() call is moved from ff_dxva2_common_end_frame() to per-codec end_frame() callbacks, because it's now different for h264 and MpegEncContext-based decoders. 4) svq3 -- it does not use h264 complex reference system, so I just added some very simplistic frame management instead and dropped the use of ff_h264_frame_start(). Because of this I also had to move some initialization code to svq3. Additional fixes for chroma format and bit depth changes by Janne Grunau <janne-libav@jannau.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-01-25h264: Allow discarding the cropping information from SPSVittorio Giovara
Some 3D systems overload the meaning of the field for other purposes. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-12-19h264: fix sps parsing for SVC and CAVLC 4:4:4 Intra profilesVictor Lopez
Fixes bug 396. CC: libav-stable@libav.org
2012-12-15h264: fix memleak on error during SPS parsingJanne Grunau
Introduced in d7d6efe42b0d.
2012-12-14h264: set parameters from SPS whenever it changesJanne Grunau
Fixes a crash in the fuzzed sample sample_varPAR.avi_s26638 with alternating bit depths.
2012-12-07h264: check sps.log2_max_frame_num for validityJanne Grunau
Fixes infinite or long taking loop in frame num gap code in the fuzzed sample bipbop234.ts_s223302. CC: libav-stable@libav.org
2012-07-30h264_ps: declare array of colorspace strings on its own line.Ronald S. Bultje
2012-05-02h264: additional protection against unsupported size/bitdepth changes.Ronald S. Bultje
Fixes crashes in codepaths not covered by original checks. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-03-25h264: fix memleak in error path.Alexander Strange
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-03-25h264: Add check for invalid chroma_format_idcAlexander Strange
Fixes a crash when FF_DEBUG_PICT_INFO is used. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-03-13h264: improve parsing of broken AVC SPSMichael Niedermayer
Parsing the entire NAL as SPS fixes decoding of some AVC bitstreams with broken escaping. Since the size of the NAL unit is known and checked against the buffer end we can parse it entirely without buffer overreads. Fixes playback of http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4 Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2012-03-05Replace computations of remaining bits with calls to get_bits_left().Alex Converse
2011-10-21h264: 4:2:2 intra decoding supportBaptiste Coudurier
Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-10-11h264: fix HRD parameters parsingMans Rullgard
The bit_rate_value_minus1 and cpb_size_value_minus1 elements allow a wider range than get_ue_golomb() supports. This adds a get_ue_golomb_long() function supporting up to 31 leading zeros, which is the maximum for these syntax elements, and uses it in decode_hrd_parameters(). Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-11h264: fix detection of optional trailing PPS elementsMans Rullgard
The PPS may contain a few trailing elements whose presence is only signalled by data remaining after the the mandatory part has been parsed. The current code fails to take into account the rbsp_trailing_bits() when deciding whether to parse these optional elements. Assuming no unnecessary padding bytes are passed to this function, the optional elements are present if either more than 8 extra bits remain or the remaining bits do not form a valid rbsp_trailing_bits() after the mandatory PPS elements have been parsed. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-22H.264: fix 4:4:4 cropping warningJason Garrett-Glaser
2011-06-22H.264: reference the correct SPS in decode_scaling_matricesJason Garrett-Glaser
2011-06-144:4:4 H.264 decoding supportJason Garrett-Glaser
Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
2011-06-14Roll back 4:4:4 H.264 for nowJason Garrett-Glaser
Needs some ARM/PPC asm modifications.
2011-06-134:4:4 H.264 decoding supportJason Garrett-Glaser
Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
2011-05-10Add support for higher QP values in h264.Oskar Arvidsson
In high bit depth, the QP values may now be up to (51 + 6*(bit_depth-8)). Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-15Merge libavcore into libavutilReinhard Tartler
It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-02-01h264: Add Intra and Constrained Baseline profiles to avctx.profileJanne Grunau
2010-11-03H.264 decode: support cropping up to 28 pixels in interlaced mode.Reimar Döffinger
Contrary to progressive, just being able to crop up to 14/15 pixels is not enough to encode all supported resolutions, and the new behaviour is also consistent with e.g. MPEG-2 etc. Originally committed as revision 25669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-06Fix default value of time_offset_length.John Stebbins
Patch by John Stebbins stebbins jetheaddev com. Originally committed as revision 25374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-05Move aspect ratio 0/0 avoidance code so the values in the sps struct are not ↵Michael Niedermayer
missed. This preempts issues with av_cmp_q(0/0, X) Originally committed as revision 25337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-07Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini
av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26Check for VUI overeading and reset num_reoder_frames.Michael Niedermayer
This helps the video from issue1831 Originally committed as revision 23328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20Remove explicit filename from Doxygen @file commands.Diego Biurrun
Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-07Check direct_8x8_inference_flag.Michael Niedermayer
Originally committed as revision 21668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-04Fix large timebases.Michael Niedermayer
Fixed issue1633 Originally committed as revision 21636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-1810l for someone, Store chroma_qp_diff in the correct struct.Michael Niedermayer
Originally committed as revision 21286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12Split (picture|seq) parameter set decoding out of h264.c.Michael Niedermayer
no speedloss meassured, also its really not touching anything that is speed relevant. Originally committed as revision 21169 to svn://svn.ffmpeg.org/ffmpeg/trunk