nl: rgb in the range 0,1 to ycc in the range y = 0,1 , cb =[ -0.5,0.5 , cr =[ -0.5,0.5 concode_field_sep int bits concode_elem_sep String name concode_elem_sep int mask concode_field_sep int getBits concode_elem_sep void RGBtoYUV concode_elem_sep void RGBtoYIQ concode_elem_sep void YUVtoRGB concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep void YCCtoRGB concode_elem_sep void YCCtoRGB concode_elem_sep int YCCtoRGB concode_elem_sep void YIQtoRGB
code: void function ( float [ ] arg0 , float [ ] arg1 ) { float loc0 = max ( 0f , min ( 1f , arg0 [ 0 ] ) ) ; float loc1 = max ( 0f , min ( 1f , arg0 [ 1 ] ) ) ; float loc2 = max ( 0f , min ( 1f , arg0 [ 2 ] ) ) ; float loc3 = 0.3f * loc0 + 0.6f * loc1 + 0.1f * loc2 ; float loc4 = loc0 - loc3 ; float loc5 = loc2 - loc3 ; float loc6 = ( loc5 / 2f ) ; float loc7 = ( loc4 / 1.6f ) ; arg1 [ 0 ] = loc3 ; arg1 [ 1 ] = loc6 ; arg1 [ 2 ] = loc7 ; }