[PATCH v5 11/17] drm: add helper functions for YCBCR output handling