summaryrefslogtreecommitdiff
path: root/libswscale/ppc
Commit message (Collapse)AuthorAge
* 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
|
* swscale: remove indirections in ppc/swscale_template.c.Ronald S. Bultje2011-06-03
|
* swscale: split out unscaled altivec YUV converters in their own file.Ronald S. Bultje2011-06-03
|
* swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.Ronald S. Bultje2011-06-02
|
* swscale: Remove unused variable.Diego Biurrun2011-05-30
|
* swscale: Remove disabled code.Diego Biurrun2011-05-29
|
* sws: replace all long with int.Anton Khirnov2011-05-28
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: fix compile on ppc.Ronald S. Bultje2011-05-26
|
* swscale: remove duplicate code in ppc/ subdirectory.Ronald S. Bultje2011-05-24
|
* swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.Ronald S. Bultje2011-05-24
|
* [PATCH] Update pixdesc_be fate refs after adding 9/10bit YUV420P formats.Ronald S. Bultje2011-05-14
| | | | | | 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-11
| | | | | | | 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-15
|
* swscale: partially move the arch specific code leftLuca Barbato2011-04-14
| | | | | | | | | | 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-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Fix compilation, forgot to add const also to theReimar Döffinger2010-07-24
| | | | | | 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-24
| | | | 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-24
| | | | Originally committed as revision 31780 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove ; after while(0) in macros.Ramiro Polla2009-09-12
| | | | Originally committed as revision 29674 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics:Ramiro Polla2009-08-16
| | | | | | | - 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-16
| | | | | | | | | | | - 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-10
| | | | 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-04
| | | | Originally committed as revision 29350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add missing const qualifiers to AltiVec function parameters where appropriate.Diego Biurrun2009-05-09
| | | | | | Fixes a couple of 'discards qualifiers from pointer target type' warnings. Originally committed as revision 29281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move swscale AltiVec template code to ppc subdirectory.Diego Biurrun2009-03-29
| | | | Originally committed as revision 29099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move yuv2rgb code to subdirs.Ramiro Polla2009-03-26
Originally committed as revision 29063 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale