rapp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rapp-dev] SSSE3 alignment and rapp_validate_alignment


From: Willie Betschart
Subject: [Rapp-dev] SSSE3 alignment and rapp_validate_alignment
Date: Wed, 19 Feb 2014 11:17:53 +0100

Hi!

I deliver two patches to RAPP

Correct-alignment-for-SSSE3.patch sets an alignment of 16 bytes.

Tested with
./configure --enable-backend=ssse3
make check


rapp_validate_alignment.patch
This adds a new API, mainly for validating buffers allocated form external 
sources, i.e. OpenCV buffers.

Example 
if(rapp_validate_alignment(buf, ....) == 0){
   new_buf = rapp_malloc()
   copy(new_buf, buf)
   free(buf)
   buf = new_buf
}

Best regards
Willie Betschart


Attachment: Correct-alignment-for-SSS3.patch
Description: Correct-alignment-for-SSS3.patch

Attachment: rapp_validate_alignment.patch
Description: rapp_validate_alignment.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]