xpra icon
Bug tracker and wiki

Changes between Version 16 and Version 17 of Encodings


Ignore:
Timestamp:
08/26/13 05:23:54 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Encodings

    v16 v17  
    6868Note that the csc step may degrade the quality of the picture ({{{YUV444P}}} mode does not, but {{{YUV422P}}} and {{{YUV420P}}} do).
    6969
     70== Scaling ==
    7071
     72As part of the colourspace conversion step, we can also downscale the frame if the {{{XPRA_SCALING}}} environment variable is unset or set to "1", and either:
     73* the application requests scaling using the {{{_XPRA_SCALING}}} X11 window property (specified as a 32-bit fraction, 16-bits for each)
     74* the {{{XPRA_SCALING_HARDCODED}}} environment variable is set on the server, using one of those 2 forms (the second one is preferred):
     75 * {{{XPRA_SCALING_HARDCODED=N}}} to downscale by N
     76 * {{{XPRA_SCALING_HARDCODED=M:N}}} to downscale by the fraction {{{M/N}}}
     77* automatically, if the frame size is bigger than 1MPixels and the quality is low whilst the speed is high
    7178
     79Note: if the automatic heuristics turn on frame downscaling, this may introduce a colourspace conversion step where none was necessary before (when the encoder was previously handling RGB directly).
    7280
    7381----