2015-10-28 05:51:52 -0600 | asked a question | 16 bytes memory alignment for Mat images to be used with SSE instruction Hi every one, I want to use the SSE instructions with Mat images in opencv, but the problem is that I need to perform memory alignment to 16 bytes (I am working with single chanel images). I have a version which already works but with malloc and memcpy, but my purpose behind all of this is to remove the malloc and memcpy , since I am targeting embedded systems , here is my version I want to 1. remove the dynamic allocation 2. do 16 bytes alignment for the image Thanks in advance |