Vidvox / hap

A codec for fast video playback
BSD 2-Clause "Simplified" License
388 stars 39 forks source link

Add support for a separate alpha image, both compressed and uncompressed #9

Closed mbechard closed 8 years ago

bangnoise commented 8 years ago

I'm happy with the RGTC part of this, am considering the uncompressed alpha and generating some comparisons.

bangnoise commented 8 years ago

This is now in the ycocg-alpha branch where I have edited the language a bit and will update the reference implementation before merging to master. Still considering uncompressed alpha. Comments welcome - especially if you think I've messed up the spec, I trimmed some of your changes.

bangnoise commented 8 years ago

Probably use HapA as identifier for alpha-only, and HapM for either Scaled YCoCg DXT5 + alpha (and if uncompressed and RGTC alpha are both allowed, they will share identifiers). Refer to alpha-only as "Hap Alpha-Only" and Y+a as "Hap Q Alpha". This will be documented when I address #4.

bangnoise commented 8 years ago

The spec will probably

mbechard commented 8 years ago

That all makes sense to me.

bangnoise commented 8 years ago

I'm going to merge the ycocg-alpha branch soon - I've disallowed uncompressed alpha as the quality of RGTC1 seems good - it's similar or better than the quality of the rest of the codec formats. Happy to hear any arguments for its inclusion though.