summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* sws: readd PAL8 to isPacked()Anton Khirnov2011-12-221-2/+4
| | | | Fixes PAL8 to YUV conversion.
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-121-2/+2
|
* swscale: fix failing fate tests.Ronald S. Bultje2011-11-241-0/+9
| | | | isGray() is left as a FIXME for later.
* swscale: add support for planar RGB input.Ronald S. Bultje2011-11-241-0/+14
|
* Clean up swscale pixfmt macros using av_pix_fmt_descriptors[].Ronald S. Bultje2011-11-241-106/+34
|
* swscale: decide whether to use yuv2plane1/X on a per-plane basis.Ronald S. Bultje2011-10-221-4/+3
|
* Split up yuv2yuvX functionsKieran Kunhya2011-10-221-17/+27
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Split out yuv2yuv1 luma and chroma in order to make them generic DSP functionsKieran Kunhya2011-10-221-16/+10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* sws/pixfmt/pixdesc: add support for yuv420p9le/be.Ronald S. Bultje2011-10-211-0/+4
|
* swscale: split hScale() function pointer into h[cy]Scale().Ronald S. Bultje2011-08-171-3/+8
| | | | | | This allows using more specific implementations for chroma/luma, e.g. we can make assumptions on filterSize being constant, thus avoiding that test at runtime.
* swscale: use 15-bit intermediates for 9/10-bit scaling.Ronald S. Bultje2011-08-121-45/+63
|
* Revert "swscale: use 15-bit intermediates for 9/10-bit scaling."Ronald S. Bultje2011-08-021-50/+25
| | | | | | This reverts commit ac0fb5934893be554a44d2a1eb7a3bc7bf39da4a. It causes valgrind errors which I'll want to investigate before resubmitting this.
* swscale: use 15-bit intermediates for 9/10-bit scaling.Ronald S. Bultje2011-08-021-25/+50
|
* swscale: fix crash with dithering due incorrect offset calculation.Anton Mitrofanov2011-07-101-2/+5
| | | | | | | | ptrdiff_t can be 4 bytes, which leads to the next element being 4-byte aligned and thus at a different offset than intended. Forcing 8-byte alignment forces equal offset of dither16/32 on x86-32 and x86-64. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: rename uv_off/uv_off2 to uv_off_px/byte.Ronald S. Bultje2011-07-081-4/+4
|
* swscale: error dithering for 16/9/10-bit to 8-bit.Ronald S. Bultje2011-07-081-0/+6
| | | | Based on a somewhat similar idea in FFmpeg's swscale copy.
* swscale: amend documentation to mention use of native depth for scaling.Ronald S. Bultje2011-07-061-1/+4
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Do not include log.h in avutil.hMans Rullgard2011-07-031-0/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not include pixfmt.h in avutil.hMans Rullgard2011-07-031-0/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale: for >8bit scaling, read in native bit-depth.Ronald S. Bultje2011-07-011-1/+1
| | | | | | For 9/10bit, it means we don't have to upscale to 16bit before actual scaling or pixel format conversion, and thus a performance gain.
* swscale: implement >8bit scaling support.Ronald S. Bultje2011-06-291-0/+10
| | | | | | This means that precision is retained when scaling between sample formats with >8 bits per component (48bit RGB, 16bit grayscale, 9/10/16bit YUV).
* swscale: Add Doxygen for hyscale_fast/hScale.Ronald S. Bultje2011-06-291-0/+45
|
* swscale: Add Doxygen for yuv2planar*/yuv2packed* functions.Ronald S. Bultje2011-06-281-0/+98
|
* swscale: change prototypes of scaled YUV output functions.Ronald S. Bultje2011-06-271-25/+15
| | | | | | | | Remove unused variables "flags" and "dstFormat" in yuv2packed1, merge source rows per plane for yuv2packed[12], and make every source argument int16_t (some where invalidly set to uint16_t). This prevents stack pollution and is part of the Great Evil Plan to simplify swscale.
* swscale: remove unused xInc/srcW arguments from hScale().Ronald S. Bultje2011-06-261-2/+2
|
* swscale: fix JPEG-range YUV scaling artifacts.Michael Niedermayer2011-06-141-2/+2
| | | | | | | YUV planes were marked as uint16_t, but they contained signed data. Fixes issue 1108 and 675. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libavutil/swscale: YUV444P10/YUV444P9 support.Ronald S. Bultje2011-06-101-0/+12
| | | | | | | Also add missing glue code for recently added YUV422P10 formats to swscale. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: add yuv2planar/packed function typedefs.Ronald S. Bultje2011-06-071-34/+40
|
* swscale: integrate yuv2nv12X_C into yuv2yuvX() function pointers.Ronald S. Bultje2011-06-071-6/+0
|
* swscale: remove alp/chr/lumSrcOffset.Ronald S. Bultje2011-06-071-4/+0
| | | | | | | They are hacks added to reuse the same scaling function for different formats and they may cause problems when SIMD implementation of the same functions are used along with pure C functions.
* swscale: split swscale.c in unscaled and generic conversion routines.Ronald S. Bultje2011-06-031-0/+7
| | | | This duplicates the function fillPlane().
* swscale: split out x86/swscale_template.c from swscale.c.Ronald S. Bultje2011-06-031-0/+4
|
* swscale: split out ppc _template.c files from main swscale.c.Ronald S. Bultje2011-06-031-5/+2
|
* swscale: split out unscaled altivec YUV converters in their own file.Ronald S. Bultje2011-06-031-0/+2
|
* sws: replace all long with int.Anton Khirnov2011-05-281-9/+9
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: fix crash in bilinear scaling.Ronald S. Bultje2011-05-281-0/+2
|
* swscale: fix compile on ppc.Ronald S. Bultje2011-05-261-3/+4
|
* swscale: remove VOF/VOFW.Ronald S. Bultje2011-05-261-8/+0
|
* swscale: split chroma buffers into separate U/V planes.Ronald S. Bultje2011-05-261-9/+18
| | | | Preparatory step to implement support for sizes > VOFW.
* swscale: replace formatConvBuffer[VOF] by allocated array.Ronald S. Bultje2011-05-261-1/+1
| | | | | This allows to convert between formats of arbitrary width, regardless of the value of VOF/VOFW.
* swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.Ronald S. Bultje2011-05-241-5/+0
|
* swscale: fix YUV420P 9/10bit support.Ronald S. Bultje2011-05-111-1/+1
| | | | | | | Fix handling of input if not in native endianness, and add support for 9/10-bit output. This allows us to force endianness of YUV420P 9/10bit in the H264/10bit fate tests, which should fix them on big-endian systems.
* Add pixel formats for 9- and 10-bit yuv420p.Oskar Arvidsson2011-05-101-0/+10
| | | | | | | | Also add support for these formats in libswscale. Needed for high bit depth h264 decoding. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-04-281-2/+8
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* swscale: Factorize FAST_BGR2YV12 definition.Luca Barbato2011-04-131-0/+2
| | | | | It is used only for x86 so it will eventually be moved with that code into the x86 arch subdirectory.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Y400A (gray alpha) input support in libswscaleBaptiste Coudurier2010-09-271-1/+3
| | | | Originally committed as revision 32394 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* More const-correctness fixes to avoid warnings.Reimar Döffinger2010-07-241-2/+2
| | | | Originally committed as revision 31781 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Restore vertical alignment in some definesRamiro Polla2010-07-201-12/+12
| | | | Originally committed as revision 31758 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert r31153. It failed to build on:Ramiro Polla2010-05-121-9/+9
| | | | | | | | | | | x86_64 / Mac OS X gcc 4.0.1 x86_64 / Linux icc (all) x86_64 / Linux gcc 4.0.4 x86_64 / OpenBSD gcc 3.3.5 x86_64 / Linux suncc 5.10 and there are some reports of crashes. Originally committed as revision 31170 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
OpenPOWER on IntegriCloud