summaryrefslogtreecommitdiff
path: root/libpostproc/postprocess.c
Commit message (Collapse)AuthorAge
* postproc: fix qp countMichael Niedermayer2014-10-13
| | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libpostproc: support grayscaleMichael Niedermayer2014-10-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc/postprocess: fix quant store for fq modeMichael Niedermayer2014-10-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc: add basic deblock filter visualization supportMichael Niedermayer2014-09-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postprocess: prefetch* dont change anything, thus their arguments should be ↵Michael Niedermayer2014-09-22
| | | | | | const Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc/postprocess: Avoid some ifs in do_a_deblock_C()Michael Niedermayer2014-09-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc/postprocess: remove redundant castsMichael Niedermayer2014-09-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc/postprocess: Use FF_ARRAY_ELEMS() in pp_free_context() instead of ↵Michael Niedermayer2014-09-18
| | | | | | hard-coding their size Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc/postprocess: Remove unused argument from reallocAlign()Michael Niedermayer2014-09-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc/postprocess: use av_strtok()Michael Niedermayer2014-09-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postprocess: make some variables in pp_get_mode_by_name_and_quality() constMichael Niedermayer2014-09-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc: simplify forwarding return codesMichael Niedermayer2014-09-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libpostproc/postprocess: avoid some if()Michael Niedermayer2014-09-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc: use FFMIN/FFMAX where appropriateMichael Niedermayer2014-09-04
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add missing "const" all over the place.Reimar Döffinger2014-08-29
| | | | | | Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* Drop remaining unneeded != NULLMichael Niedermayer2014-08-15
| | | | | Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39'Michael Niedermayer2014-08-15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * Remove libpostproc.Diego Biurrun2012-02-23
| | | | | | | | | | | | | | | | 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
* | postproc: fix null pointer dereference with invalid option stringsMichael Niedermayer2013-12-11
| | | | | | | | | | Fixes CID1135760 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/pp: switch to an AVOptions-based system.Clément Bœsch2013-04-10
| | | | | | | | | | Also add and use the '|' separator instead of ':' since it's incompatible with the new option system...
* | build: postproc cleanup.Clément Bœsch2012-12-30
| | | | | | | | | | This reverts 79f80f5c, moves postproc along with the other libraries, and fix the postproc dependency to libavutil.
* | libpostproc: alloc a few bytes more in the temporary bufferMichael Niedermayer2012-12-28
| | | | | | | | | | | | | | | | | | This avoids dering reading 4 bytes prior the buffer (1 byte can be used) Fixes Ticket2057 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libpostproc: fix leak of 2kbMichael Niedermayer2012-12-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pp: add support for SSE2.Clément Bœsch2012-11-18
| |
* | pp: add auto detection cpu flag.Clément Bœsch2012-11-18
| |
* | pp: add various const for pointers.Clément Bœsch2012-11-18
| |
* | pp: simplify postProcess().Clément Bœsch2012-11-16
| |
* | pp: rework the way templating is done.Clément Bœsch2012-11-16
| | | | | | | | | | | | | | | | | | | | | | 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.
* | postproc: Fix unprotected inline asmDerek Buitenhuis2012-09-11
| | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rename the remaining instances of HAVE_MMX2 to HAVE_MMXEXTXhmikosR2012-08-20
| | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pp: check that the argument is not NULL as this is not supportedMichael Niedermayer2012-07-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | postprocess: fix another void returning void function.Michael Niedermayer2012-06-10
| | | | | | | | | | | | lets hope this makes suncc happy finally ... Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libpostproc: add bitexact mode, which is needed for regression testing.Michael Niedermayer2012-02-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libpostproc: add pp=help support to print the help text via av_log()Michael Niedermayer2012-02-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libpostproc: increase LIBPOSTPROC_VERSION_MICRO to 100Michael Niedermayer2011-12-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: cabac: replace explicit memory references with "m" operands avplay: don't request a stereo downmix wmapro: use av_float2int() lavc: avoid invalid memcpy() in avcodec_default_release_buffer() lavu: replace int/float punning functions lavfi: install libavfilter/vsrc_buffer.h Remove extraneous semicolons sdp: Restore the original mp4 format h264 extradata if converted rtpenc: Add support for mp4 format h264 rtpenc: Simplify code by introducing a separate end pointer movenc: Use the actual converted sample for RTP hinting Fix a bunch of common typos. Conflicts: doc/developer.texi doc/eval.texi doc/filters.texi doc/protocols.texi ffmpeg.c ffplay.c libavcodec/mpegvideo.h libavcodec/x86/cabac.h libavfilter/Makefile libavformat/avformat.h libavformat/cafdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/gxfenc.c libavformat/img2.c libavformat/movenc.c libavformat/mpegts.c libavformat/rtpenc_h264.c libavformat/utils.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fix a bunch of common typos.Diego Biurrun2011-12-11
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mov: Don't av_malloc(0). avconv: only allocate 1 AVFrame per input stream avconv: fix memleaks due to not freeing the AVFrame for audio h264-fate: remove -strict 1 except where necessary (mr4/5-tandberg). misc Doxygen markup improvements doxygen: eliminate Qt-style doxygen syntax g722: Add a regression test for muxing/demuxing in wav g722: Change bits per sample to 4 g722dec: Signal skipping the lower bits via AVOptions instead of bits_per_coded_sample api-example: update to use avcodec_decode_audio4() avplay: use avcodec_decode_audio4() avplay: use a separate buffer for playing silence avformat: use avcodec_decode_audio4() in avformat_find_stream_info() avconv: use avcodec_decode_audio4() instead of avcodec_decode_audio3() mov: Allow empty stts atom. doc: document preferred Doxygen syntax and make patcheck detect it Conflicts: avconv.c ffplay.c libavcodec/mlpdec.c libavcodec/version.h libavformat/mov.c tests/codec-regression.sh tests/fate/h264.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: eliminate Qt-style doxygen syntaxDiego Biurrun2011-12-05
| |
| * postprocess.c: filter name needs to be double 0 terminatedPiotr Kaczuba2011-08-26
| | | | | | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ffserver: remove unused variable. Remove unused and outdated TODO file. gitignore: Drop individual .d ignore; it is already covered by a wildcard. lavf: deprecate AVStream.quality. bink: pass Bink version to audio decoder through extradata instead of codec_tag. libpostproc: Remove disabled code. flashsv: improve some comments and fix some wrong ones flashsv: Eliminate redundant variable indirection. flashsv: set reference frame type to full frame flashsv: replace bitstream description by a link to the specification flashsv: convert a debug av_log into av_dlog flashsv: simplify condition flashsv: return more meaningful error values flashsv: cosmetics: break some overly long lines flashsv: cosmetics: drop some unnecessary parentheses swscale: amend documentation to mention use of native depth for scaling. eval: add missing comma to tests. eval: fix memleak. H.264: make loopfilter bS const where applicable Conflicts: libavcodec/binkaudio.c libavformat/bink.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libpostproc: Remove disabled code.Diego Biurrun2011-07-06
| |
* | postprocess: Remove test for impossible condition (was: Re: postprocess.c: ↵Piotr Kaczuba2011-06-02
| | | | | | | | replace check for p==NULL with *p==0)
* | postprocess.c: filter name needs to be double 0 terminatedPiotr Kaczuba2011-05-31
| |
* | Revert 1a5e4fd8c5b99478b4e08a69261930bb12aa948b for postproc. This broke the ↵Michael Niedermayer2011-05-29
| | | | | | | | | | | | code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: log: Fix an oob array read. cosmetics: trim trailing whitespace in postproc Ban strncpy() it's too easy to misuse. psymodel: Remove wrapper functions. aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'. regtest: remove redundant flags in jpg test regtest: use run_ffmpeg in do_image_formats regtest: simplify encoding functions ffmpeg.c: check for interlaced flag in the correct place. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: trim trailing whitespace in postprocAlex Converse2011-05-08
| |
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) doc: Check standalone compilation before submitting new components. Fix standalone compilation of pipe protocol. Fix standalone compilation of ac3_fixed encoder. Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders. Fix standalone compilation of IMC decoder. Fix standalone compilation of WTV demuxer. Fix standalone compilation of MXPEG decoder. flashsv: K&R cosmetics matroskaenc: fix memory leak vc1: make overlap filter for I-frames bit-exact. vc1dec: use s->start/end_mb_y instead of passing them as function args. Revert "VC1: merge idct8x8, coeff adjustments and put_pixels." Replace strncpy() with av_strlcpy(). indeo3: Eliminate use of long. get_bits: make cache unsigned to eliminate undefined signed overflow. asfdec: fix assert failure on invalid files avfilter: check malloc return values. Not pulled as reason for reindent is not pulled: mpegvideo: reindent. nutenc: check malloc return values. Not pulled due to much simpler solution in ffmpeg *: don't av_malloc(0). ... Conflicts: doc/developer.texi libavcodec/Makefile libavcodec/get_bits.h libavcodec/mpegvideo.c libavformat/Makefile libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace strncpy() with av_strlcpy().Alex Converse2011-05-03
| |
| * libpostproc: Remove crufty code disabled by the big bump.Diego Biurrun2011-04-20
| |