sisong / libfrg Goto Github PK
View Code? Open in Web Editor NEWFRG is an image format(like PNG or JPG or ETC2 or ASTC etc.),for optimize load image time (loading from disk and decoding to display).
License: MIT License
FRG is an image format(like PNG or JPG or ETC2 or ASTC etc.),for optimize load image time (loading from disk and decoding to display).
License: MIT License
Subj.
支持不同区域使用不同的质量参数;用于手工优化某些质量损失过大的区域,从而获得更高的压缩率和质量; 当然,如果能够建立起自动的更准确的质量评估功能,该需求就会降低。
开发和测试自动质量评估功能
需要保持足够的解压速度的前提下,比现在的压缩率更高;
也就是比LZO更高的压缩率,快得多的解压速度,但容许更多的编码时间和空间占用;
这时可能需要考虑内存数据大小端
How to is the library build?
质量参数选择无损压缩或接近时,压缩率应该有些提升。
bit数的选取需要统计比例
已修改目标
FRG的解码速度确实挺快,但是编码速度非常慢,我在正常的PC上测试了下,编码一张1920*1080的bmp图片,大约耗时1-2秒之间,而对比JPEG压缩耗时在几十毫秒,有什么方法可以提升下编码的性能?例如增加内存占用或者其他的方式?
thanks
该算法拥有超快速的解压缩性能,可被用于其他用途;
运行时不需要解压,以节约内存或显存;
以压缩率降低为代价,解码器更简单(速度加快)
现在的代码当作C语言编译,vc下编译不过;
放弃一些速度,但用更少的代码实现解码器; 需求可能很小;现在的解码器编译后已经很小;
利用SIMD汇编的解码器尝试
支持 NERO\MMX\SSE等?
对压缩质量(90--100]时使用一个新特性: kFrg_ClipType_index_exbit = 8, //5或6bit调色板+1bit未用+1bit是否6bit+1bit是否single_a_w8+1bit是否匹配调色板: 如果使用匹配调色板,则储存了一个向前匹配位置(变长1-5byte);否则储存1个字节的(局部调色板长度-1,占用高6bit(低2bit未使用))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.