Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mshabunin
Copy link
Contributor

Consequence of #25469

BufferArea can be used to store objects with sizes which are power of two, because it uses alignPtr function internally. Node2D structure has size of 30 bytes on 32-bit platforms, thus can not be stored in the area. Thus we've moved data_x array to a separate AutoBuffer.

@asmorkalov asmorkalov requested a review from opencv-alalek May 14, 2024 11:59
@asmorkalov asmorkalov added this to the 4.10.0 milestone May 14, 2024
Copy link
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@asmorkalov asmorkalov self-assigned this May 14, 2024
@asmorkalov asmorkalov merged commit 58e007e into opencv:4.x May 14, 2024
@mshabunin mshabunin deleted the fix-emd-32bit branch May 15, 2024 08:23
@opencv-alalek opencv-alalek removed their request for review May 19, 2024 09:42
@mshabunin mshabunin mentioned this pull request Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants