summaryrefslogtreecommitdiff
path: root/libavfilter/vf_scale.c
Commit message (Collapse)AuthorAge
* avfilter/vf_scale: Add warning for AVCOL_SPC_YCGCOMichael Niedermayer2015-04-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vf_scale: Use correct chroma positions for YUV420PKieran Kunhya2014-12-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_scale: Allow chroma samples to be above and to the left of luma ↵Michael Niedermayer2014-09-21
| | | | | | | samples Found-by: Kierank Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_scale: fix log message categoryMichael Niedermayer2014-07-28
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '862f33c10ea38ea49fa4188725df5e5246dbd1d8'Michael Niedermayer2014-05-27
|\ | | | | | | | | | | | | | | | | | | * commit '862f33c10ea38ea49fa4188725df5e5246dbd1d8': vf_scale: use the pixfmt descriptor API Conflicts: libavfilter/vf_scale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_scale: use the pixfmt descriptor APIAnton Khirnov2014-05-26
| | | | | | | | | | | | Avoid using AV_PIX_FMT_NB, since that hardcodes the number of pixel formats into lavfi and will break when a shared lavu is updated, adding new pixel formats.
* | Merge commit '58400ac133bcfb6bf8196b4e5208bc178307739b'Michael Niedermayer2014-04-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '58400ac133bcfb6bf8196b4e5208bc178307739b': lavfi: name anonymous structs Conflicts: libavfilter/buffersink.c libavfilter/f_select.c libavfilter/src_movie.c libavfilter/vf_drawbox.c libavfilter/vf_drawtext.c libavfilter/vf_overlay.c libavfilter/vf_showinfo.c libavfilter/vf_unsharp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: name anonymous structsVittorio Giovara2014-04-19
| |
| * vf_scale: make the dar variable return the DAR.Rudolf Polzer2013-11-02
| | | | | | | | | | | | | | | | | | Before, it just returned width/height. Correct is width/height*sar. That way it is consistent with DAR as in probe output and setdar. Signed-off-by: Rudolf Polzer <divverent@xonotic.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avfilter/vf_scale: simplify alignment codeMichael Niedermayer2014-01-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale: do aspect ratio and scale factor compensation togetherMichael Niedermayer2014-01-25
| | | | | | | | | | | | Fixes rounding error Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Documentation for scale filter factorLars Kiesow2014-01-25
| |
* | Fixed factor for scale filterLars Kiesow2014-01-25
| |
* | Factors for scale filterLars Kiesow2014-01-25
| |
* | avfilter/vf_scale: add ov/hsubMichael Niedermayer2013-11-04
| | | | | | | | | | | | Suggested-by: divVerent Reviewed-by: Stefano Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-10-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: do not export the filters from shared objects Conflicts: libavfilter/af_amix.c libavfilter/af_anull.c libavfilter/asrc_anullsrc.c libavfilter/f_select.c libavfilter/f_settb.c libavfilter/split.c libavfilter/src_movie.c libavfilter/vf_aspect.c libavfilter/vf_blackframe.c libavfilter/vf_colorbalance.c libavfilter/vf_copy.c libavfilter/vf_crop.c libavfilter/vf_cropdetect.c libavfilter/vf_drawbox.c libavfilter/vf_format.c libavfilter/vf_framestep.c libavfilter/vf_frei0r.c libavfilter/vf_hflip.c libavfilter/vf_libopencv.c libavfilter/vf_lut.c libavfilter/vf_null.c libavfilter/vf_overlay.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_unsharp.c libavfilter/vf_vflip.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: do not export the filters from shared objectsAnton Khirnov2013-10-28
| |
* | avfilter/vf_scale: Correct vf_scale mappings from arguments to color rangeRobert Krüger2013-10-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale: dont duplicate default.Michael Niedermayer2013-10-06
| | | | | | | | | | | | | | use the defaults set by swscale Suggested-by: stefano Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale: change the default scaler to bicubicMichael Niedermayer2013-10-06
| | | | | | | | | | See: [FFmpeg-devel] [PATCH] swscale/options: switch default to bicubic Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/pad,crop,scale: remove options description from filter descriptionPaul B Mahol2013-09-21
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter: various cosmeticsPaul B Mahol2013-09-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_scale+aresample: minor simpificationMichael Niedermayer2013-08-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale: generic swscale option supportMichael Niedermayer2013-08-15
| | | | | | | | | | | | | | With this all AVOptions from swscale can be set without each needing changes to vf_scale.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_scale: add force_original_aspect_ratioTimothy Gu2013-08-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale: set in_color_matrix default to "auto"Michael Niedermayer2013-07-27
| |
* | avfilter/vf_scale: use sws_getCoefficients()Michael Niedermayer2013-07-26
| | | | | | | | | | Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale: use the inputs color range when its set and its not ↵Michael Niedermayer2013-07-25
| | | | | | | | | | | | overridden Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_scale: add input h/v_chr_pos parametersMichael Niedermayer2013-07-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_scale: add output h/v_chr_pos parameterssMichael Niedermayer2013-07-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vfilter/vf_scale: avoid using "{}"Michael Niedermayer2013-07-21
| | | | | | | | | | | | Should fix compile issues with MSVC Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale; fix indentMichael Niedermayer2013-07-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale: add in/out color range optionMichael Niedermayer2013-07-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_scale: Add in/out yuv color matrix optionMichael Niedermayer2013-07-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/scale: allocate interlaced scalers only if needed.Nicolas George2013-07-18
| | | | | | | | | | | | | | | | | | | | Fix "Value 0.000000 for parameter 'srch' out of range" error message when source or destination height is 1. Note: since the av_opt_set_int() calls are not checked for failure and the interlaced scalers are not actually used, this error has no consequence apart from a frightening message in the log.
* | vf_scale: use sws_init_context()Michael Niedermayer2013-07-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/scale: remove av_opt_free()Paul B Mahol2013-07-15
| | | | | | | | | | | | Generic code calls it already. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* Conflicts: doc/APIchanges libavcodec/avpicture.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/tiffenc.c libavfilter/vf_pixdesctest.c libavfilter/vf_scale.c libavutil/imgutils.c libavutil/pixdesc.c libavutil/version.h libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
| |
* | Merge commit '5f87c277bd5caa09cc4f9061d4ccdd58dc121110'Michael Niedermayer2013-05-07
|\| | | | | | | | | | | | | | | | | | | * commit '5f87c277bd5caa09cc4f9061d4ccdd58dc121110': vf_scale: add endianness conversion pixel format in query_formats Conflicts: libavfilter/vf_scale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_scale: add endianness conversion pixel format in query_formatsJanne Grunau2013-05-06
| |
| * lavfi: remove now unused args parameter from AVFilter.initAnton Khirnov2013-04-09
| |
* | lavfi: remove now unused args parameter from AVFilter.initAnton Khirnov2013-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libavfilter/avfilter.c libavfilter/vf_drawtext.c libavfilter/vf_lut.c libavfilter/vf_select.c libavfilter/vf_setpts.c libavfilter/vsrc_color.c libavfilter/vsrc_movie.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: Update scale to dictionary based optionsMichael Niedermayer2013-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c334c113d4d9e9a41bc38a3e4458d7ab21010401'Michael Niedermayer2013-04-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c334c113d4d9e9a41bc38a3e4458d7ab21010401': vf_scale: switch to an AVOptions-based system. Conflicts: doc/filters.texi libavfilter/avfilter.c libavfilter/vf_scale.c scale keeps using our shorthand system due to the alternative not supporting the more complex syntactical things like 1 parameter dimensions Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_scale: switch to an AVOptions-based system.Anton Khirnov2013-04-09
| |
* | Merge commit '7e350379f87e7f74420b4813170fe808e2313911'Michael Niedermayer2013-03-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7e350379f87e7f74420b4813170fe808e2313911': lavfi: switch to AVFrame. Conflicts: doc/filters.texi libavfilter/af_ashowinfo.c libavfilter/audio.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersink.c libavfilter/buffersrc.c libavfilter/buffersrc.h libavfilter/f_select.c libavfilter/f_setpts.c libavfilter/fifo.c libavfilter/split.c libavfilter/src_movie.c libavfilter/version.h libavfilter/vf_aspect.c libavfilter/vf_bbox.c libavfilter/vf_blackframe.c libavfilter/vf_delogo.c libavfilter/vf_drawbox.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_fieldorder.c libavfilter/vf_fps.c libavfilter/vf_frei0r.c libavfilter/vf_gradfun.c libavfilter/vf_hqdn3d.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_showinfo.c libavfilter/vf_transpose.c libavfilter/vf_vflip.c libavfilter/vf_yadif.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavfilter/yadif.h Following are notes about the merge authorship and various technical details. Michael Niedermayer: * Main merge operation, notably avfilter.c and video.c * Switch to AVFrame: - afade - anullsrc - apad - aresample - blackframe - deshake - idet - il - mandelbrot - mptestsrc - noise - setfield - smartblur - tinterlace * various merge changes and fixes in: - ashowinfo - blackdetect - field - fps - select - testsrc - yadif Nicolas George: * Switch to AVFrame: - make rawdec work with refcounted frames. Adapted from commit 759001c534287a96dc96d1e274665feb7059145d by Anton Khirnov. Also, fix the use of || instead of | in a flags check. - make buffer sink and src, audio and video work all together Clément Bœsch: * Switch to AVFrame: - aevalsrc - alphaextract - blend - cellauto - colormatrix - concat - earwax - ebur128 - edgedetect - geq - histeq - histogram - hue - kerndeint - life - movie - mp (with the help of Michael) - overlay - pad - pan - pp - pp - removelogo - sendcmd - showspectrum - showwaves - silencedetect - stereo3d - subtitles - super2xsai - swapuv - thumbnail - tile Hendrik Leppkes: * Switch to AVFrame: - aconvert - amerge - asetnsamples - atempo - biquads Matthieu Bouron: * Switch to AVFrame - alphamerge - decimate - volumedetect Stefano Sabatini: * Switch to AVFrame: - astreamsync - flite - framestep Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com> Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: switch to AVFrame.Anton Khirnov2013-03-08
| | | | | | | | | | Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it and use AVFrame instead.
| * lavfi: merge start_frame/draw_slice/end_frameAnton Khirnov2012-11-28
| | | | | | | | | | Any alleged performance benefits gained from the split are purely mythological and do not justify added code complexity.
* | lavfi/scale: remove usage of link->cur_buf.Clément Bœsch2012-12-26
| |