ENCODER CHANGES
Examples of methods are described. In some examples, a method includes evaluating, by an electronic device, resource state information based on a policy. In some examples, the method includes determining, by the electronic device, to change from a second encoder to a first encoder based on the evaluation. In some examples, the first encoder is to encode a desktop display image sequence. In some examples, the method includes communicating, by the electronic device, the encoded desktop display image sequence.
1 . A method, comprising:
evaluating, by an electronic device, resource state information based on a policy;
determining, by the electronic device, to change from a second encoder to a first encoder based on the evaluation, wherein the first encoder is to encode a desktop display image sequence; and
communicating, by the electronic device, an encoded desktop display image sequence.
2 . The method of claim 1 , wherein evaluating the resource state information comprises evaluating a pixel change rate based on a pixel rate threshold.
3 . The method of claim 1 , wherein evaluating the resource state information comprises evaluating a network bit rate based on a bitrate threshold.
4 . The method of claim 1 , wherein evaluating the resource state information comprises evaluating a host processor utilization based on a host processor utilization threshold.
5 . The method of claim 1 , wherein evaluating the resource state information comprises evaluating a graphics processing unit (GPU) reservation state.
6 . The method of claim 1 , wherein evaluating the resource state information comprises evaluating a client processor utilization based on a client processor utilization threshold.
7 . The method of claim 1 , wherein evaluating the resource state information comprises evaluating a client memory bandwidth utilization based on a client memory bandwidth utilization threshold.
8 . The method of claim 1 , wherein a client device is to blend second content associated with the second encoder and first content associated with the first encoder during a transition stage.
9 . The method of claim 8 , wherein blending comprises temporal dithering or a spatial combination of the first content and the second content.
10 . An electronic device, comprising:
a processor to:
determine whether to change an encoder mode based on resource state information;
prime a next encoder mode in response to a determination to change the encoder mode to encode a desktop display image sequence; and
a communication interface to communicate an image update based on the next encoder mode.
11 . The electronic device of claim 10 , further comprising a memory to store a first memory domain including a first mode controller to control the encoder mode corresponding to a first client device and a second memory domain including a second mode controller to control a second encoder mode corresponding to a second client device.
12 . The electronic device of claim 10 , wherein the processor is to control an encoder determination independently for respective physical displays.
13 . A non-transitory tangible computer-readable medium comprising instructions when executed cause a processor of an electronic device to:
evaluate resource state information based on a policy;
determine to change from a video encoding state to a live encoding state to encode a desktop display image sequence; and
transition to the live encoding state via a transition state.
14 . The non-transitory tangible computer-readable medium of claim 13 , wherein the transition state includes priming an encoder with encoding parameters.
15 . The non-transitory tangible computer-readable medium of claim 13 , wherein the instructions when executed cause the processor of the electronic device to transition between video encoder chroma sampling states in the video encoding state.