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
2013-04-18Fix libswscale compilation with --disable-optimizations on x86-32.Carl Eugen Hoyos
Fixes ticket #2477.
2013-04-16sws: Skip ff_yuv2rgb_c_init_tables() when the output is YUVMichael Niedermayer
Fixes "20bpp not supported by yuv2rgb" warning Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16sws/fill_rgb2yuv_table: use ROUNDED_DIVMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16sws/fill_rgb2yuv_table: increase precission to 32bitMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16sws/fill_rgb2yuv_table: avoid 2 divisionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16sws: fix alignment of rgb2yuvMichael Niedermayer
This should fix mingw32 fate Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws/x86: update RENAME(rgb24toyv12)() to using the user provided rgb2yuv tableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws: remove forgotten FAST_BGR2YV12 defineMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws/x86: remove 8bit rgb2yuv coefficient case for rgb24toyv12 special converterMichael Niedermayer
This simplifies the code and improves quality at the expense of a slight slowdown of a rarely used function (no fate test uses it). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws: Update rgb24toyv12_c() to user supplied rgb2yuv tablesMichael Niedermayer
As the function arguments change, we also change the function name to ensure that anyone using this (non public) function doesnt end with hard to debug crashes. The new name also has a proper prefix. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws/"rgb2rgb": drop RGB2YUV_SHIFTMichael Niedermayer
Fixes a warning and increases the precission the coefficients Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws/x86: update rgba->yuv to use user supplied tableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws/x86: update rgb/bgr->yuv code to use provided coefficient tableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws: init input_rgb2yuv_table depending on yuv colorspaceMichael Niedermayer
For the default table we keep using the exact previous coefficients, this way individual functions can be updated seperately without breaking fate Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15sws: move RGB2YUV_SHIFT to swscale_internal.hMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-14sws/input: replace hardcoded rgb2yuv coefficients by tableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-14swscale/output: fix alpha scale in the new functionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-14sws/output: add yuv2rgb_full_1_c_template()Michael Niedermayer
7500->4500 cycles on sandybridge Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-14sws/output: add +yuv2rgb_full_2_c_template()Michael Niedermayer
8100 cycles -> 5800 cycles on sandybridge Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-14sws/output: factor yuv2rgb_write_full() outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-10Replace all occurrences of PRI in sscanf() calls with SCNJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2013-03-28Merge commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa'Michael Niedermayer
* commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa': cosmetics: Remove unnecessary extern keywords from function declarations Conflicts: libswscale/x86/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-27cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun
2013-03-12Merge commit '7b89cd20d844cbe763ca34e63e99d110043cf241'Michael Niedermayer
* commit '7b89cd20d844cbe763ca34e63e99d110043cf241': eamad: allocate a dummy reference frame when the real one is missing Replace remaining includes of audioconvert.h with channel_layout.h Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*. Conflicts: libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-08Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.Anton Khirnov
2013-02-27swscale: Add support for unscaled 8-bit Packed RGB -> Planar RGBDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-02-27swscale: Add support for unscaled 8-bit Packed RGB -> Planar RGBDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-02-26swscale-test: fix 3 pointer type warningsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-16sws/x86: improve rounding for yuv2yuvXMichael Niedermayer
This tries to compensate for the errors introduced by the rounding of pmulhw Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-11swscale: Disallow conversion to GBRP16Martin Storsjö
This reverts parts of d6d5ef5534d582, that didn't work right. (The tests that were added failed on big endian, and the output looked garbled on little endian as well.) This is due to the fact that the intermediate scaling values (from e.g. hScale8To19_c or hScale16To19_c) are stored as int32_t and thus requires a separate output function, while yuv2gbrp_full_X_c only interprets it as int16_t. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-10Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: sws: disable yuv2rgb warning for planar rgb. Conflicts: libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-10Merge commit '7b41c24c5fa221b55a9302efaf1a9eeb38b12551'Michael Niedermayer
* commit '7b41c24c5fa221b55a9302efaf1a9eeb38b12551': sws: dont enable chrSrcHSubSample for planar RGB Conflicts: libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-10Merge commit 'e58013dd8f00e17dd98ba64e41c72f1d152f6608'Michael Niedermayer
* commit 'e58013dd8f00e17dd98ba64e41c72f1d152f6608': sws: use planarRgbToRgbWrapper only for 8bit per component Conflicts: libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-10Merge commit 'd6d5ef5534d582f9dbaf18ac2605cf5bb72cd821'Michael Niedermayer
* commit 'd6d5ef5534d582f9dbaf18ac2605cf5bb72cd821': sws: GBRP9, GBRP10, and GBRP16 output support Conflicts: libswscale/output.c libswscale/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>
2013-02-09sws: disable yuv2rgb warning for planar rgb.Michael Niedermayer
planar rgb formats do not use the table Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-02-09sws: dont enable chrSrcHSubSample for planar RGBMichael Niedermayer
This code path is not implemented and makes not much sense to implement either. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-02-09sws: use planarRgbToRgbWrapper only for 8bit per componentMichael Niedermayer
The function doesnt support >8bit currently Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-02-09sws: GBRP9, GBRP10, and GBRP16 output supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-02-07sws: dont write out of array on bigendianMichael Niedermayer
Fixes Ticket2229 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-04sws: Fix "warning: comparison of distinct pointer types lacks a cast"Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-28Merge commit '05b0998f511ffa699407465d48c7d5805f746ad2'Michael Niedermayer
* commit '05b0998f511ffa699407465d48c7d5805f746ad2': dsputil: Fix error by not using redzone and register name swscale: GBRP output support Conflicts: libswscale/output.c libswscale/swscale.c libswscale/swscale_internal.h libswscale/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>
2013-01-28swscale: GBRP output supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-01-27sws: disable yuv2rgb warning for planar rgb.Michael Niedermayer
planar rgb formats do not use the table Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-27sws: include isRGB in isAnyRGB() so that future RGB formats wont be missed ↵Michael Niedermayer
again Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-26sws: add planar RGB formats to isAnyRGBMichael Niedermayer
We have to make some symetric changes elsewhere as this increases the precission with which samples are stored. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-26sws: dont enable chrSrcHSubSample for planar RGBMichael Niedermayer
This code path is not implemented and makes not much sense to implement either. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-26sws: use planarRgbToRgbWrapper only for 8bit per componentMichael Niedermayer
The function doesnt support >8bit currently Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-26sws: GBRP9, GBRP10 GBRP12 GBRP14 output supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-26sws: GBRP output supportMichael Niedermayer
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-25swscale: check flags instead of nb_components to find if pixel format have alphaPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>