Skip to content

Commit

Permalink
Revert incorrect change
Browse files Browse the repository at this point in the history
  • Loading branch information
sergcpp committed Jan 6, 2025
1 parent fae417c commit 7321f81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/TextureUtilsNEON.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ void InsetYCoCgBBox_NEON(uint8_t min_color[4], uint8_t max_color[4]) {
min_col = vcombine_u8(vqmovun_s16(min_col), vqmovun_s16(min_col));
max_col = vcombine_u8(vqmovun_s16(max_col), vqmovun_s16(max_col));

vst1q_lane_u8(min_color, min_col, 0);
vst1q_lane_u8(max_color, max_col, 0);
vst1q_lane_s32(reinterpret_cast<int32_t *>(min_color), min_col, 0);
vst1q_lane_s32(reinterpret_cast<int32_t *>(max_color), max_col, 0);
}

alignas(16) static const int16_t CoCgMask[] = {-1, 0, -1, 0, -1, 0, -1, 0};
Expand Down

0 comments on commit 7321f81

Please sign in to comment.