|
|
@ -29,7 +29,7 @@ public: |
|
|
|
"-DSENSOR_ID=%hu -DHDR_OFFSET=%d -DVIGNETTING=%d ", |
|
|
|
"-DSENSOR_ID=%hu -DHDR_OFFSET=%d -DVIGNETTING=%d ", |
|
|
|
ci->frame_width, ci->frame_height, ci->hdr_offset > 0 ? ci->frame_stride * 2 : ci->frame_stride, ci->frame_offset, |
|
|
|
ci->frame_width, ci->frame_height, ci->hdr_offset > 0 ? ci->frame_stride * 2 : ci->frame_stride, ci->frame_offset, |
|
|
|
b->rgb_width, b->rgb_height, buf_width, uv_offset, |
|
|
|
b->rgb_width, b->rgb_height, buf_width, uv_offset, |
|
|
|
ci->image_sensor, ci->hdr_offset, s->camera_num == 1); |
|
|
|
static_cast<unsigned short>(ci->image_sensor), ci->hdr_offset, s->camera_num == 1); |
|
|
|
const char *cl_file = "cameras/process_raw.cl"; |
|
|
|
const char *cl_file = "cameras/process_raw.cl"; |
|
|
|
cl_program prg_imgproc = cl_program_from_file(context, device_id, cl_file, args); |
|
|
|
cl_program prg_imgproc = cl_program_from_file(context, device_id, cl_file, args); |
|
|
|
krnl_ = CL_CHECK_ERR(clCreateKernel(prg_imgproc, "process_raw", &err)); |
|
|
|
krnl_ = CL_CHECK_ERR(clCreateKernel(prg_imgproc, "process_raw", &err)); |
|
|
|