Skip to content

Commit b684bc0

Browse files
committed
LibMedia: Reorder the BT.2020 matrix to match previous lines
1 parent 2af0713 commit b684bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/LibMedia/Color/ColorPrimaries.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ constexpr FloatVector2 BT_2020_RED = { 0.708f, 0.292f };
6464
constexpr FloatVector2 BT_2020_GREEN = { 0.170f, 0.797f };
6565
constexpr FloatVector2 BT_2020_BLUE = { 0.131f, 0.046f };
6666

67-
constexpr FloatMatrix3x3 bt_2020_rgb_to_xyz = generate_rgb_to_xyz_matrix(BT_2020_RED, BT_2020_GREEN, BT_2020_BLUE, ILLUMINANT_D65);
6867
constexpr FloatMatrix3x3 bt_709_rgb_to_xyz = generate_rgb_to_xyz_matrix(BT_709_RED, BT_709_GREEN, BT_709_BLUE, ILLUMINANT_D65);
6968
constexpr FloatMatrix3x3 bt_601_rgb_to_xyz = generate_rgb_to_xyz_matrix(BT_601_RED, BT_601_GREEN, BT_601_BLUE, ILLUMINANT_D65);
69+
constexpr FloatMatrix3x3 bt_2020_rgb_to_xyz = generate_rgb_to_xyz_matrix(BT_2020_RED, BT_2020_GREEN, BT_2020_BLUE, ILLUMINANT_D65);
7070

7171
DecoderErrorOr<FloatMatrix3x3> get_conversion_matrix(ColorPrimaries input_primaries, ColorPrimaries output_primaries)
7272
{

0 commit comments

Comments
 (0)