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
2014-05-21sws: document color range >8bit oddityMichael Niedermayer
2014-05-14swscale/utils: Add check that ensures that the hardcoded struct offsets are ↵Michael Niedermayer
valid Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-04swscale/utils: use FF_ALLOC(Z)_ARRAY_OR_GOTO() and av_malloc(z)_array()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-04Merge commit '3a177a9cca924e097265b32f9282814f6b653e08'Michael Niedermayer
* commit '3a177a9cca924e097265b32f9282814f6b653e08': swscale: Fix an undefined behaviour Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-03swscale: Fix an undefined behaviourLuca Barbato
Prevent a division by zero down the codepath. Sample-Id: 00001721-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2014-04-15swscale/utils: fix changing src/dst range after initializing the contextMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-15swscale/utils: move handling of unscaled case to the end of init functionMichael Niedermayer
This way all context fields get initialized and can be used without needing to reinit the context Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-09Merge commit '92b099daf4b8ef93513e38b43899cb8458a2fde3'Michael Niedermayer
* commit '92b099daf4b8ef93513e38b43899cb8458a2fde3': swscale: support converting YVYU422 pixel format Conflicts: libswscale/input.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-09swscale/utils: scale filter_size in warning so that it can be used as max ↵Michael Niedermayer
for the compile time define Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-09swscale/utils: dont print message about filter size when the cause is a ↵Michael Niedermayer
malloc failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-08swscale: support converting YVYU422 pixel formatVittorio Giovara
2014-04-02swscale: add full bgra64 supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-02Merge commit '0ca0924c10d9617a5793964bf79655424ef32b68'Michael Niedermayer
* commit '0ca0924c10d9617a5793964bf79655424ef32b68': swscale: add endianness conversion for AV_PIX_FMT_BGRA64|RGBA64 Conflicts: libswscale/swscale_unscaled.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-02swscale: add endianness conversion for AV_PIX_FMT_BGRA64|RGBA64Janne Grunau
2014-03-25Do not set swscale sizeFactor to -1.Carl Eugen Hoyos
Fixes ticket #3495.
2014-03-25swscale: add two spatially stable dithering methodsØyvind Kolås
Both of these dithering methods are from http://pippin.gimp.org/a_dither/ for GIF they can be considered better than bayer (provides more gray-levels), and spatial stability - often more than twice as good compression and less visual flicker than error diffusion methods (the methods also avoids error-shadow artifacts of diffusion dithers). These methods are similar to blue/green noise type dither masks; but are simple enough to generate their mask on the fly. They are still research work in progress; though more expensive to generate masks (which can be used in a LUT) like 'void and cluster' and similar methods will yield superior results
2014-03-19swscale/utils: Fix color range of gray16Carl Eugen Hoyos
Improves rgb -> gray16 conversion Fixes Ticket3422 The pam and png output files look visually similar, in both cases the dynamics increase to 0x0 -> 0xfffb. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-17RGBA64 pixel formatsJean First
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2014-02-23libswscale: bayer to rgb24 & yv12 colorspace convertersPeter Ross
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-25swscale/utils: fix wrong deprecated message with rgb0Michael Niedermayer
Fixes Ticket3242 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-15swscale/utils: check chroma width for fast bilinear scalerMichael Niedermayer
Fixes artifacts where fast bilinear was used for downscaling chroma Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-15swscale/utils: remove useless ()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-15swscale/utils: factor (d + 1 < 4) outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-07swscale/utils: fill xyz tables only when they will be usedMichael Niedermayer
makes the first call to sws_getContext() 1ms faster Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-05lsws/utils: introduce scale_algorithms arrayStefano Sabatini
Allow some dumb factorizations, slightly decrease spaghetti factor.
2013-11-05lsws/utils: fix typoStefano Sabatini
2013-10-24lsws: use av_pix_fmt_get_chroma_sub_sample()Stefano Sabatini
Remove duplicated getSubSampleFactors() function. Simplify.
2013-10-23swscale/utils: check mprotect() return codeMichael Niedermayer
Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-17swscale/utils/sws_setColorspaceDetails(): fix indentionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-10swscale: Use full resolution chroma for yuv2rgb when the input has full chromaMichael Niedermayer
See Ticket3028 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-06Merge commit '6b3ff6f91a535d6383f41ca7bdf760165dcb6015'Michael Niedermayer
* commit '6b3ff6f91a535d6383f41ca7bdf760165dcb6015': swscale: provide a default scaler if none is set Conflicts: libswscale/utils.c The default is left at bicubic until someone has compared the scalers properly speed and quality wise. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-05swscale: provide a default scaler if none is setVittorio Giovara
Lanczos for general case, sinc for upscaling, Gaussian for downscaling. According to current literature these scalers should be the best quality-wise algorithms for each case. Inspired from a patch by wm4 <nfxjfg@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-10-01swscale/utils: dont divide by zero with zero vectorsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-17swscale/utils: remove redundant NULL checks before sws_freeVec()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-17swscale/utils: simplify cpu caps printing codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-17swscale/utils: Simplify scaler name printing codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-17swscale/utils: Allow sws_setColorspaceDetails() to use the tables from ↵Michael Niedermayer
sws_getColorspaceDetails() Previously this would have lead to a memcpy(a,a) which violates the requirement of non overlapping src and dst. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-08swscale/utils: use memcpy instead of loop in sws_cloneVec()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-30Merge commit '79aec43ce813a3e270743ca64fa3f31fa43df80b'Michael Niedermayer
* commit '79aec43ce813a3e270743ca64fa3f31fa43df80b': x86: Add and use more convenience macros to check CPU extension availability Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29Merge commit '1909f6b1b6da2db371c179bed5a19aaf979b7557'Michael Niedermayer
* commit '1909f6b1b6da2db371c179bed5a19aaf979b7557': swscale: cosmetics: Drop silly camelCase from swScale function pointer name Conflicts: libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29Merge commit 'c2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19'Michael Niedermayer
* commit 'c2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19': swscale: ppc: Hide arch-specific initialization details Conflicts: libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29Merge commit 'f61bece684d9685b07895508e6c1c733b5564ccf'Michael Niedermayer
* commit 'f61bece684d9685b07895508e6c1c733b5564ccf': ppc: Add and use convenience macro to check for AltiVec availability Conflicts: libavcodec/ppc/dsputil_ppc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29x86: Add and use more convenience macros to check CPU extension availabilityDiego Biurrun
2013-08-29swscale: cosmetics: Drop silly camelCase from swScale function pointer nameDiego Biurrun
2013-08-29swscale: ppc: Hide arch-specific initialization detailsDiego Biurrun
Also give consistent names to init functions.
2013-08-29ppc: Add and use convenience macro to check for AltiVec availabilityDiego Biurrun
2013-08-19swscale: improve dither checksMichael Niedermayer
Bssed on patch by Øyvind Kolås <pippin@gimp.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-19swscale: set dither to a specific value for rgb/bgr8 outputMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-16Merge commit 'aa2ba8c99e5708884a56aea9c1d96e014866f8a3'Michael Niedermayer
* commit 'aa2ba8c99e5708884a56aea9c1d96e014866f8a3': swscale: Move extern declarations for tables to swscale_internal.h Conflicts: libswscale/output.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-15sws: add dither enumMichael Niedermayer
This allows specifying more dither algorithms without using up flags and without ambiguities. Also initialize the new field based on the flags and use it. Note, improving the logic of the checks is left to subsequent commits, this here only switches from flags to enum. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>