Skip to content

out of range (tile transformation) #4

Description

@ds2268

Hi @sangameshnr,

If I am correct, you get out of the allocated memory for the image in the lines provided below (for the case of tmp[12:4] =data[(i+3)*ldi+j:4]. This goes for the images that have odd dimensions only. So the images need to have even dimensions or be padded with zeros.

FALCON/src/falcon.c

Lines 58 to 64 in d2552c8

for(i = 0; i < irows-2; i += 2){
#pragma unroll(4)
for(j = 0; j < (irows-2); j += 2){
tmp[0 :4] =data[(i+0)*ldi+j:4];
tmp[4 :4] =data[(i+1)*ldi+j:4];
tmp[8 :4] =data[(i+2)*ldi+j:4];
tmp[12:4] =data[(i+3)*ldi+j:4];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions