GPUOpen-LibrariesAndSDKs/brotli_g_sdk

unclear if produced streams are directly compatible with vanilla brotli

jyrkialakuijala opened this issue · 1 comments

Particularly: is the 32 substreams index table within a brotli comment block.

Dr. Mark Adler foresaw this kind of extensions and demanded that we add a possibility to add comment blocks that will be skipped by the normal decoder. If the index table is the only incompatibility (not clear from the spec if it is even an incompatibility by itself), it could perhaps be nicer for compatibility if the index table could be placed within a comment block.

I'm available to discuss this in a VC if there is interest.

i checked it and contrary to the claims ive seen on it being compatible, regular brotli does not accept it

brotli -d F.ktx.brotlig 
input file [F.ktx.brotlig] suffix mismatch

brotli -d F.ktx.brotlig.br 
corrupt input [F.ktx.brotlig.br]