summaryrefslogtreecommitdiff
path: root/libswscale/ppc/swscale_altivec.c
Commit message (Collapse)AuthorAge
* ppc: Restrict some Altivec implementations to Big EndianLuca Barbato2015-05-31
| | | | | In Little Endian the vec_ld/vec_st operations work as expected only for byte-vectors.
* swscale: ppc: Hide arch-specific initialization detailsDiego Biurrun2013-08-29
| | | | Also give consistent names to init functions.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* ppc: swscale: rework yuv2planeX_altivec()Mans Rullgard2012-10-05
| | | | | | | | | This gets rid of the variable-length scratch buffer by filtering 16 pixels at a time and writing directly to the destination. The extra loads this requires to load the source values are compensated by not doing a round-trip to memory before shifting. Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale: Mark all init functions as av_coldDiego Biurrun2012-07-23
|
* swscale: make filterPos 32bit.Ronald S. Bultje2012-03-06
| | | | | | | Fixes overflows for large image sizes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: K&R formatting cosmetics for PowerPC code (part I/II)Diego Biurrun2012-02-21
|
* cosmetics: Remove some unnecessary block braces.Diego Biurrun2012-01-25
|
* swscale: update altivec yuv2planeX asm to new per-plane API.Ronald S. Bultje2011-10-22
|
* Split up yuv2yuvX functionsKieran Kunhya2011-10-22
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ppc: fix some pointer to integer castsMans Rullgard2011-09-25
| | | | | | | | Use uintptr_t instead of plain int. Without this change, the comparisons will come out wrong for pointers in certain ranges. Fixes random failures on ppc64. Also fixes some compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale: split hScale() function pointer into h[cy]Scale().Ronald S. Bultje2011-08-17
| | | | | | 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: add dithering to yuv2yuvX_altivec_realLuca Barbato2011-08-13
| | | | | | | It just does that part in scalar form, I doubt using a vector store over 2 array would speed it up particularly. The function should be written to not use a scratch buffer.
* swscale: use 15-bit intermediates for 9/10-bit scaling.Ronald S. Bultje2011-08-12
|
* swscale: for >8bit scaling, read in native bit-depth.Ronald S. Bultje2011-07-01
| | | | | | 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-29
| | | | | | This means that precision is retained when scaling between sample formats with >8 bits per component (48bit RGB, 16bit grayscale, 9/10/16bit YUV).
* PPC: swscale: disable altivec functions for unsupported formatsMans Rullgard2011-06-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale: change prototypes of scaled YUV output functions.Ronald S. Bultje2011-06-27
| | | | | | | | 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: split yuv2packedX_altivec in smaller functions.Ronald S. Bultje2011-06-27
| | | | | | This will likely lead to a considerable performance boost, since it removes a branch from the inner loop. Part of the Great Evil Plan to simplify swscale.
* swscale: remove unused xInc/srcW arguments from hScale().Ronald S. Bultje2011-06-26
|
* swscale: extract SWS_FULL_CHR_H_INT conditional into init code.Ronald S. Bultje2011-06-07
|
* swscale: un-special-case yuv2yuvX16_c().Ronald S. Bultje2011-06-07
| | | | | Make yuv2yuvX16_c a function pointer for yuv2yuvX(), so that the function pointer becomes bitdepth-independent.
* swscale: enable hScale_altivec_real.Ronald S. Bultje2011-06-03
|
* swscale: split out ppc _template.c files from main swscale.c.Ronald S. Bultje2011-06-03