Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-20h264dec: do not call finish_setup() if we have not started a frameAnton Khirnov
Found-By: Jan Ruge <jan.s.ruge@gmail.com> Bug-Id: 952
2016-07-20h264dec: handle zero-sized NAL units in get_last_needed_nal()Anton Khirnov
The current code will ignore the init_get_bits() failure and do an invalid read from the uninitialized GetBitContext. Found-By: Jan Ruge <jan.s.ruge@gmail.com> Bug-Id: 952
2016-07-20h264dec: make sure not to call finish_setup() more than once per frameAnton Khirnov
It does not break anything currently, but should not be done anyway.
2016-07-20avconv_dxva2: add a profile check for hevcHendrik Leppkes
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-07-20hevc: set profile based on the profile compatibility flags if neededHendrik Leppkes
This fixes retrieving a valid profile for many of the FATE conformance samples, allowing them to be properly decoded by the HWAccel after adding a profile check. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-07-18hevc: Add AVX2 DC IDCTJames Almer
Originally written by Pierre Edouard Lepere <pierre-edouard.lepere@insa-rennes.fr>. Integrated to Libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
2016-07-18hevc: Add coefficient limiting to speed up IDCTMickaël Raulet
Integrated to libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
2016-07-18hevc: Add DC IDCTMickaël Raulet
Integrated to Libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
2016-07-18hevcdsp_template: Templatize IDCTMickaël Raulet
Integrated to Libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
2016-07-18hevc: Separate adding residual to prediction from IDCTAlexandra Hájková
Based on patch 250430bf28118cf843df887e8c8b345f1c60c82d by Mickaël Raulet <mraulet@insa-rennes.fr>, integrated to Libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
2016-07-18x86util: Extend SPLATW for avx2James Almer
Integration to Libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
2016-07-17checkasm: arm: Ignore changes to bits 0-4 and 7 of FPSCRMartin Storsjö
These bits are set by exceptions in NEON instructions. Also print the differing bits when FPSCR is clobbered, and use bic instead of lsl, for clearing the topmost bits. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-17cheackasm/arm: remove NEON instructions from checkasm_checked_call_vfpJanne Grunau
Fixes AS error on non NEON builds introduced in 71a04721145. Also set the fpu directly to vfp in checkasm.S to cause build errors on NEON builds.
2016-07-17checkasm: arm: Don't start new const blocks for each stringMartin Storsjö
Each const block needs to be terminated by one endconst invocation so either call endconst after each, or just declare plain labels to the later strings. This fixes errors such as this, on some binutils versions: checkasm.S:38: Error: Macro `endconst' was already defined Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-16apichanges: Fill in missing hashes and datesDiego Biurrun
2016-07-16swscale: Add proper ff_ prefix to init functionsDiego Biurrun
They are internal symbols that should not be exported. based on a patch by Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-07-16swscale: Rename sws_context_class to ff_sws_context_classAndreas Cadhalpun
It is an internal swscale symbol and thus should not be exported. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-07-16checkasm: arm: report the first clobbered register in checkasm_checked_callJanne Grunau
2016-07-15avconv_dxva2: support HEVC Main10 decodingHendrik Leppkes
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-07-15hevc: offer DXVA2 for 10bit 420Anton Khirnov
2016-07-15FATE: add a test for H.264 with two fields per packetAnton Khirnov
2016-07-15h264: fix decoding multiple fields per packet with slice threadsAnton Khirnov
Since we only know whether a NAL unit corresponds to a new field after parsing the slice header, this requires reorganizing the calls to slice parsing, per-slice/field/frame init and actual decoding. In the previous code, the function for slice header decoding also immediately started a new field/frame as necessary, so any slices already queued for decoding would no longer be decodable. After this patch, we first parse the slice header, and if we determine that a new field needs to be started we decode all the queued slices.
2016-07-15h264: eliminate decode_postinit()Anton Khirnov
This function's purpose is not very well defined. Currently it does two (only marginally related) things: selecting the next output frame and calling ff_thread_finish_setup() for frame threading. The first of those more properly belongs under field_start(), while the second can be called directly from decode_nal_units().
2016-07-15FATE: add a test of H.264 SEI recovery in an intra refresh streamAnton Khirnov
2016-07-15mp3enc: write trailing paddingAnton Khirnov
2016-07-15mp3dec: read the initial/trailing padding from the LAME tagAnton Khirnov
2016-07-15libopenh264enc: Simplify init by setting FF_CODEC_CAP_INIT_CLEANUPMartin Storsjö
Also set FF_CODEC_CAP_INIT_THREADSAFE while adding internal capabilities. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-15libopenh264enc: Return a more sensible error code in some init failure pathsMartin Storsjö
Previously they returned the default AVERROR_UNKNOWN. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-15libopenh264dec: Simplify the init thanks to FF_CODEC_CAP_INIT_CLEANUP being setMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-15libopenh264dec: Fix cleanup if the init failed earlyMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-15mov: fix stream extradata_size allocationMatthieu Bouron
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-14lavd: Drop unneeded av_init_packet()sVittorio Giovara
The input packet is already unref'd by the calling function.
2016-07-14fate: Add a mixed NAL coding sampleVittorio Giovara
See 17c99b6158f2c6720af74e81ee727ee50d2e7e96. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-07-14fate: Restore order of h264 entriesVittorio Giovara
2016-07-14h264: Log more information about invalid NALu sizeVittorio Giovara
2016-07-13checkasm/arm: preserve the stack alignment checkasm_checked_callJanne Grunau
The stack used by checkasm_checked_call_vfp was a multiple of 4 when the checked function is called. AAPCS requires a double word (8 byte) aligned stack public interfaces. Since both calls are public interfaces the stack is misaligned when the checked is called. Might fix the SIGBUS error in the armv7-linux-clang-3.7 fate config.
2016-07-13checkasm: vp8.mc: initialize the full src buffer after ec32574209fJanne Grunau
Fixes "Use of uninitialised value" valgrind warnings in checkasm.
2016-07-13h2645_parse: handle embedded Annex B NAL units in size prefixed NAL unitsJanne Grunau
Fixes a regression in ca2f19b9cc3 with some mov/mp4 files. The files have several NAL units in the supposed single NAL unit after the size field. Annex B start code prefixes are used to separate them. The first NAL unit is correctly parsed but the buffer does not point to the next size field. Instead semi random data (it seems to be the rbsp_stop_one_bit and the start code prefix) is then parsed as length and will exceed the remaining length of the buffer. Patch based on the code in h264's decode_nal_units() and a similar patch by Hendrik Leppkes in FFmpeg (a9bb4cf87d1). Bug-Id: ffmpeg/trac5529 Reported-By: Vittorio Giovara
2016-07-11h264_ps: export actual height in MBs as SPS.mb_heightAnton Khirnov
Currently, SPS.mb_height is actually what the spec calls PicHeightInMapUnits, which is half the frame height when interlacing is allowed. Calling this 'mb_height' is quite confusing, and there are at least two associated bugs where this field is treated as the actual frame height - in the h264 parser and in the code computing maximum reordering buffer size for a given level. Fix those issues (and avoid possible future ones) by exporting the real frame height in this field.
2016-07-11d3d11va: don't keep the context lock while waiting for a frameSteve Lhomme
also fixes a deadlock found by Денис Кулаков <kudesnik33ra@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-07-10vp8dsp: Remove the comment saying that the height is equal to the widthMartin Storsjö
This comment isn't true, the height can be different from the width for these functions (which is why the height is passed as a parameter to them). Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-10checkasm/arm: align the clobber check data properly for ldrdJanne Grunau
Should fix the SIGBUS in the armv7-linux-clang-3.7 fate target.
2016-07-10checkasm: vp8: mc: test unequal width/height for partitionsJanne Grunau
2016-07-10vp8/armv6: mc: avoid boolean expression in calculationJanne Grunau
GNU as evaluates true as '-1' while Apple's variant and llvm's internal assembler evaluate it as '1'. The best way to avoid this madness is to eliminate boolean expressions instead of trying to fix it with preprocessor directives. Use a direct formula to calculate the required temporary space on the stack in ff_put_vp8_{epel,bilin}{4,8,16}_h[246]v[246]_armv6(). Fixes a checkasm segfault in vp8dsp.mc when using llvm's internal assembler for a non-Apple target.
2016-07-10doc: escape left brace in texi2pod.pl regexJanne Grunau
Unescaped literal left braces are deprecated and a warning was added in Perl 5.22.
2016-07-09libopenh264: Support building with the 1.6 releaseMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-08movenc: Add an option for skipping writing the mfra/tfra/mfro trailerMartin Storsjö
When writing a fragmented file, we by default write an index pointing to all the fragments at the end of the file. This causes constantly increasing memory usage during the muxing. For live streams, the index might not be useful at all. A similar fragment index is written (but at the start of the file) if the global_sidx flag is set. If ism_lookahead is set, we need to keep data about the last ism_lookahead+1 fragments. If no fragment index is to be written, we don't need to store information about all fragments, avoiding increasing the memory consumption linearly with the muxing runtime. This fixes out of memory situations with long live mp4 streams. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-08checkasm: Add tests for vp8dspMartin Storsjö
The tests are inspired by similar tests for vp9 by Ronald Bultje. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-06arm: Fix a typo in a commentMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-06vp8dsp: Clarify the first dimension of the mc function tablesMartin Storsjö
Index 0 is w=16, 1 is wd=8, 2 is wd=4. Signed-off-by: Martin Storsjö <martin@martin.st>