Replace channel switches with conditional selects.
Replace channel switches with conditional selects.

ARM-software/astc-encoder,ARM-software/astc-encoder,ARM-software/astc-encoder,ARM-software/astc-encoder