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
2015-10-16vp9: use AVFrame.buf[0] to check if a frame is validHendrik Leppkes
AVFrame.data[0] is not guaranteed to be set with a HWAccel
2015-10-15vp9: expose reference frames in VP9SharedContextHendrik Leppkes
2015-10-15vp9: split header into separate struct and expose in vp9.hRonald S. Bultje
This allows hwaccels to access the bitstream header information.
2015-10-04avcodec: use HAVE_THREADS header guards to silence -Wunused-functionGanesh Ajjanagadde
When compiled with --disable-pthreads, e.g http://fate.ffmpeg.org/report.cgi?time=20150917015044&slot=alpha-debian-qemu-gcc-4.7, a bunch of -Wunused-functions are reported due to missing header guards around threading related functions. This patch should silence such warnings. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-15vp9: switch min_tile_cols location so it shifts up instead of down.Ronald S. Bultje
This fixes cases where the shifted number is 64, but we shifted non- zero numbers away in the shift. The change makes behaviour consistent with libvpx.
2015-09-12vp9: Fix emu[] edge overflow conditions for >8bpp/non-420.Ronald S. Bultje
2015-09-12vp9: re-initialize internal buffers on bpp change also.Ronald S. Bultje
2015-09-10vp9: fix overflow in 8x8 topleft 32x32 idct ssse3 version.Ronald S. Bultje
Also disable the mmx/iwht optimization when the bitexact flag is set. With synthetically coded coefficients (i.e. these that lead to a residual well outside the [-255,255] range), our optimizations will overflow. It doesn't make sense to fix the overflows, since they can only occur on synthetic input, not on real fwht-generated input. Thus, add a bitexact flag that disables this optimization.
2015-09-10vp9: permanently delete segmentation refmap on any size change.Ronald S. Bultje
2015-09-05vp9: check return value of ff_thread_ref_frame().Ronald S. Bultje
Fixes CID 1322309.
2015-09-05vp9: fix edge copy for 10/12bpp frames.Ronald S. Bultje
2015-09-05vp9: do unscaled MC in scaled path if size of this reference matches.Ronald S. Bultje
This can happen if we do bidirectional MC, where one reference has the same size as the current frame, but the other one doesn't.
2015-09-05vp9: sync segmentation.absolute_vals between threads.Ronald S. Bultje
2015-09-05vp9: always sync segmentation.feat between threads.Ronald S. Bultje
2015-09-04vp9: don't erase values for {lf,ref,skip,q}_enabled if segmentation=0.Ronald S. Bultje
Instead, use segmentation.enabled before accessing each of these values.
2015-09-04vp9: fix segmentation map retention across keyframe boundaries.Ronald S. Bultje
2015-09-04vp9: fix RGB chroma subsampling.Ronald S. Bultje
2015-09-04vp9: read reserved bit in RGB header.Ronald S. Bultje
2015-09-04vp9: clip intermediates in dequant calculations.Ronald S. Bultje
This makes values consistent with libvpx.
2015-09-04vp9: fix segmentation map retention if segmentation is turned off.Ronald S. Bultje
2015-09-04vp9: use resetctx in the same way as libvpx.Ronald S. Bultje
2015-09-04vp9: fix indentation.Ronald S. Bultje
2015-09-04vp9: deal with the case where update_map=0 but we're key/intraonly.Ronald S. Bultje
2015-09-04vp9: reset segmentation information on context reset.Ronald S. Bultje
2015-07-27Merge commit 'def97856de6021965db86c25a732d78689bd6bb0'Michael Niedermayer
* commit 'def97856de6021965db86c25a732d78689bd6bb0': lavc: AV-prefix all codec capabilities Conflicts: cmdutils.c ffmpeg.c ffplay.c libavcodec/8svx.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/adpcm.c libavcodec/alac.c libavcodec/atrac3plusdec.c libavcodec/bink.c libavcodec/dnxhddec.c libavcodec/dvdec.c libavcodec/dvenc.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/fic.c libavcodec/flacdec.c libavcodec/flacenc.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/hevc.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopenjpegdec.c libavcodec/libvo-aacenc.c libavcodec/libvorbisenc.c libavcodec/libvpxdec.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpegaudiodec_float.c libavcodec/msmpeg4dec.c libavcodec/mxpegdec.c libavcodec/nvenc_h264.c libavcodec/nvenc_hevc.c libavcodec/pngdec.c libavcodec/qpeg.c libavcodec/ra288.c libavcodec/rv10.c libavcodec/s302m.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tiff.c libavcodec/tta.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/vp9.c libavcodec/wavpack.c libavcodec/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-27lavc: AV-prefix all codec capabilitiesVittorio Giovara
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-16lavc: Add properties field to AVCodecContext.Carl Eugen Hoyos
The new field can hold information about losslessness and closed captions for now.
2015-06-30vp9/update_prob: prevent out of bounds table readJames Zern
the max value of the lookup in expanded form is: (((1 << 7) - 1) << 1) - 65 + 1 + 64 = 254 add one entry of padding to inv_map_table[] to prevent out of bounds access with non-conforming / fuzzed bitstreams Signed-off-by: James Zern <jzern@google.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-25vp9: fix profile check for intraonly frames.Ronald S. Bultje
Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-19vp9: don't retain NULL as segmentation_mapAndreas Cadhalpun
This fixes segmentation faults, which were introduced in commit 4ba8f327. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-06-16doc: avoid incorrect phrase 'allows to'Andreas Cadhalpun
Also fix typo found by Lou Logan: Sacrifying -> Sacrificing Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-06-08vp9: change type of tile_size from unsigned to int64_tAndreas Cadhalpun
Otherwise the check 'tile_size < size' treats a negative size as unsigned, causing the check to pass. This subsequently leads to segmentation faults. This was originally fixed as part of Libav commit 72ca83, so the original author is one of the following developers: Anton Khirnov <anton@khirnov.net> Diego Biurrun <diego@biurrun.de> Luca Barbato <lu_zero@gentoo.org> Martin Storsjö <martin@martin.st> Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-06-01vp9: clamp final zero MV if find_ref_mvs() found no suitable candidates.Ronald S. Bultje
This may actually result in a non-zero MV. Fixes ticket 4583. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-31vp9: Parse subsampling and report missing featureVittorio Giovara
2015-05-18Merge remote-tracking branch 'rbultje/vp9-bugfixes'Michael Niedermayer
* rbultje/vp9-bugfixes: vp9: match another find_ref_mvs() bug in libvpx. vp9: fix scaled motion vector clipping for sub8x8 blocks. vp9: improve signbias check. vp9: don't allow compound references if error_resilience is enabled. vp9: clamp segmented lflvl before applying ref/mode deltas. vp9: reset loopfilter mode/ref deltas on keyframe. vp9: fix crash when playing back 440/440 content with width%64<56. vp9: extend loopfilter workaround for vp9 h/v mix-up to work for 422. vp9: clip motion vectors in the same way as libvpx does. vp9: set skip flag if the block had no coded coefficients. vp9: apply mv scaling workaround only when subsampling is enabled. vp9: read all 4x4 blocks in sub8x8 blocks individually with scalability. vp9: fix segmentation map referencing upon framesize change. vp9: disable more pmulhrsw optimizations in idct16/32. vp9: disable all pmulhrsw in 8/16 iadst x86 optimizations. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-16vp9: match another find_ref_mvs() bug in libvpx.Ronald S. Bultje
If we find a second non-sub8x8 motion vector for a non-first sub8x8 block, and the clamped value is identical to the first non-sub8x8 motion vector, then the resulting nearmv motion vector is forced to zero.
2015-05-16vp9: fix scaled motion vector clipping for sub8x8 blocks.Ronald S. Bultje
To match the obscure clipping bug behaviour in libvpx.
2015-05-16vp9: improve signbias check.Ronald S. Bultje
Otherwise it will still scale motion vectors, which leads to corrupted prediction.
2015-05-15vp9: don't allow compound references if error_resilience is enabled.Ronald S. Bultje
libvpx (probably accidentally) clears the bits if error_res is set, along with keyframe/intraonly. This probably wasn't the intention (since it's local data), but it's behaviour we have to copy...
2015-05-15vp9: clamp segmented lflvl before applying ref/mode deltas.Ronald S. Bultje
2015-05-15vp9: reset loopfilter mode/ref deltas on keyframe.Ronald S. Bultje
2015-05-15vp9: fix crash when playing back 440/440 content with width%64<56.Ronald S. Bultje
2015-05-15vp9: extend loopfilter workaround for vp9 h/v mix-up to work for 422.Ronald S. Bultje
2015-05-15avcodec/vp9: Use separate memset for counts.eobMichael Niedermayer
Makes no real difference, but maybe scares coverity less (CID1297578) Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-15vp9: clip motion vectors in the same way as libvpx does.Ronald S. Bultje
The practical effect of this is that the scaling will wrongly not be applied to the interpolation edge (the 3/4 constants in this patch). In other words, we clip to the pre-scaling interpolation, even though these should be clipped post-scaling. The resulting out-of-frame MVs are thus automatically clipped within the visible portion of the frame, which is probably not the intention, but is unfortunately what libvpx does, so we need to copy that behaviour.
2015-05-15vp9: set skip flag if the block had no coded coefficients.Ronald S. Bultje
This reproduces libvpx behaviour. It seems like it originally only targeted loopfilter behaviour, but this unfortunately effects following block contexting and thus directs bitstream sync.
2015-05-15vp9: apply mv scaling workaround only when subsampling is enabled.Ronald S. Bultje
2015-05-14vp9: read all 4x4 blocks in sub8x8 blocks individually with scalability.Ronald S. Bultje
2015-05-14vp9: fix segmentation map referencing upon framesize change.Ronald S. Bultje
2015-05-06vp9: add inter-frame profile 2/3 suport.Ronald S. Bultje