Vda fixes

Some VDA changes to bring the CVREF usage inline with the normal types of rendering. It avoids usage of the special apple YUV formats that seem bug prone + adds support for limited color range + brightness contrast when rendering using cvref rendering.

I suspect some of these changes should be brought over to the GLES side.
@elupus - ifdef target_darwin - see jenkins which failed to compile this on linux ...