I am not an expert on raw image data, but isn't the whitebalance stuff a postprocessing step after capturing the raw data?