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
2018-05-16lavc/h2645_parse: add h264_nal_unit_name for h264 NAL type.Jun Zhao
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2017-10-17h264: Add stream constraint values to the common headerMark Thompson
With comments describing the derivation of each value. (cherry picked from commit aaf441465080b9bc57f5ca8dea656f9b2c5dc821)
2016-08-01Merge commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c'James Almer
* commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c': h264: add H264_ prefix to the NAL unit types Conflicts: libavcodec/h264_parse.c libavcodec/h264_parser.c libavcodec/h264_slice.c libavcodec/h264dec.c Merged-by: James Almer <jamrial@gmail.com>
2016-08-01Merge commit 'f638b67e5790735f34620bf82025c9b9d6fc7216'James Almer
* commit 'f638b67e5790735f34620bf82025c9b9d6fc7216': h264: move the parameter set definitions to a new header file Conflicts: libavcodec/h264_parse.h libavcodec/h264_ps.c libavcodec/h264dec.h Merged-by: James Almer <jamrial@gmail.com>
2016-07-29Merge commit '251cbb44003caf179fb17afbb8a6c56643c2a646'Clément Bœsch
* commit '251cbb44003caf179fb17afbb8a6c56643c2a646': h264: create a new header for common h264 definitions Merged-by: Clément Bœsch <u@pkh.me>
2016-06-21h264: add H264_ prefix to the NAL unit typesAnton Khirnov
This will prevent conflicts e.g. in code that deals with both h264 and hevc.
2016-06-21h264: move the parameter set definitions to a new header fileAnton Khirnov
The PS parsing code is independent from the decoder, so it makes more sense for it to have its own separate header.
2016-06-21h264: create a new header for common h264 definitionsAnton Khirnov
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.
2016-06-21h264: rename h264.[ch] to h264dec.[ch]Anton Khirnov
This is more consistent with the naming of other decoders.
2016-06-21h264: drop unused NAL_FF_IGNOREAnton Khirnov
2016-06-21h264: store {curr,max}_pic_num in the per-slice contextAnton Khirnov
While the value of those variables will be constant for the whole frame, they are only used in two functions called from slice header decoding. Moving them to the per-slice context allows us to make the H264Context passed to slice_header_parse() constant.
2016-06-21h264: decode the poc values from the slice header into the per-slice contextAnton Khirnov
Copy them into the decoder-global context in field_start(). This avoids modifying the decoder-global context during bitstream parsing.
2016-06-21h264: pass a H2645NAL to slice header decodingAnton Khirnov
Replace the decoder-global nal_unit_type/nal_ref_idc variables with the per-NAL ones. The decoder-global ones still cannot be removed because they are used by hwaccels.
2016-06-12h264: factor out setting the parameter sets for a frameAnton Khirnov
2016-06-12h264: pass just the PPS to get_chroma_qp()Anton Khirnov
It does not need the whole context. This will simplify the following commit.
2016-06-12h264: factor starting a new field out of parsing the slice headerAnton Khirnov
2016-06-12h264: postpone generating the implicit MMCOsAnton Khirnov
Do it right before the MMCOs are applied to the DPB. This will allow moving the frame_start() call out of the slice header parsing, since generating the implicit MMCOs needs to be done after frame_start().
2016-06-12h264: decode the MMCOs into per-slice contextsAnton Khirnov
They are stored in the slice header, so technically they are per-slice (though they must be the same in every slice). This will simplify the following commits.
2016-06-12h264: rename mmco_index to nb_mmcoAnton Khirnov
The variable stores the number of mmco entries, so the current name is misleading.
2016-06-12h264: move initializing the slice start out of h264_slice_header_parse()Anton Khirnov
2016-06-12h264: split reading the ref list modifications and actually building the ref ↵Anton Khirnov
list This will allow postponing the reference list construction (and by consequence some other functions, like frame_start) until the whole slice header has been parsed.
2016-06-12h264: call ff_h264_fill_mbaff_ref_list() when constructing the normal ref listAnton Khirnov
There is no real reason to call it separately.
2016-06-09h264: drop unused H264Context.gbAnton Khirnov
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-05-04cosmetics: Fix spelling mistakesVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-04-24h264: eliminate max_contextsAnton Khirnov
It is always equal to nb_slice_ctx.
2016-04-24h264: remove an artificial restriction on the number of slice threadsAnton Khirnov
This limit is now unnecessary, we can easily support an arbitrary number of threads.
2016-04-24h264: make slice threading work with deblocking_filter=1Anton Khirnov
In such a case, decode the MBs in parallel without the loop filter, then execute the filter serially. The ref2frm array was previously moved to H264SliceContext. That was incorrect, since it applies to all the slices and should properly be in H264Context (it did not actually break decoding, since this distinction only becomes relevant with slice threading and deblocking_filter=1, which was not implemented before this commit). The ref2frm array is thus moved back to H264Context.
2016-04-24h264: remove H264Context.pict_typeAnton Khirnov
It is not used for anything internally, just exported in the output frames. So remove the indirection and set it directly in frame_start().
2016-04-24h264: drop a pointless indirectionAnton Khirnov
2016-04-24h264: remove unused H264SliceContext.rbsp_bufferAnton Khirnov
2016-04-24h264: merge ff_h264_free_context() into h264_decode_end()Anton Khirnov
It is no longer called from outside the h264 decoder.
2016-04-24h264: eliminate low_delayAnton Khirnov
It is always unconditionally initialized in decode_postinit() and then immediately used in one place further below. All the other places where it is accessed are just useless fluff.
2016-04-24h264_refs: remove an unused parameter from ff_h264_fill_mbaff_ref_list()Anton Khirnov
2016-04-24h264_refs: make the H264Context const where possibleAnton Khirnov
2016-04-24h264_parser: remove the remaining dependencies on the h264 decoderAnton Khirnov
2016-04-24h264: decouple extradata parsing from the decoderAnton Khirnov
This will allow decoupling the parser from the decoder.
2016-04-24h264: decouple h264_sei from the h264 decoderAnton Khirnov
Make the SEI parsing independent of the H264Context, to allow decoupling the parser from the decoder.
2016-04-24h264: factor out calculating the POC count into a separate fileAnton Khirnov
This will allow decoupling the parser from the decoder.
2016-04-24h264: decouple h264_ps from the h264 decoderAnton Khirnov
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.
2016-04-24h264: factor out parsing the reference count into a separate fileAnton Khirnov
This will allow decoupling the parser from the decoder.
2016-04-24h264_parser: switch to h2645_parse for NAL unescapingAnton Khirnov
Remove now unused ff_h264_decode_nal().
2016-03-30h264: Add missing ff_ prefix to internally visible h264_init_dequant_tables()Diego Biurrun
2016-03-28h264: switch to h2645_parse for NAL parsingAnton Khirnov
2016-03-28svq3: drop the build dependency on the h264 decoderAnton Khirnov
2016-03-28h264: move ff_h264_check_intra[4x4]_pred_mode() to h264_parseAnton Khirnov
It is shared with svq3.
2016-03-28h264: factor out pred weight table parsing into a separate fileAnton Khirnov
This will allow decoupling the parser from the decoder.
2016-02-23h264: Add an AVClass pointer to H264ContextMichael Niedermayer
Sample-Id: asan_heap-uaf_3660f67_757_cov_1257014655_Hi422FR1_SONY_A.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-12-06h264: eliminate default_ref_listAnton Khirnov
According to the spec, the reference list for a slice should be constructed by first generating an initial (what we now call "default") reference list and then optionally applying modifications to it. Our code has an optimization where the initial reference list is constructed for the first inter slice and then rebuilt for other slices if needed. This, however, adds complexity to the code, requires an extra 2.5kB array in the codec context and there is no reason to think that it has any positive effect on performance. Therefore, simplify the code by generating the reference list from scratch for each slice.
2015-10-14h264: Run VLC init under pthread_onceDerek Buitenhuis
This makes the h.264 decoder threadsafe to initialize. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-17h264: Add support for Closed Caption exportKieran Kunhya
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>