Added YUV transformation on data_layer with RGB input images.

In this implementation it does not accept mirror or/and croping.