Expand description
RFB (Remote Framebuffer) protocol encoding implementations.
This crate provides encoding implementations for the VNC/RFB protocol,
including all standard encodings: Raw, RRE, CoRRE, Hextile, Tight, TightPng,
Zlib, ZlibHex, ZRLE, and ZYWRLE.
Re-exports§
pub use corre::CorRreEncoding;pub use hextile::HextileEncoding;pub use raw::RawEncoding;pub use rre::RreEncoding;pub use tight::TightEncoding;pub use tightpng::TightPngEncoding;pub use zlib::encode_zlib_persistent;pub use zlibhex::encode_zlibhex_persistent;pub use zrle::encode_zrle_persistent;pub use zywrle::zywrle_analyze;pub use common::*;
Modules§
- common
- Common helper functions shared across multiple VNC encodings.
- corre
- VNC
CoRRE(Compact RRE) encoding implementation. - hextile
- VNC Hextile encoding implementation.
- jpeg
- JPEG encoding support for Tight encoding.
- raw
- VNC Raw encoding implementation.
- rre
- VNC RRE (Rise-and-Run-length Encoding) implementation.
- tight
- VNC Tight encoding implementation - RFC 6143 compliant with full optimization
- tightpng
- VNC
TightPngencoding implementation. - translate
- Pixel format translation between server and client formats.
- zlib
- VNC Zlib encoding implementation.
- zlibhex
- VNC
ZlibHexencoding implementation. - zrle
- ZRLE (Zlib Run-Length Encoding) implementation for VNC.
- zywrle
- VNC ZYWRLE (Zlib+Wavelet+Run-Length Encoding) implementation.
Structs§
- Pixel
Format - Represents the pixel format used in RFB protocol.
Constants§
- ENCODING_
COPYRECT - Encoding type: Copy Rectangle.
- ENCODING_
CORRE - Encoding type: Compact RRE.
- ENCODING_
HEXTILE - Encoding type: Hextile.
- ENCODING_
RAW - Encoding type: Raw pixel data.
- ENCODING_
RRE - Encoding type: Rise-and-Run-length Encoding.
- ENCODING_
TIGHT - Encoding type: Tight.
- ENCODING_
TIGHTPNG - Encoding type:
TightPng. - ENCODING_
ZLIB - Encoding type: Zlib compressed.
- ENCODING_
ZLIBHEX - Encoding type:
ZlibHex. - ENCODING_
ZRLE - Encoding type: Zlib compressed TRLE.
- ENCODING_
ZYWRLE - Encoding type: ZYWRLE (Zlib+Wavelet+Run-Length Encoding).
- HEXTILE_
ANY_ SUBRECTS - Hextile: Tile contains subrectangles.
- HEXTILE_
BACKGROUND_ SPECIFIED - Hextile: Background color is specified.
- HEXTILE_
FOREGROUND_ SPECIFIED - Hextile: Foreground color is specified.
- HEXTILE_
RAW - Hextile: Raw pixel data for this tile.
- HEXTILE_
SUBRECTS_ COLOURED - Hextile: Subrectangles are colored (not monochrome).
- TIGHT_
PNG - Tight/TightPng: PNG compression subencoding.
Traits§
- Encoding
- Trait defining the interface for RFB encoding implementations.
Functions§
- get_
encoder - Creates an encoder instance for the specified encoding type.