libnpp actually has a specialized function to handle images with BT709 colorspace. So we use that instead of the generic one when appropriate. This improves the color accuracy of the image slightly.
Hat tip to @fmassa
Drive-by: fixed a test that doesn't make sense on CUDA -- we can only expect exactly equal frames on CPU.
Visual inspection. Before on the left and after on the right:
libnpp actually has a specialized function to handle images with BT709 colorspace. So we use that instead of the generic one when appropriate. This improves the color accuracy of the image slightly.
Hat tip to @fmassa
Drive-by: fixed a test that doesn't make sense on CUDA -- we can only expect exactly equal frames on CPU.
Visual inspection. Before on the left and after on the right: