moved rgb and ybr decoding into this library instead of using the colorImageDecoder library