xpra icon
Bug tracker and wiki

Changes between Version 48 and Version 49 of CSC


Ignore:
Timestamp:
01/11/16 09:45:21 (3 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CSC

    v48 v49  
    1919
    2020On the server side we currently (as of v0.11) support 4 modules for doing this step:
    21 * {{{csc_swscale}}} which uses [http://www.ffmpeg.org/ FFmpeg]'s swscale library (CPU based), [/browser/xpra/trunk/src/xpra/codecs/csc_swscale source here]
     21* [/browser/xpra/trunk/src/xpra/codecs/csc_swscale csc_swscale] which uses [http://www.ffmpeg.org/ FFmpeg]'s swscale library (CPU based)
    2222* [/wiki/CSC/OpenCL csc_opencl] (GPU or CPU based via [http://www.khronos.org/opencl/ OpenCL])
    23 * {{{csc_cython}}} (a slower fallback module in Cython - without scaling support) [/browser/xpra/trunk/src/xpra/codecs/csc_cython source here]
     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)
     24* [/browser/xpra/trunk/src/xpra/codecs/csc_cython/colorspace_converter.pyx csc_cython]: a much slower fallback module written in Cython
    2425
    2526Note: some of those modules may require you to add some libraries to your library path (ie: {{{CUDA}}} often does, {{{Nvidia}}}'s {{{OpenCL}}} libraries do too)
    2627[[BR]]
    2728
    28 On the client side, if a CSC step is needed, it will use {{{swscale}}} only (for now). The {{{OpenGL}}} mode does not need a CSC step as it can display YUV pixels directly on screen, and do the scaling itself too.
     29On the client side, the [/wiki/ClientRendering/OpenGL OpenGL rendering] mode does not need a CSC step as it can display YUV pixels directly on screen, and does the scaling itself too.
    2930}}}
    3031
     
    4041As of version 0.12 (r5376), one can choose which csc modules get loaded into the server using the {{{--csc-modules=}}} command line option. ie:
    4142{{{
    42 xpra start :10 --csc-modules=opencl,swscale
     43xpra start :10 --csc-modules=libyuv,opencl,swscale
    4344}}}
    4445
    4546----
    46 
    47 In version 0.11, to choose a specific CSC module, use:
    48 {{{
    49 XPRA_CSC_TYPE=name xpra ...
    50 }}}
    51 Where `name` is one of the csc modules above.
    5247
    5348One can also force the use a specific CSC mode: