summaryrefslogtreecommitdiff
path: root/libpostproc
Commit message (Collapse)AuthorAgeFilesLines
...
* | doxygen: Standardize root-level modulesTimothy Gu2016-08-021-1/+3
| |
* | Merge commit '535a742c2695a9e0c586b50d7fa76e318232ff24'Matthieu Bouron2016-06-271-3/+6
|\ \ | |/ | | | | | | | | | | * commit '535a742c2695a9e0c586b50d7fa76e318232ff24': build: Change structure of the linker version script templates Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
* | asm: FF_-prefix internal macros used in inline assemblyMatthieu Bouron2016-06-271-322/+322
| | | | | | | | See merge commit '39d6d3618d48625decaff7d9bdbb45b44ef2a805'.
* | postproc: fix unaligned accessCarl Eugen Hoyos2016-02-231-1/+1
| | | | | | | | | | Based on 59074310 by Andreas Cadhalpun. Fixes ticket #5259.
* | all: Make header guard names consistentTimothy Gu2016-01-311-3/+3
| |
* | Merge commit 'e88103a7f92cf27a2868b50acc8a9912f6088249'Hendrik Leppkes2015-09-051-2/+2
|\ \ | |/ | | | | | | | | | | * commit 'e88103a7f92cf27a2868b50acc8a9912f6088249': Bump major versions of all libraries Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | avutil/x86/asm: rename REG_SP to REG_spGanesh Ajjanagadde2015-08-221-1/+1
| | | | | | | | | | | | | | | | | | 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>
* | postproc: Deprecate QP_STORE_T, it lacks a PP/AV/FF prefixMichael Niedermayer2015-08-102-2/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | postproc: fix unaligned accessAndreas Cadhalpun2015-06-191-1/+2
| | | | | | | | | | | | | | | | | | | | QP_store is only 8-bit-aligned, so accessing it as uint32_t causes SIGBUS crashes on sparc. The AV_RN32/AV_WN32 macros only do unaligned access in the HAVE_FAST_UNALIGNED case. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | Remove a few occurences of "long long" from the libraries.Carl Eugen Hoyos2015-06-131-1/+1
| |
* | postproc: Avoid floats in maxClipped computationMichael Niedermayer2015-05-313-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess_template: Compute packedYScale and QPCorrecture without ↵Michael Niedermayer2015-05-311-5/+5
| | | | | | | | | | | | floats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: Use size_t to hold strlen()s valueMichael Niedermayer2015-05-101-1/+1
| | | | | | | | | | | | This should make no difference but its more correct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc: Made QP, nonBQP, and pQPb arraysTucker DiNapoli2015-04-222-45/+46
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | postproc: Replaced inline asm for prefetching with prefetch functionsTucker DiNapoli2015-04-222-86/+71
| | | | | | | | | | | | | | | | | | | | 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>
* | postproc: Removed unecessary if/else branch when getting QP.Tucker DiNapoli2015-03-281-8/+4
| | | | | | | | | | | | | | 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>
* | postproc/postprocess_template: split 2nd blockgroup loop outMichael Niedermayer2015-03-231-1/+30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess_template: split first part of block loopMichael Niedermayer2015-03-231-4/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess_template: Move QP initialization downMichael Niedermayer2015-03-231-23/+22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess_template: Remove dead code and commentsMichael Niedermayer2015-03-231-27/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bpostproc/postprocess_template: drop avoidable #ifdefMichael Niedermayer2015-03-231-3/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess_template: split loop in 2 (block groups of 4, blocks)Michael Niedermayer2015-03-231-1/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc: mark alloc/free context functions as av_coldMichael Niedermayer2015-02-271-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: Check for av_malloc() failureMichael Niedermayer2015-02-221-0/+2
| | | | | | | | | | | | Fixes CID1271052 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: Check for av_mallocz() failureMichael Niedermayer2015-02-221-0/+3
| | | | | | | | | | | | Fixes CID1271050 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: use av_mallocz()Michael Niedermayer2015-02-221-2/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add FFMPEG_VERSION into the binary libsMichael Niedermayer2014-12-191-0/+3
| | | | | | | | | | | | This simplifies identifying from which revision a binary of a lib came from Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc: fix qp countMichael Niedermayer2014-10-131-2/+2
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libpostproc: support grayscaleMichael Niedermayer2014-10-132-1/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: fix quant store for fq modeMichael Niedermayer2014-10-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postprocess: add YUV 4:4:0 supportMichael Niedermayer2014-10-122-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc: add basic deblock filter visualization supportMichael Niedermayer2014-09-244-6/+31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess_template: mark unchanged function arguments constMichael Niedermayer2014-09-221-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postprocess: prefetch* dont change anything, thus their arguments should be ↵Michael Niedermayer2014-09-221-4/+4
| | | | | | | | | | | | const Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: Avoid some ifs in do_a_deblock_C()Michael Niedermayer2014-09-191-9/+9
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc: Replace CLIP by av_clip_uint8Michael Niedermayer2014-09-192-18/+16
| | | | | | | | | | | | drop "#define CLIP av_clip_uint8" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: remove redundant castsMichael Niedermayer2014-09-181-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: Use FF_ARRAY_ELEMS() in pp_free_context() instead of ↵Michael Niedermayer2014-09-181-2/+4
| | | | | | | | | | | | hard-coding their size Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: Remove unused argument from reallocAlign()Michael Niedermayer2014-09-181-11/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc/postprocess: use av_strtok()Michael Niedermayer2014-09-181-3/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postprocess: make some variables in pp_get_mode_by_name_and_quality() constMichael Niedermayer2014-09-181-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc: simplify forwarding return codesMichael Niedermayer2014-09-181-8/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libpostproc/postprocess: avoid some if()Michael Niedermayer2014-09-181-15/+15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postproc: use FFMIN/FFMAX where appropriateMichael Niedermayer2014-09-042-12/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add missing "const" all over the place.Reimar Döffinger2014-08-291-1/+1
| | | | | | | | | | | | Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Drop remaining unneeded != NULLMichael Niedermayer2014-08-151-6/+6
| | | | | | | | | | Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39'Michael Niedermayer2014-08-151-4/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39': cosmetics: Write NULL pointer equality checks more compactly Conflicts: cmdutils.c ffmpeg_opt.c ffplay.c libavcodec/dvbsub.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/dxa.c libavcodec/libxvid_rc.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/rv10.c libavcodec/tiffenc.c libavcodec/utils.c libavcodec/vc1dec.c libavcodec/zmbv.c libavdevice/v4l2.c libavformat/matroskadec.c libavformat/movenc.c libavformat/sdp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | bump libpostproc and libswresampleMichael Niedermayer2014-08-101-2/+2
| | | | | | | | | | | | | | this is needed / avoids some headaches as one of their dependancies (libavutil) was bumped Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix libpostproc compilation with !HAVE_6REGS.Carl Eugen Hoyos2014-04-241-15/+15
| |
* | Automatically change MANGLE() into named inline asm operands when direct ↵Matt Oliver2014-03-181-0/+7
| | | | | | | | | | | | | | | | 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>