summaryrefslogtreecommitdiff
path: root/libswscale/ppc
Commit message (Collapse)AuthorAgeFilesLines
* build: Move all arch OBJS declarations into arch subdirectory Makefiles.Diego Biurrun2012-04-121-0/+3
|
* ppc: Add/remove a number of const qualifiers to fix related warnings.Diego Biurrun2012-04-091-5/+5
|
* swscale: make filterPos 32bit.Ronald S. Bultje2012-03-061-1/+1
| | | | | | | 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 II/II)Diego Biurrun2012-03-021-612/+642
|
* swscale: K&R formatting cosmetics for PowerPC code (part I/II)Diego Biurrun2012-02-212-303/+314
|
* swscale: ppc: Add missing header #includes to pass 'make checkheaders'.Diego Biurrun2012-02-091-0/+4
|
* cosmetics: Remove some unnecessary block braces.Diego Biurrun2012-01-251-10/+0
|
* swscale: K&R reformatting cosmetics for header filesDiego Biurrun2012-01-081-7/+12
|
* swscale: Use standard multiple inclusion guards in ppc/ header files.Diego Biurrun2012-01-041-3/+3
|
* swscale: update altivec yuv2planeX asm to new per-plane API.Ronald S. Bultje2011-10-221-81/+13
|
* Split up yuv2yuvX functionsKieran Kunhya2011-10-221-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ppc: fix some pointer to integer castsMans Rullgard2011-09-251-5/+5
| | | | | | | | 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-171-1/+1
| | | | | | 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-131-14/+7
| | | | | | | 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-121-1/+1
|
* 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-1/+3
| | | | | | 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-281-1/+3
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale: change prototypes of scaled YUV output functions.Ronald S. Bultje2011-06-271-4/+3
| | | | | | | | 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-273-14/+46
| | | | | | 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-261-2/+1
|
* swscale: extract SWS_FULL_CHR_H_INT conditional into init code.Ronald S. Bultje2011-06-071-1/+1
|
* swscale: un-special-case yuv2yuvX16_c().Ronald S. Bultje2011-06-071-1/+5
| | | | | 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-031-0/+1
|
* swscale: split out ppc _template.c files from main swscale.c.Ronald S. Bultje2011-06-033-5/+50
|
* swscale: remove indirections in ppc/swscale_template.c.Ronald S. Bultje2011-06-033-71/+23
|
* swscale: split out unscaled altivec YUV converters in their own file.Ronald S. Bultje2011-06-032-155/+191
|
* swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.Ronald S. Bultje2011-06-021-4/+0
|
* swscale: Remove unused variable.Diego Biurrun2011-05-301-2/+0
|
* swscale: Remove disabled code.Diego Biurrun2011-05-291-152/+0
|
* sws: replace all long with int.Anton Khirnov2011-05-283-5/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: fix compile on ppc.Ronald S. Bultje2011-05-263-31/+41
|
* swscale: remove duplicate code in ppc/ subdirectory.Ronald S. Bultje2011-05-241-791/+2
|
* swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.Ronald S. Bultje2011-05-241-1/+2
|
* [PATCH] Update pixdesc_be fate refs after adding 9/10bit YUV420P formats.Ronald S. Bultje2011-05-141-49/+0
| | | | | | Also remove code that overwrites the C versions of functions in sws_init_swScale_altivec(), so that it uses the C functions of files if no altivec-optimized version exists.
* swscale: fix YUV420P 9/10bit support.Ronald S. Bultje2011-05-111-2/+2
| | | | | | | 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.
* swscale: correct include path to fix ppc altivec buildJanne Grunau2011-04-151-1/+1
|
* swscale: partially move the arch specific code leftLuca Barbato2011-04-141-0/+903
| | | | | | | | | | PPC and x86 code is split off from swscale_template.c. Lots of code is still duplicated and should be removed later. Again uniformize the init system to be more similar to the dsputil one. Unset h*scale_fast in the x86 init in order to make the output consistent with the previous status. Thanks to Josh for spotting it.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-192-8/+8
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-181-2/+0
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-171-0/+2
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Fix compilation, forgot to add const also to theReimar Döffinger2010-07-241-2/+2
| | | | | | definition of ff_yuv2packedX_altivec Originally committed as revision 31782 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* More const-correctness fixes to avoid warnings.Reimar Döffinger2010-07-241-10/+10
| | | | Originally committed as revision 31781 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add some "const" to avoid incompatible pointer type warningsReimar Döffinger2010-07-241-7/+7
| | | | Originally committed as revision 31780 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-222-6/+6
| | | | Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove ; after while(0) in macros.Ramiro Polla2009-09-121-3/+3
| | | | Originally committed as revision 29674 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics:Ramiro Polla2009-08-162-6/+9
| | | | | | | - Place curly brackets in the same line as while/for/if/switch/else/do; - Place curly brackets at column 0 in the next line starting a function. Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Indent libswscale:Ramiro Polla2009-08-161-18/+18
| | | | | | | | | | | - Use 4 spaces throughout for indentation; - Fix inconsistent indentation; - Indent function calls and declarations aligning arguments on multiple lines to the column after the opening parentheses; - Align asm code to the column 4 spaces after the call to __asm__(); - Align cases in switch statements to the same column as "switch". Originally committed as revision 29522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove disabled debug code.Diego Biurrun2009-08-101-9/+0
| | | | Originally committed as revision 29485 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use DECLARE_ALIGNED macro instead of __attribute__((aligned)) for ppc code.Ramiro Polla2009-06-042-6/+6
| | | | Originally committed as revision 29350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale