Code Monkey home page Code Monkey logo

icbc's Introduction

ICBC - A High Quality SIMD BC1 Encoder

This is the BC1 texture block encoder used by NVTT, extracted as an easy to use single header file library.

Since its initial release I've improved quality and performance. I've added support for multiple quality levels that allow reducing compression time at the cost of some quality, and I've vectorized some of the algorithms to take advantage of the vector units in modern CPUs.

vector-scaling

This work was inspired by Rich Geldreich's RGBCX, which is a close competitor and most likely a better choice if you are looking for a well supported and actively developed library.

Results

The following chart shows the average PSNR of different BC1 compressors and different configurations on the Kodim and Waterloo image sets plotted against the time it took to encode them:

kodim-chart

  • ICBC is version 1.03 with three_color_mode and three_color_black set to true.
  • RGBCx is version 1.12 levels 0 to 18 with allow_3color and use_transparent_texels_for_black enabled.
  • stb is stb_dxt version 1.09 with various improvements that Rich and I have proposed.
  • squish is version 1.15
  • CMP is AMD's CMP_Core V4.0.4855

References

ICBC implements several algorithms:

icbc's People

Contributors

castano avatar hkva avatar aras-p avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.