Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize GETDISP Websocket Command #200

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

nhjschulz
Copy link
Collaborator

Add a simple "compression" to framebuffer uploads. The unused
upper 8 bits of an RGB value are now a repeat count. It tells how
often the same color shall be used on the pixels that follow.

Example:
To upload an empty black 32x8 frame buffer, only a
single 0xFF000000 data value will be send.

Add a simple "compression" to framebuffer uploads. The unused
upper 8 bits of an RGB value are now a repeat count. It tells how
often the same color shall be used on the pixels that follow.

Example:
To upload an empty black 32x8 frame buffer, only a
single 0xFF000000 data value will be send.
Use >>> operator in javascript for unsigned value shifting.

Use real pixel resolution instead of
hardcoded 32x8.
@nhjschulz nhjschulz linked an issue Nov 8, 2024 that may be closed by this pull request
data/display.html Outdated Show resolved Hide resolved
data/display.html Show resolved Hide resolved
src/Web/WsCommand/WsCmdGetDisp.cpp Outdated Show resolved Hide resolved
src/Web/WsCommand/WsCmdGetDisp.cpp Show resolved Hide resolved
src/Web/WsCommand/WsCmdGetDisp.cpp Outdated Show resolved Hide resolved
@BlueAndi BlueAndi merged commit caf86ab into BlueAndi:Development Nov 11, 2024
27 checks passed
@nhjschulz nhjschulz deleted the feature/GETDISP_OPT branch November 12, 2024 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Optimize GETDISP command
2 participants