Lines Matching defs:offset
781 float offset = dev->model->x_offset_ta;
783 offset = static_cast<float>((offset * dev->settings.xres) / MM_PER_INCH);
788 calib_pixels_offset = static_cast<std::size_t>(offset);
1014 int offset = 0;
1018 offset = dev->session.params.startx * sensor.shading_resolution /
1024 offset += sensor.shading_pixel_offset;
1028 offset *= 2 * 2 * 3;
1030 offset += sensor.shading_pixel_offset * 2 * 2 * 3;
1033 dev->interface->record_key_value("shading_offset", std::to_string(offset));
1039 if (offset < 0) {
1040 count += (-offset);
1041 length -= (-offset);
1042 offset = 0;
1044 if (static_cast<int>(length) + offset > static_cast<int>(size)) {
1045 length = size - offset;
1049 final_data[count++] = data[offset + i];