mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
test(graphics): save snapshots for RLE test
Instead of directly depending on the unmaintained rdp-rs to decompress RLE tiles dynamically, a few snapshots are saved to test against. The benefit is to remove a lot of outdated dependencies from our (developement) dependency graph.
This commit is contained in:
parent
b6407a688a
commit
c1802b625e
31 changed files with 157 additions and 493 deletions
|
@ -82,10 +82,10 @@ pub fn pdu_decode(data: &[u8]) {
|
|||
pub fn rle_decompress_bitmap(input: BitmapInput<'_>) {
|
||||
let mut out = Vec::new();
|
||||
|
||||
let _ = ironrdp_graphics::rle::decompress_24_bpp(input.src, &mut out, input.width, input.height);
|
||||
let _ = ironrdp_graphics::rle::decompress_16_bpp(input.src, &mut out, input.width, input.height);
|
||||
let _ = ironrdp_graphics::rle::decompress_15_bpp(input.src, &mut out, input.width, input.height);
|
||||
let _ = ironrdp_graphics::rle::decompress_8_bpp(input.src, &mut out, input.width, input.height);
|
||||
let _ = ironrdp_graphics::rle::decompress_24_bpp(input.src, &mut out, input.width.into(), input.height.into());
|
||||
let _ = ironrdp_graphics::rle::decompress_16_bpp(input.src, &mut out, input.width.into(), input.height.into());
|
||||
let _ = ironrdp_graphics::rle::decompress_15_bpp(input.src, &mut out, input.width.into(), input.height.into());
|
||||
let _ = ironrdp_graphics::rle::decompress_8_bpp(input.src, &mut out, input.width.into(), input.height.into());
|
||||
}
|
||||
|
||||
pub fn rdp6_encode_bitmap_stream(input: &BitmapInput<'_>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue