summaryrefslogtreecommitdiff
path: root/libavcodec/h264_sei.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264: decouple h264_sei from the h264 decoderAnton Khirnov2016-04-24
| | | | | Make the SEI parsing independent of the H264Context, to allow decoupling the parser from the decoder.
* h264: decouple h264_ps from the h264 decoderAnton Khirnov2016-04-24
| | | | | | | | | Make the SPS/PPS parsing independent of the H264Context, to allow decoupling the parser from the decoder. The change is modelled after the one done earlier for HEVC. Move the dequant buffers to the PPS to avoid complex checks whether they changed and an expensive copy for frame threads.
* h264: Print the complete user messageVittorio Giovara2015-10-30
| | | | | | | Previously the message was cut off at 256th byte. This will allow dumping the complete x264 encode info when needed. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264: Print user data SEI under normal debug verbosityVittorio Giovara2015-10-30
| | | | | | Drop the need of setting -debug bugs since it's not a bug, and the message is already under a AV_LOG_DEBUG log level. Instead only print it when there is an actual string in it.
* h264: Fix faulty call to avpriv_request_sampleLuca Barbato2015-08-22
| | | | Broken in f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068
* h264: Discard currently unsupported registered seiJohn Högberg2015-08-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: h264: Extract decoder methodsDavid Holm2015-08-01
| | | | | | | | | | | Extract two methods from decode_registered_user_data in order to improve code readability. Also make the constant holding the allocation size a 64-bit unsigned integer so that the size comparison against INT_MAX makes sense. Bug-Id: CID1312090 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Add support for Closed Caption exportKieran Kunhya2015-07-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264: Parse registered data SEI message and AFD valueVittorio Giovara2015-06-30
| | | | | | Partially based on code by Marton Balint and Kieran Kunhya. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264_sei: Group error check outside the switch blockVittorio Giovara2015-06-30
|
* h264: prevent theoretical infinite loop in SEI parsingVittorio Giovara2014-08-01
| | | | | | | Properly address CVE-2011-3946 and parse bitstream as described in the spec. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* h264: parse display orientation SEI messageVittorio Giovara2014-07-09
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264_sei: reorder headersVittorio Giovara2014-02-14
| | | | Also drop unused assert.h.
* h264_sei: name buffering period type consistentlyVittorio Giovara2014-02-14
|
* h264: Refactor decode_frame_packing_arrangementVittorio Giovara2013-12-17
| | | | Directly set the fields when necessary.
* h264: parse frame packing arrangement SEI messages and save relevant ↵Vittorio Giovara2013-12-09
| | | | stereo3d information
* h264_sei: check SEI sizeMichael Niedermayer2013-09-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264_sei: log unknown sei messagesVittorio Giovara2013-09-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Remove some commented-out debug cruftDiego Biurrun2013-08-20
|
* h264_sei: Return meaningful valuesVittorio Giovara2013-08-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264_sei: K&R formatting cosmeticsVittorio Giovara2013-08-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264_sei: Remove pointless old commentDiego Biurrun2013-08-01
|
* h264: deMpegEncContextizeAnton Khirnov2013-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Replace computations of remaining bits with calls to get_bits_left().Alex Converse2012-03-05
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Ignore x264 build=0 as there is no such version, this restores previousMichael Niedermayer2010-03-21
| | | | | | behavior approximately. Originally committed as revision 22628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split SEI code off h264.c.Michael Niedermayer2010-01-12
Originally committed as revision 21168 to svn://svn.ffmpeg.org/ffmpeg/trunk