# tANS **Repository Path**: rustlab/tANS ## Basic Information - **Project Name**: tANS - **Description**: tANS - C implementation This is C implementation of tANS Encoder and Decoder. ANS is family of entropy coding developed by Jarosław Duda (http://th.if.uj.edu.pl/~dudaj/). - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: https://github.com/XYZ321COD/tANS - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-06 - **Last Updated**: 2023-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Asymmetric Numeral Systems - Tabled ANS tANS - C implementation This is C implementation of tANS Encoder and Decoder. ANS is family of entropy coding developed by Jarosław Duda (http://th.if.uj.edu.pl/~dudaj/). tANS constructs a finite state machine to operate on a large alphabet without using multiplication, that guarantee high quality of compression ration and low processing cost. # Example: generation of tANS tables for 3 size alphabet and 16 states ![tans](https://user-images.githubusercontent.com/42517471/44548795-624f7780-a71f-11e8-9f6e-b91802e8bdcc.png)
As you can see, we generate couple of tables. Then we are applying them for stream decoding. With only one state and sequence of bits genereted by encoder, we are capable to decode information. # How to use our Encoder/Decoder In order to know more about structure of the project and how encoder/decoder exactly works please read [guidelines](https://github.com/Exceleent/tANS/blob/master/docs/guidlines.rst)