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
2021-10-02libpostproc/postprocess_template: Don't reimplement FFSWAPAndreas Rheinhardt
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-01-01lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bumpAnton Khirnov
They are not properly namespaced and not intended for public use.
2020-03-14libavcodec, libpostproc: Remove outcommented START/STOP_TIMERAndreas Rheinhardt
as well as includes of libavutil/timer.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-22postproc/postprocess_template: remove FF_REG_sp from clobber listMichael Niedermayer
Future gcc may no longer support this Tested-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-22postproc/postprocess_template: Avoid using %4 for the threshold compareMichael Niedermayer
This avoids problems if %4 is the stack pointer the constraints do not allow %4 to be the stack pointer but gcc 9 may no longer support specifying such constraints Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-08-30postproc: remove usage of deprecated QP_STORE_T defineJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-06-27asm: FF_-prefix internal macros used in inline assemblyMatthieu Bouron
See merge commit '39d6d3618d48625decaff7d9bdbb45b44ef2a805'.
2015-08-22avutil/x86/asm: rename REG_SP to REG_spGanesh Ajjanagadde
REG_SP is defined by Solaris system headers. This fixes a sea of warnings while building on Solaris: http://fate.ffmpeg.org/report.cgi?time=20150820233505&slot=x86-opensolaris-gcc4.3 Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-06-13Remove a few occurences of "long long" from the libraries.Carl Eugen Hoyos
2015-05-31postproc: Avoid floats in maxClipped computationMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-31postproc/postprocess_template: Compute packedYScale and QPCorrecture without ↵Michael Niedermayer
floats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-23postproc: Made QP, nonBQP, and pQPb arraysTucker DiNapoli
Also pulled QP initialization out of inner loop, which removed some redundent code. Added some dummy fields to PPContext to allow current code to work while changing the rest of the postprocessing code to support the arrays. I also increased alignment requirements for some fields in the PPContext struct to support future avx2 code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-23postproc: Replaced inline asm for prefetching with prefetch functionsTucker DiNapoli
Prefetching functions are defined in postprocess_template using the RENAME macro so that prefetching is used when available. For x86 targets inline asm is used and the functions are non-empty only for cpus where prefetching is available. For non x86 targets the gcc bultin prefetch is used if it is available, otherwise no prefetching is done. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-28postproc: Removed unecessary if/else branch when getting QP.Tucker DiNapoli
There's still an if, as QP needs to be modified if isColor=0, but it still removes a unecessary branch. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-23postproc/postprocess_template: split 2nd blockgroup loop outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-23postproc/postprocess_template: split first part of block loopMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-23postproc/postprocess_template: Move QP initialization downMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-23postproc/postprocess_template: Remove dead code and commentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-23bpostproc/postprocess_template: drop avoidable #ifdefMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-23postproc/postprocess_template: split loop in 2 (block groups of 4, blocks)Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-24postproc: add basic deblock filter visualization supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-22postproc/postprocess_template: mark unchanged function arguments constMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-19postproc: Replace CLIP by av_clip_uint8Michael Niedermayer
drop "#define CLIP av_clip_uint8" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-04postproc: use FFMIN/FFMAX where appropriateMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-24Fix libpostproc compilation with !HAVE_6REGS.Carl Eugen Hoyos
2014-03-19Automatically change MANGLE() into named inline asm operands when direct ↵Matt Oliver
symbol reference in inline asm are not supported. This is part of the patch-set for intel C inline asm on windows support Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-16postprocess_template: put rsp on the clobber list to prevent gcc from using ↵Michael Niedermayer
it in "q" Fixes Ticket2675 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-23postproc/postprocess_template: remove empty commentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-26libpostproc: silence valgrind/fate warning about using uninitialized dataMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-09Fix libpostproc compilation on x86_32 with disable-optimizations.Carl Eugen Hoyos
2012-12-28libpostproc: alloc a few bytes more in the temporary bufferMichael Niedermayer
This avoids dering reading 4 bytes prior the buffer (1 byte can be used) Fixes Ticket2057 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-28libpostproc: Fix off by 1 error in the C dering codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-19pp: fix a few typo in the template.Clément Bœsch
2012-11-18pp: add SSE2 deInterlaceInterpolateCubic().Clément Bœsch
2124 decicycles in deInterlaceInterpolateCubic_C, 67100774 runs, 8090 skips 458 decicycles in deInterlaceInterpolateCubic_MMX2, 67107146 runs, 1718 skips 382 decicycles in deInterlaceInterpolateCubic_SSE2, 67107086 runs, 1778 skips
2012-11-18pp: add support for SSE2.Clément Bœsch
2012-11-17pp: rework the way templating is done.Clément Bœsch
This refactoring simplifies the usage of the template: define the profile and include the template is all that is required. It should now be easier to add more instruction sets. The HAVE_* flags are changed with TEMPLATE_PP_* setting to avoid messing them up. See the top comment in postprocess_template.c for details.
2012-11-16pp: fix typo in avg() comment.Clément Bœsch
2012-10-13pp: avoid overflow in w*hMichael Niedermayer
Fixes CID700580 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-11postproc: Fix unprotected inline asmDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20rename the remaining instances of HAVE_MMX2 to HAVE_MMXEXTXhmikosR
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-09Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: mpegvideo: reduce excessive inlining of mpeg_motion() mpegvideo: convert mpegvideo_common.h to a .c file build: factor out mpegvideo.o dependencies to CONFIG_MPEGVIDEO Move MASK_ABS macro to libavcodec/mathops.h x86: move MANGLE() and related macros to libavutil/x86/asm.h x86: rename libavutil/x86_cpu.h to libavutil/x86/asm.h aacdec: Don't fall back to the old output configuration when no old configuration is present. rtmp: Add message tracking rtsp: Support mpegts in raw udp packets rtsp: Support receiving plain data over UDP without any RTP encapsulation rtpdec: Remove an unused include rtpenc: Remove an av_abort() that depends on user-supplied data vsrc_movie: discourage its use with avconv. avconv: allow no input files. avconv: prevent invalid reads in transcode_init() avconv: rename OutputStream.is_past_recording_time to finished. Conflicts: configure doc/filters.texi ffmpeg.c ffmpeg.h libavcodec/Makefile libavcodec/aacdec.c libavcodec/mpegvideo.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-29libpostproc: fix out of array accesses detected by AddressSanitizer.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-23Remove libpostproc.Diego Biurrun
This library does not fit into Libav as a whole and its code is just a maintenance burden. Furthermore it is now available as an external project, which completely obviates any reason to keep it around. URL: http://git.videolan.org/?p=libpostproc.git
2012-01-05Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (46 commits) mtv: Make sure audio_subsegments is not 0 v4l2: use V4L2_FMT_FLAG_EMULATED only if it is defined avconv: add symbolic names for -vsync parameters flvdec: Fix compiler warning for uninitialized variables rtsp: Fix compiler warning for uninitialized variable ulti: convert to new bytestream API. swscale: Use standard multiple inclusion guards in ppc/ header files. Place some START_TIMER invocations in separate blocks. v4l2: list available formats v4l2: set the proper codec_tag v4l2: refactor device_open v4l2: simplify away io_method v4l2: cosmetics v4l2: uniform and format options v4l2: do not force interlaced mode avio: exit early in fill_buffer without read_packet vc1dec: fix invalid memory access for small video dimensions rv34: fix invalid memory access for small video dimensions rv34: joint coefficient decoding and dequantization avplay: Don't call avio_set_interrupt_cb(NULL) ... Conflicts: Changelog avconv.c doc/APIchanges doc/indevs.texi libavcodec/adxenc.c libavcodec/dnxhdenc.c libavcodec/h264.c libavdevice/v4l2.c libavformat/flvdec.c libavformat/mtv.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-04Place some START_TIMER invocations in separate blocks.Diego Biurrun
This fixes compilation failures related to START_TIMER/STOP_TIMER macros and -Werror=declaration-after-statement. START_TIMER declares variables and thus may not be placed after statements outside of a new block.
2012-01-03Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: mpegenc: use avctx->slices as number of slices v410enc: fix undefined signed left shift caused by integer promotion Release notes: mention cleaned up header includes fix Changelog file Fix a bunch of typos. Drop some pointless void* return value casts from av_malloc() invocations. wavpack: fix typos in previous cosmetic clean-up commit wavpack: cosmetics: K&R pretty-printing avconv: remove the 'codec framerate is different from stream' warning wavpack: determine sample_fmt before requesting a buffer bmv audio: implement new audio decoding API mpegaudiodec: skip all channels when skipping granules mpegenc: simplify muxrate calculation Conflicts: Changelog avconv.c doc/RELEASE_NOTES libavcodec/h264.c libavcodec/mpeg12.c libavcodec/mpegaudiodec.c libavcodec/mpegvideo.c libavformat/mpegenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-02Fix a bunch of typos.Diego Biurrun
2011-12-22Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (27 commits) asfdec: add side data to ASFStream packet instead of output packet. idroqdec: set AVFMTCTX_NOHEADER and create streams as they occur. nellymoserdec: Indicate that the decoder can handle changed parameters libavcodec: Apply parameter change side data when decoding audio flvdec: Add param change side data if the sample rate or channels have changed libavformat: Add a utility function for adding parameter change side data libavcodec: Define a side data type for parameter changes aacdec: Handle new extradata passed as side data flvdec: Export new AAC/H.264 extradata as side data on the next packet libavcodec: Define a side data type for new extradata flacdec: skip all track indices at once instead of looping. mxf: Add PictureEssenceCoding UL for V210. mxfdec: consider QuantizationBits between 17 and 24 to be pcm_s24* mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container. mxf: H.264/MPEG-4 AVC Intra support configure: Show whether the safe bitstream reader is enabled x86: Tighten register constraints for decode_significance*_x86. Replace Subversion revisions in comments by Git hashes. h264_cabac: synchronize decode_significance_*_x86 conditionals w32threads: wait for the waked thread in pthread_cond_signal. ... Conflicts: libavcodec/avcodec.h libavcodec/version.h libavformat/flvdec.c libavformat/utils.c tests/ref/lavfi/pixdesc tests/ref/lavfi/pixfmts_copy tests/ref/lavfi/pixfmts_null tests/ref/lavfi/pixfmts_scale tests/ref/lavfi/pixfmts_vflip Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-12-21postproc: altivec: fix trivial cases of mixed declarations and codeMans Rullgard
This moves declarations without initialisers or with constant initialisers to the start of a block, and adds do {} while(0) around some macros, thus allowing declarations within them. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-13Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: doxygen: misc consistency, spelling and wording fixes vcr1: drop unnecessary emms_c() calls without MMX code Replace all uses of av_close_input_file() with avformat_close_input(). lavf: add avformat_close_input(). lavf: deprecate av_close_input_stream(). lavf doxy: add some basic demuxing documentation. lavf doxy: add some general lavf information. lavf doxy: add misc utility functions to a group. lavf doxy: add av_guess_codec/format to the encoding group. lavf doxy: add core functions to a doxy group. Add basic libavdevice documentation. lavc: convert error_recognition to err_recognition. avconv: update -map option help text x86: Require 7 registers for the cabac asm x86: bswap: remove test for bswap instruction bswap: make generic implementation more compiler-friendly h264: remove useless cast proresdec: fix decode_slice() prototype Conflicts: configure doc/APIchanges ffprobe.c libavcodec/avcodec.h libavcodec/celp_math.h libavcodec/h264.c libavfilter/src_movie.c libavformat/anm.c libavformat/avformat.h libavformat/version.h libavutil/avstring.h libavutil/bswap.h Merged-by: Michael Niedermayer <michaelni@gmx.at>