Skip to content

Commit

Permalink
Update __arm_2d_filter_reverse_colour_helium.c
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Dec 4, 2024
1 parent 95abad6 commit cd2e2eb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Library/Source/__arm_2d_filter_reverse_colour_helium.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ void __arm_2d_impl_gray8_reverse_colour(uint8_t *__RESTRICT pchTarget,
vTarget ^= vFF;

vst1q_p_u8(pchTargetLine, vTarget, vp);
pchTargetLine += (128 / sizeof(uint8_t));
iStrideWidth -= (128 / sizeof(uint8_t));
pchTargetLine += (16 / sizeof(uint8_t));
iStrideWidth -= (16 / sizeof(uint8_t));
} while(iStrideWidth > 0);

pchTarget += iTargetStride;
Expand Down Expand Up @@ -143,8 +143,8 @@ void __arm_2d_impl_rgb565_reverse_colour( uint16_t *__RESTRICT phwTarget,
vTarget ^= vFFFF;

vst1q_p_u16(phwTargetLine, vTarget, vp);
phwTargetLine += (128 / sizeof(uint16_t));
iStrideWidth -= (128 / sizeof(uint16_t));
phwTargetLine += (16 / sizeof(uint16_t));
iStrideWidth -= (16 / sizeof(uint16_t));
} while(iStrideWidth > 0);

phwTarget += iTargetStride;
Expand Down Expand Up @@ -174,8 +174,8 @@ void __arm_2d_impl_cccn888_reverse_colour( uint32_t *__RESTRICT pwTarget,
vTarget ^= v00FFFFFF;

vst1q_p_u32(pwTargetLine, vTarget, vp);
pwTargetLine += (128 / sizeof(uint32_t));
iStrideWidth -= (128 / sizeof(uint32_t));
pwTargetLine += (16 / sizeof(uint32_t));
iStrideWidth -= (16 / sizeof(uint32_t));
} while(iStrideWidth > 0);

pwTarget += iTargetStride;
Expand Down

0 comments on commit cd2e2eb

Please sign in to comment.