Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | h264_sei: Add namespace prefix to all SEI values | Mark Thompson | 2017-05-16 | 1 | -13/+13 |
| | | | | | This avoids confusion with equivalent H.265 SEI values when both are being used at the same time. | ||||
* | h264_sei: Check actual presence of picture timing SEI message | Michael Niedermayer | 2017-02-28 | 1 | -2/+2 |
| | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | golomb: Convert to the new bitstream reader | Diego Biurrun | 2017-01-31 | 1 | -1/+1 |
| | |||||
* | h264: add H264_ prefix to the NAL unit types | Anton Khirnov | 2016-06-21 | 1 | -14/+14 |
| | | | | | This will prevent conflicts e.g. in code that deals with both h264 and hevc. | ||||
* | lavc: drop unnecessary h264dec.h includes | Anton Khirnov | 2016-06-21 | 1 | -1/+1 |
| | |||||
* | h264: move the parameter set definitions to a new header file | Anton Khirnov | 2016-06-21 | 1 | -0/+1 |
| | | | | | The PS parsing code is independent from the decoder, so it makes more sense for it to have its own separate header. | ||||
* | h264: create a new header for common h264 definitions | Anton Khirnov | 2016-06-21 | 1 | -0/+1 |
| | | | | | | Move the NAL unit types into it. This will allow to stop including the whole decoder-specific h264dec.h in some code that is unrelated to the decoder and only needs some enum values. | ||||
* | h264: rename h264.[ch] to h264dec.[ch] | Anton Khirnov | 2016-06-21 | 1 | -1/+1 |
| | | | | This is more consistent with the naming of other decoders. | ||||
* | cosmetics: Fix spelling mistakes | Vittorio Giovara | 2016-05-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | h264_parser: remove the remaining dependencies on the h264 decoder | Anton Khirnov | 2016-04-24 | 1 | -62/+36 |
| | |||||
* | h264: decouple extradata parsing from the decoder | Anton Khirnov | 2016-04-24 | 1 | -1/+5 |
| | | | | This will allow decoupling the parser from the decoder. | ||||
* | h264: decouple h264_sei from the h264 decoder | Anton Khirnov | 2016-04-24 | 1 | -9/+13 |
| | | | | | Make the SEI parsing independent of the H264Context, to allow decoupling the parser from the decoder. | ||||
* | h264: factor out calculating the POC count into a separate file | Anton Khirnov | 2016-04-24 | 1 | -16/+18 |
| | | | | This will allow decoupling the parser from the decoder. | ||||
* | h264_parser: move the H264DSPContext to the parser context | Anton Khirnov | 2016-04-24 | 1 | -3/+3 |
| | |||||
* | h264: decouple h264_ps from the h264 decoder | Anton Khirnov | 2016-04-24 | 1 | -29/+44 |
| | | | | | | | | | 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_parser: eliminate H264SliceContext usage | Anton Khirnov | 2016-04-24 | 1 | -34/+32 |
| | | | | It is no longer needed for anything. | ||||
* | h264: factor out parsing the reference count into a separate file | Anton Khirnov | 2016-04-24 | 1 | -4/+6 |
| | | | | This will allow decoupling the parser from the decoder. | ||||
* | h264: move reading direct_spatial_mv_pred out of ff_set_ref_count() | Anton Khirnov | 2016-04-24 | 1 | -0/+3 |
| | | | | | It has nothing to do with the reference count and so does not belong in this function. | ||||
* | h264_parser: switch to h2645_parse for NAL unescaping | Anton Khirnov | 2016-04-24 | 1 | -10/+27 |
| | | | | Remove now unused ff_h264_decode_nal(). | ||||
* | h264: factor out pred weight table parsing into a separate file | Anton Khirnov | 2016-03-28 | 1 | -1/+2 |
| | | | | This will allow decoupling the parser from the decoder. | ||||
* | h264data: Move all data tables from a header to a .c file | Diego Biurrun | 2016-03-25 | 1 | -1/+1 |
| | |||||
* | h264: Clean up #includes | Diego Biurrun | 2016-03-25 | 1 | -5/+13 |
| | |||||
* | h264_parser: Rename close() to h264_close() | Diego Biurrun | 2015-11-01 | 1 | -2/+2 |
| | | | | At least on AIX it conflicts with the close() libc function from unistd.h. | ||||
* | h264: drop the now unused per-slice H264Contexts | Anton Khirnov | 2015-03-21 | 1 | -1/+0 |
| | |||||
* | h264: move rbsp_buffer into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | h264: use a separate GetBitContext for slice data | Anton Khirnov | 2015-03-21 | 1 | -19/+21 |
| | |||||
* | h264: move the ref lists variables into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -2/+2 |
| | |||||
* | h264: move the slice type variables into the per-slice context | Anton Khirnov | 2015-03-21 | 1 | -5/+5 |
| | |||||
* | h264: split weighted pred-related vars into per-slice context | Anton Khirnov | 2015-03-21 | 1 | -1/+8 |
| | |||||
* | h264_parser: export video format and dimensions | Anton Khirnov | 2015-02-19 | 1 | -0/+29 |
| | |||||
* | h264_parser: restore a comment lost in 0268a54 | Anton Khirnov | 2015-01-27 | 1 | -0/+1 |
| | |||||
* | h264: move parser-only variables to their own context | Anton Khirnov | 2015-01-27 | 1 | -14/+26 |
| | |||||
* | h264_parser: don't stop on SPS_EXT in split | John Stebbins | 2014-11-11 | 1 | -2/+4 |
| | | | | | Add SPS_EXT, SEI, and subset SPS to codes that are skipped during split. These codes can come before the PPS and results in incomplete extradata. | ||||
* | cosmetics: Write NULL pointer equality checks more compactly | Gabriel Dume | 2014-08-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | h264: Move start code search functions into separate source files. | Ben Avison | 2014-08-04 | 1 | -1/+1 |
| | | | | | | This permits re-use with parsers for codecs which use similar start codes. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | mpegvideo: move mpegvideo formats-related defines to mpegutils.h | Vittorio Giovara | 2014-03-16 | 1 | -0/+1 |
| | |||||
* | h264_parser: use enum values in h264_find_frame_end() | Vittorio Giovara | 2014-02-15 | 1 | -3/+5 |
| | |||||
* | h264: print values in case of error | Vittorio Giovara | 2014-02-14 | 1 | -4/+5 |
| | | | | Also make error style consistent and drop redundant information. | ||||
* | h264_parser: Use ff_h264_reset_sei() | Yusuke Nakamura | 2013-10-22 | 1 | -5/+2 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | h264_parser: Fix order of operations | Michael Niedermayer | 2013-10-22 | 1 | -1/+1 |
| | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | h264_parser: Fix POC parsing for the case where MMCO_RESET is present. | Yusuke Nakamura | 2013-10-15 | 1 | -8/+102 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | h264_parser: Fix POC parsing for the case where MMCO_RESET is absent. | Yusuke Nakamura | 2013-10-15 | 1 | -2/+12 |
| | | | | | | | The prev_ values were not set after parsing POC. Increase length of the buffer decoded to parse enough safely. Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | h264dsp: Factorize code into a new function, h264_find_start_code_candidate | Ben Avison | 2013-08-08 | 1 | -24/+3 |
| | | | | | | | | | | | | | | | This performs the start code search which was previously part of h264_find_frame_end() - the most CPU intensive part of the function. By itself, this results in a performance regression: Before After Mean StdDev Mean StdDev Change Overall time 2925.6 26.2 3068.5 31.7 -4.7% but this can more than be made up for by platform-optimised implementations of the function. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | h264_parser: Initialize the h264dsp context in the parser as well | Ben Avison | 2013-08-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | Each AVStream struct for an H.264 elementary stream actually has two copies of the H264DSPContext struct (and in fact all the other members of H264Context as well): ((H264Context *) ((AVStream *)st)->codec->priv_data)->h264dsp ((H264Context *) ((AVStream *)st)->parser->priv_data)->h264dsp but only the first of these was actually being initialised. This prevented the addition of platform-specific implementations of parser-related functions. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avcodec: Add output_picture_number to AVCodecParserContext | Yusuke Nakamura | 2013-08-02 | 1 | -1/+1 |
| | | | | | | Set output_picture_number in H.264 parser. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | h264_parser: K&R formatting cosmetics | Luca Barbato | 2013-06-07 | 1 | -130/+151 |
| | |||||
* | h264_parser: Set field_order and picture_structure. | Yusuke Nakamura | 2013-05-24 | 1 | -0/+57 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | avcodec: Add av_cold attributes to init functions missing them | Diego Biurrun | 2013-05-04 | 1 | -1/+2 |
| | |||||
* | avcodec: Drop unnecessary ff_ name prefixes from static functions | Diego Biurrun | 2013-04-30 | 1 | -3/+3 |
| | |||||
* | lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo | Martin Storsjö | 2013-03-26 | 1 | -1/+2 |
| | | | | | | | Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st> |