Commit version 6.

  * Make downsampling of chroma subchannels selectable.
  * Small fix in subchannel header writing.