A collection of example source codes for c/c++ and ios and android platform. It also includes objective c.
R = Y + 1.403V' G = Y - 0.344U' - 0.714V' B = Y + 1.770U'
Y = 0.299R + 0.587G + 0.114B U'= (B-Y)*0.565 V'= (R-Y)*0.713