xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 50 and Version 51 of CSC


Ignore:
Timestamp:
04/18/16 07:38:29 (5 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CSC

    v50 v51  
    1919
    2020On the server side we currently (as of v0.11) support 4 modules for doing this step:
     21* [/browser/xpra/trunk/src/xpra/codecs/csc_libyuv/colorspace_converter.pyx csc_libyuv] which uses [https://code.google.com/p/libyuv/ libyuv]'s optimized CPU code (new in 0.17 - the fastest option)
    2122* [/browser/xpra/trunk/src/xpra/codecs/csc_swscale csc_swscale] which uses [http://www.ffmpeg.org/ FFmpeg]'s swscale library (CPU based)
    2223* [/wiki/CSC/OpenCL csc_opencl] (GPU or CPU based via [http://www.khronos.org/opencl/ OpenCL])
    23 * [/browser/xpra/trunk/src/xpra/codecs/csc_libyuv/colorspace_converter.pyx csc_libyuv] which uses [https://code.google.com/p/libyuv/ libyuv]'s optimized CPU code (new in 0.17, in progress)
    2424* [/browser/xpra/trunk/src/xpra/codecs/csc_opencv/colorspace_converter.pyx csc_opencv] which uses [http://opencv.org] (new in 0.17, in progress)
    2525* [/browser/xpra/trunk/src/xpra/codecs/csc_cython/colorspace_converter.pyx csc_cython]: a much slower fallback module written in Cython
     
    3535
    3636The best way to choose a CSC module is to test them all and [/wiki/CSC/Performance compare them].
     37If you can use [/wiki/Encodings/nvenc NVENC], then do so: the CSC step is builtin and will use the GPU hardware.
     38Otherwise, use {{{libyuv}}} or {{{swscale}}}.
     39If you are CPU starved and have GPU cycles to spare, then you may want to try {{{opencl}}}.
    3740}}}
    3841
     
    4043== Specify a module or mode ==
    4144
    42 As of version 0.12 (r5376), one can choose which csc modules get loaded into the server using the {{{--csc-modules=}}} command line option. ie:
     45As of version 0.12 (r5376), one can choose which csc modules are loaded using the {{{--csc-modules=}}} command line option. ie:
    4346{{{
    44 xpra start :10 --csc-modules=libyuv,opencl,swscale
     47xpra --csc-modules=libyuv,opencl,swscale
    4548}}}
    4649