summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* swscale: K&R formatting cosmetics (part II)Diego Biurrun2012-04-131-4/+4
| | | | Also adjust some comments including wording and typo fixes.
* Unscaled Planar RGB -> RGB support in swscale.Hans-Kristian Arntzen2012-04-031-0/+8
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* swscale: make filterPos 32bit.Ronald S. Bultje2012-03-061-6/+6
| | | | | | | Fixes overflows for large image sizes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Revert two swscale commits.Ronald S. Bultje2012-02-191-4/+6
| | | | | | | | | | | Revert "swscale: update context offsets after removal of AlpMmxFilter." (commit a95e3fa90b4190381b65d180eec5a4027075e2da) and Revert "swscale: Remove some write-only variables related to alpha handling." (commit 9d03cb9fc5ddf914920ab0dbe13f19a34c754966). They broke alpha handling - it's the evil inline asm that still uses that variable, so it's not truely write-only.
* swscale: update context offsets after removal of AlpMmxFilter.Ronald S. Bultje2012-02-171-5/+4
|
* swscale: Remove some write-only variables related to alpha handling.Diego Biurrun2012-02-141-1/+0
|
* pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-081-1/+3
| | | | | | This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
* Remove Sun medialib glue code.Diego Biurrun2012-02-081-1/+0
| | | | | It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
* swscale: split C output functions into separate file.Ronald S. Bultje2012-02-071-0/+7
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: Split C input functions into separate file.Ronald S. Bultje2012-02-071-0/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: K&R reformatting cosmetics for header filesDiego Biurrun2012-01-081-119/+128
|
* 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.