summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
| * h264: eliminate low_delayAnton Khirnov2016-04-24
| | | | | | | | | | | | 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.
* | lavc/h264_parser: replace AVCodecContext with logging ctx in scan_mmco_reset()Clément Bœsch2016-06-20
| |
* | lavc/h264: add a logging ctx to ff_h264_pred_weight_table()Clément Bœsch2016-06-20
| |
* | lavc/mediacodecdec{,_h264}: set FF_CODEC_CAP_SETS_PKT_DTS capabilityMatthieu Bouron2016-06-20
| | | | | | | | | | | | And sets frames pkt_dts to AV_NOPTS_VALUE as we do not want lavc/utils to overwrite the field with incorrect values as the decoder is asynchronous.
* | lavc/videotoolbox: Fix videotoolbox compile error on OS X 10.8.Dan Dennedy2016-06-19
| | | | | | | | | | | | | | | | | | Fixes error: libavcodec/videotoolbox.c:511:18: error: implicit declaration of function 'CMVideoFormatDescriptionCreateFromH264ParameterSets' is invalid in C99 This was added in 10.9: https://developer.apple.com/reference/coremedia/1489818-cmvideoformatdescriptioncreatefr?language=objc
* | lavc/magicyuv: fix undefined behaviour introduced in 8a135a55bClément Bœsch2016-06-19
| | | | | | | | Order of evaluation of parameters in C is not defined.
* | avcodec/qsvenc_h264: declare the QSVEncContext variable before using itJames Almer2016-06-19
| | | | | | | | | | | | | | | | Should fix compilation. Regression introduced by commit 63adb3602d3b35c5d1df14cf1e477bc458f96b7b Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '5b35b290dd76db64f079b3940f6148c8f273fc17'Clément Bœsch2016-06-19
|\| | | | | | | | | | | | | * commit '5b35b290dd76db64f079b3940f6148c8f273fc17': h264: remove a stale comment Merged-by: Clément Bœsch <u@pkh.me>
| * h264: remove a stale commentAnton Khirnov2016-04-24
| | | | | | | | This comment used to apply to code that was removed.
* | Merge commit '89ae244e78a8d636fbb8427a2da052b04cf710bd'Clément Bœsch2016-06-19
|\| | | | | | | | | | | | | * commit '89ae244e78a8d636fbb8427a2da052b04cf710bd': h264_refs: remove an unused parameter from ff_h264_fill_mbaff_ref_list() Merged-by: Clément Bœsch <u@pkh.me>
| * h264_refs: remove an unused parameter from ff_h264_fill_mbaff_ref_list()Anton Khirnov2016-04-24
| |
* | Merge commit '755f79f84cbeb5d749fb120e55e0098a2d7663a0'Clément Bœsch2016-06-19
|\| | | | | | | | | | | | | | | | | | | | | * commit '755f79f84cbeb5d749fb120e55e0098a2d7663a0': h264_refs: make the H264Context const where possible ff_h264_decode_ref_pic_list_reordering() and h264_initialise_ref_list() do not have a const H264Context * as they modify the default_ref inside that context. Merged-by: Clément Bœsch <u@pkh.me>
| * h264_refs: make the H264Context const where possibleAnton Khirnov2016-04-24
| |
* | Merge commit 'a2fd547839d3ef8f342b6f2c096d0887675d3b1a'Clément Bœsch2016-06-19
|\| | | | | | | | | | | | | * commit 'a2fd547839d3ef8f342b6f2c096d0887675d3b1a': h264_refs: reorder functions to avoid forward declarations Merged-by: Clément Bœsch <u@pkh.me>
| * h264_refs: reorder functions to avoid forward declarationsAnton Khirnov2016-04-24
| |
* | Merge commit '0ba471d7d864c712f45d7ac6aca4829aba025adc'Clément Bœsch2016-06-19
|\| | | | | | | | | | | | | | | | | * commit '0ba471d7d864c712f45d7ac6aca4829aba025adc': h264: eliminate copy_fields Added a copy of default_ref which isn't present in Libav. Merged-by: Clément Bœsch <u@pkh.me>
| * h264: eliminate copy_fieldsAnton Khirnov2016-04-24
| | | | | | | | | | It is very fragile against fields being moved and hides what is actually being copied. Copy all the fields explicitly instead.
* | Merge commit '72da8d9bb24d1b1bf74c2f1108650c0da0054d2e'Clément Bœsch2016-06-19
|\| | | | | | | | | | | | | * commit '72da8d9bb24d1b1bf74c2f1108650c0da0054d2e': h264_parser: remove the remaining dependencies on the h264 decoder Merged-by: Clément Bœsch <u@pkh.me>
| * h264_parser: remove the remaining dependencies on the h264 decoderAnton Khirnov2016-04-24
| |
* | lavc/h264: move history parsing variable to H264ParseContextClément Bœsch2016-06-19
| | | | | | | | This makes h264_find_frame_end() not depend on H264Context anymore.
* | lavc/h264_parser: pass logctx to h264_find_frame_end()Clément Bœsch2016-06-19
| | | | | | | | This helps removing the H264Context from the H264ParseContext.
* | Merge commit '98c97994c5b90bdae02accb155eeceeb5224b8ef'Clément Bœsch2016-06-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '98c97994c5b90bdae02accb155eeceeb5224b8ef': h264: decouple extradata parsing from the decoder Main changes: - move get_avc_nalsize() inside h264_parser.c and make it use H264ParseContext instead of H264Context. This helps fixing fate-flv-demux. - Also use is_avc/nal_length_size from the H264ParseContext in various places instead of the H264Context one as that's the fields now filled by ff_h264_decode_extradata() - h264_parse: dont fail decode_extradata_ps() due to nal split failure. Change by Michael to fix decoding of h264/ref_10.avi. Merged-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
| * h264: decouple extradata parsing from the decoderAnton Khirnov2016-04-24
| | | | | | | | This will allow decoupling the parser from the decoder.
* | avcodec/magicyuv: check dimensionsPaul B Mahol2016-06-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libavcodec: factor out SEI generation for A53 captionsAndrey Turkin2016-06-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/h264_parse: remove tabs introduced in a2922b5dClément Bœsch2016-06-18
| |
* | Merge commit '728d90a0c1973661a9e73da697bf4f90c9d19577'Clément Bœsch2016-06-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '728d90a0c1973661a9e73da697bf4f90c9d19577': h264: decouple h264_sei from the h264 decoder Main changes: - SEI decoding doesn't have access to the debug flag in the codec context so a few logging are dropped. - naming of quincunx_sampling_flag and frame_packing_arrangement_type are kept as they are in FFmpeg instead of respectively quincunx_subsampling and arrangement_type used in Libav because the former match the specifications. - don't reset the x264 build info once read in order to fix fate-h264-lossless (change by Hendrik) - H264Context.has_recovery_point and deprecated AVCodecContext.dtg_active_format are set after ff_h264_sei_decode() based on the SEI state since ff_h264_sei_decode() doesn't have access to H264Context anymore. - frame_packing_arrangement_type is not checked against <= 0 in decode_postinit() since it is always read as a positive value with get_bits(). This fixes a -Wtype-limits warning by GCC spotted by Michael. Side Notes: - tested that ffprobe on the file from ticket #3652 still returns 4 keyframes - tested that playback from ticket #3063 still works Merged-by: Clément Bœsch <clement@stupeflix.com> Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * 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.
* | avcodec/ffv1enc: silence warning about deprecated coded_frameJames Almer2016-06-17
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/snow: Document BlockNodeMichael Niedermayer2016-06-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/snow: Remove unused functionMichael Niedermayer2016-06-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/videotoolbox: remove config_info maximum capacityClément Bœsch2016-06-17
| | | | | | | | | | In case of extradata, config_info will contain two entries instead of one.
* | lavc/videotoolbox: CFRelease() sessionClément Bœsch2016-06-17
| | | | | | | | | | | | "When you are done with a decompression session you created, call VTDecompressionSessionInvalidate to tear it down and then CFRelease to release your object reference."
* | d3d11va: don't keep the context lock while waiting for a frameSteve Lhomme2016-06-17
| | | | | | | | | | | | also fixes a deadlock found by Денис Кулаков <kudesnik33ra@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/videotoolboxenc: remove unnecessary loggingRick Kern2016-06-16
| | | | | | | | Signed-off-by: Rick Kern <kernrj@gmail.com>
* | lavc/videotoolbox: fix H.264 hwaccel init issueRick Kern2016-06-16
| | | | | | | | | | | | Fixes VTDecompressionSessionCreate() error. Signed-off-by: Rick Kern <kernrj@gmail.com>
* | lavc/audiotoolboxenc: fix dropped frames on iOSRick Kern2016-06-16
| | | | | | | | | | | | | | AudioConverterFillComplexBuffer() doesn't always call its callback. A frame queue is used to prevent skipped audio samples. Signed-off-by: Rick Kern <kernrj@gmail.com>
* | avodec/h264dec: fix compilation with -DTRACEJames Almer2016-06-16
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/sheervideo: check build_vlc for failurePaul B Mahol2016-06-16
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavc/dpx: Support decoding 12 bit colourspace with transparency information.Carl Eugen Hoyos2016-06-15
| |
* | lavc/mediacodec: re-indent after previous commitMatthieu Bouron2016-06-15
| |
* | lavc/mediacodec: refactor ff_AMediaCodecList_getCodecByTypeMatthieu Bouron2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | Allows to select a codec (encoder or decoder) only if it supports a specific profile. Adds ff_AMediaCodecProfile_getProfileFromAVCodecContext to convert an AVCodecContext profile to a MediaCodec profile. It only supports H264 for now. The codepath using MediaCodecList.findDecoderForFormat() (Android >= 5.0) has been dropped as this method does not allow to select a decoder compatible with a specific profile.
* | x86/aacpsdsp: optimize add_squares loopJames Almer2016-06-14
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lavc/dpx: Support decoding 10 bit colourspace with transparency information.Carl Eugen Hoyos2016-06-14
| | | | | | | | Fixes one sample from ticket #5639.
* | lavc/h264_sei: fix broken style around green metadata codeClément Bœsch2016-06-14
| |
* | lavc/h264: rename GreenMetaData to H264SEIGreenMetaDataClément Bœsch2016-06-14
| | | | | | | | Reduces diff for the next merge with Libav.
* | lavc/h264_sei: reduce scope of parameters for green meta decodeClément Bœsch2016-06-14
| | | | | | | | | | This is again will help the merge as ff_h264_decode_sei will not have access to H264Context anymore.
* | lavc/h264: move green meta logging out of the sei decodingClément Bœsch2016-06-14
| | | | | | | | | | This will simplify the next Libav merge where SEI decoding doesn't have access to the debug level anymore.
* | lavc/h264_sei: fix green metadata typoClément Bœsch2016-06-13
| |
* | avcodec/ffv1dec: fix some unsupported pix_fmtJérôme Martinez2016-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When checking pix_fmt mapping, some bitstreams are mapped to an incorrect pix_fmt instead of being rejected (ENOSYS). Actually, such bitstreams are not supported (FFmpeg encoder does not produce such bitstream, such bitstream may come only from another encoder for the moment). - JPEG 2000 RCT 11/13/15/16 bit depths are mapped to a 8-bit FFmpeg pix_fmt (e.g. bgr0), which is not expected. - JPEG 2000 RCT 9/10/12/14 bit depths with alpha are mapped to a FFmpeg pix_fmt without alpha (e.g. AV_PIX_FMT_GBRP9 for 9-bit with alpha), which is not expected. The order for choosing the pix_fmt is changed to the one used by YCbCr selection (<=8 bit first). " && !f->transparency" is added to the other lines. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>