Create a new {@link BlackLevelPattern} from a given offset array.
The given offset array must contain offsets for each color channel in
a 2x2 pattern corresponding to the color filter arrangement. Offsets are
given in row-column scan order.
if (offsets == null) {
throw new NullPointerException("Null offsets array passed to constructor");
}
if (offsets.length < COUNT) {
throw new IllegalArgumentException("Invalid offsets array length");
}
mCfaOffsets = Arrays.copyOf(offsets, COUNT);