Commit 7de4e049 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3390 from vbystricky:fix_houghlines

parents 5efad375 957e5ef8
......@@ -184,6 +184,8 @@ __kernel void get_lines(__global const uchar * accum_ptr, int accum_step, int ac
int x = get_global_id(0);
int y = get_global_id(1);
if (y < accum_rows-2)
{
__global uchar* accum = accum_ptr + mad24(y+1, accum_step, mad24(x+1, (int) sizeof(int), accum_offset));
__global int4* lines = (__global int4*)(lines_ptr + lines_offset);
__global int* lines_index = lines_index_ptr + 1;
......@@ -325,6 +327,7 @@ __kernel void get_lines(__global const uchar * accum_ptr, int accum_step, int ac
}
}
}
}
#endif
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment