Re: Help with image encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, Jul 19, 2023 at 10:55 AM Frediano Ziglio <freddy77@xxxxxxxxx> wrote:
Il giorno dom 16 lug 2023 alle ore 07:58 Néfix Estrada
<nefixestrada@xxxxxxxxx> ha scritto:
>
> Hello! I'm currently writting a Spice client in Typescript that makes
> use of modern browser features (such as WebGPU, WebUSB, Web workers, etc).
>
>
> However, I'm struggling with the Image image encoding. I've checked the
> whole documentation site, but I wasn't able to find how each one of the
> encoding works. My knowledge in both audio and video encoding is very
> limited. Specifically:
>
> - QUIC
>
> - LZ (and all its variants)
>
>
> I've been trying to understand them from the spice-common project, but
> it's just the implementation without any type of docs :(
>
> Another question I had is if there's another way of comunication or a
> place where I can shoot questions about the implementation
>
>
> Also, I'm planning on gifting the client to the spice project, if you
> would be interested in! (given that you already have a JS project)
>
>
> Thanks in advance!
>
>
> Néfix Estrada
>

Hi,
   why not look at SPICE html client instead? It's already JS code so
it  shouldn't be that different.
For QUIC you can see Uri's link if you need some notes, LZ is more or
less standard on decoding, you have uncompressed sections and
references to previous chunks, so it's just a matter of understanding
these encodings.

There is also a link in spice-common/common/lz.h:
" dictionary compression for images based on fastlz (http://www.fastlz.org/) "

Uri.

 

Regards,
   Frediano


[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]