diff --git a/source/row_neon.cc b/source/row_neon.cc index 14eed6ff8..804ff8395 100644 --- a/source/row_neon.cc +++ b/source/row_neon.cc @@ -2502,9 +2502,11 @@ struct RgbConstants { // G * 0.5870 coefficient = 150 // R * 0.2990 coefficient = 77 // Add 0.5 = 0x80 -static const struct RgbConstants kRgb24JPEGConstants = {{29, 150, 77, 0}, 128}; +static const struct RgbConstants kRgb24JPEGConstants = {{29, 150, 77, 0}, + 128, + 0}; -static const struct RgbConstants kRawJPEGConstants = {{77, 150, 29, 0}, 128}; +static const struct RgbConstants kRawJPEGConstants = {{77, 150, 29, 0}, 128, 0}; // RGB to BT.601 coefficients // B * 0.1016 coefficient = 25 @@ -2513,9 +2515,12 @@ static const struct RgbConstants kRawJPEGConstants = {{77, 150, 29, 0}, 128}; // Add 16.5 = 0x1080 static const struct RgbConstants kRgb24I601Constants = {{25, 129, 66, 0}, - 0x1080}; + 0x1080, + 0}; -static const struct RgbConstants kRawI601Constants = {{66, 129, 25, 0}, 0x1080}; +static const struct RgbConstants kRawI601Constants = {{66, 129, 25, 0}, + 0x1080, + 0}; // ARGB expects first 3 values to contain RGB and 4th value is ignored. void ARGBToYMatrixRow_NEON(const uint8_t* src_argb, diff --git a/source/row_neon64.cc b/source/row_neon64.cc index a5313b7ec..0f120373f 100644 --- a/source/row_neon64.cc +++ b/source/row_neon64.cc @@ -2746,9 +2746,11 @@ struct RgbConstants { // G * 0.5870 coefficient = 150 // R * 0.2990 coefficient = 77 // Add 0.5 = 0x80 -static const struct RgbConstants kRgb24JPEGConstants = {{29, 150, 77, 0}, 128}; +static const struct RgbConstants kRgb24JPEGConstants = {{29, 150, 77, 0}, + 128, + 0}; -static const struct RgbConstants kRawJPEGConstants = {{77, 150, 29, 0}, 128}; +static const struct RgbConstants kRawJPEGConstants = {{77, 150, 29, 0}, 128, 0}; // RGB to BT.601 coefficients // B * 0.1016 coefficient = 25 @@ -2757,9 +2759,12 @@ static const struct RgbConstants kRawJPEGConstants = {{77, 150, 29, 0}, 128}; // Add 16.5 = 0x1080 static const struct RgbConstants kRgb24I601Constants = {{25, 129, 66, 0}, - 0x1080}; + 0x1080, + 0}; -static const struct RgbConstants kRawI601Constants = {{66, 129, 25, 0}, 0x1080}; +static const struct RgbConstants kRawI601Constants = {{66, 129, 25, 0}, + 0x1080, + 0}; // ARGB expects first 3 values to contain RGB and 4th value is ignored. void ARGBToYMatrixRow_NEON(const uint8_t* src_argb,