fix ReadYCbCr bugs for Decoder in reading binFIles, remove main method in Decoder and Encoder