Wunk

Results 148 comments of Wunk

> Excuse me Wunkolo, but could you get the data from DispatchInfo from the DecompressJssfToken procedure from offset 1488 to 3664. 2176 bytes in total. There should be Huffman tables...

This might relate to how jssf data seems to be broken up into regular `4096`-byte blocks like in [the current testbed code](https://github.com/Wunkolo/libsai/blob/31c7d4d472b3da69c2d4c8de9a77414683b6f891/samples/Thumbnail-Sai2.cpp#L202-L217), if you are not already handling that. I'd...

Thanks for this insight, learned a lot about jpeg encoding from this. I was able to extract `jssf` data directly into a jpeg stream by adding the appropriate markers and...

> You can restore RSTm markers to the correct positions. See my code above. There might be some confusion here. I am already emitting `RSTm` markers the same way: https://github.com/Wunkolo/libsai/blob/a3ae3e49d9fa315bca33a19f92bbb338002e1856/samples/Thumbnail-Sai2.cpp#L239-L255...

That was it. `stb_image` is now also able to decode the images successfully after interpreting the DHT tables properly. Thanks! Just need to turn all this into proper library code...

I've deciphered both `jssf` and `dpcm` formats now and can extract both thumbnail formats from `.sai2` documents now. It seems both formats are used depending on the resolution of the...

Utilize the Compute Cache API that After Effects has to maintain a cache of GPU-side textures rather than handling this ourselves: https://ae-plugins.docsforadobe.dev/effect-details/compute-cache-api/#real-world-integration-example A general-case Compute-Cache can be used so that...

After some test, the Compute Cache API does not seem to free the actual cache entries for quite some time, causing for instances of out-of-memory crashes to happen as system-memory...