videolib.cvt_color.linear_yuv2yuv

linear_yuv2yuv(linear_yuv, standard, range=None)[source]

Converts Linear YUV to YUV. :type linear_yuv: ndarray :param linear_yuv: Linear YUV array of shape (R, C, 3) :type standard: Standard :param standard: Color standard to which the data conforms. :type range: Union[int, float, None] :param range: Range of pixel values (Default: None - inferred from standard).

Return type:

ndarray

Returns:

YUV array of shape (R, C, 3)