|
|
@ -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 x = get_global_id(0); |
|
|
|
int y = get_global_id(1); |
|
|
|
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 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 int4* lines = (__global int4*)(lines_ptr + lines_offset); |
|
|
|
__global int* lines_index = lines_index_ptr + 1; |
|
|
|
__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 |
|
|
|
#endif |