/third_party/backends/backend/ |
H A D | sp15c.c | 355 dev->br_x = 1200 * 17 / 2; in sane_open() 526 *(SANE_Word *) val = SANE_FIX (iluToMm (scanner->br_x)); in sane_control_option() 720 scanner->br_x = mmToIlu (SANE_UNFIX (*(SANE_Word *) val)); in sane_control_option() 722 *(SANE_Word *) val = SANE_FIX (iluToMm (scanner->br_x)); in sane_control_option() 906 DBG (10, "\t(nom.) width %d\n", scanner->br_x - scanner->tl_x); in sane_get_parameters() 1834 set_WD_width (buffer_r, s->br_x - s->tl_x); in sp15c_set_window_param() 1858 set_WD_line_width (buffer_r, ((s->br_x - s->tl_x) * s->x_res / 1200) / 8); in sp15c_set_window_param() 1862 set_WD_line_width (buffer_r, ((s->br_x - s->tl_x) * s->x_res / 1200) / 2); in sp15c_set_window_param() 1866 set_WD_line_width (buffer_r, (s->br_x - s->tl_x) * s->x_res / 1200); in sp15c_set_window_param() 1875 set_WD_line_width (buffer_r, 3 * (s->br_x in sp15c_set_window_param() [all...] |
H A D | hp5590.c | 259 float br_x, br_y, tl_x, tl_y; member 319 var = (float) (1.0 * (scanner->br_x - scanner->tl_x) * scanner->dpi); in calc_image_params() 640 ptr->br_x = ptr->info->max_size_x; in sane_open() 980 *(SANE_Fixed *) value = SANE_FIX (scanner->br_x * 25.4); in sane_control_option() 1203 scanner->br_x = val; in sane_control_option() 1221 if (val >= scanner->br_x) in sane_control_option() 1274 scanner->br_x = scanner->info->max_size_x; in sane_control_option() 1290 scanner->br_x = scanner->info->max_size_x; in sane_control_option() 1303 scanner->br_x = scanner->info->max_size_x; in sane_control_option() 1316 scanner->br_x in sane_control_option() [all...] |
H A D | sp15c.h | 158 int br_x; /* bottom right position, */ member
|
H A D | hp-option.c | 3514 HpAccessor tl_x, tl_y, br_x, br_y; member 3705 _HpOption br_x = _hp_optset_get(this, SCAN_BR_X); in hp_optset_fix_geometry_options() local 3712 assert(tl_x && tl_y && br_x && br_y); /* Geometry options missing */ in hp_optset_fix_geometry_options() 3716 br_xa = br_x->data_acsr; in hp_optset_fix_geometry_options() 3727 br_x->data_acsr = sanei_hp_accessor_geometry_new(br_xa, tl_xa, 1, in hp_optset_fix_geometry_options() 3733 || !br_x->data_acsr || !br_y->data_acsr) in hp_optset_fix_geometry_options() 3741 this->br_x = sanei_hp_accessor_geometry_new(br_xa, tl_xa, 1, in hp_optset_fix_geometry_options() 3745 if (!this->tl_x || !this->tl_y || !this->br_x || !this->br_y) in hp_optset_fix_geometry_options() 4025 int xextent = sanei_hp_accessor_getint(this->br_x, data); in sanei_hp_optset_guessParameters()
|
H A D | epjitsu.h | 167 int br_x; member
|
H A D | canon_dr.c | 156 - override tl_x and br_x for fixed width scanners 330 - br_x and br_y locked to page_width/height until changed 2105 s->u.br_x = s->u.page_x; in init_user() 3350 *val_p = SCANNER_UNIT_TO_FIXED_MM(s->u.br_x); in sane_control_option() 3784 if (s->u.br_x == FIXED_MM_TO_SCANNER_UNIT(val_c)) in sane_control_option() 3787 s->u.br_x = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 3807 if (s->u.tl_x == 0 && s->u.br_x == s->u.page_x){ in sane_control_option() 3808 DBG (20, "sane_control_option: br_x tracking page_width\n"); in sane_control_option() 3809 s->u.br_x = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 4789 s->u.br_x in get_pixelsize() [all...] |
H A D | test.c | 1823 if (read_option (line, "br_x", param_fixed, in sane_init() 2622 double res, tl_x = 0, tl_y = 0, br_x = 0, br_y = 0; in sane_get_parameters() local 2652 br_x = 110.0; in sane_get_parameters() 2662 br_x = SANE_UNFIX (test_device->val[opt_br_x].w); in sane_get_parameters() 2664 if (tl_x > br_x) in sane_get_parameters() 2665 swap_double (&tl_x, &br_x); in sane_get_parameters() 2706 p->pixels_per_line = (SANE_Int) (res * (br_x - tl_x) / MM_PER_INCH); in sane_get_parameters()
|
H A D | canon_dr.h | 98 int br_x; member
|
H A D | fujitsu.h | 437 int br_x; member
|
H A D | kvs1025_opt.c | 1104 SANE_Word br_x = mmToIlu (SANE_UNFIX (dev->val[OPT_BR_X].w)) * xr; in kv_control_option() local 1110 if (br_x < max) in kv_control_option() 1111 max = br_x; in kv_control_option()
|
H A D | p5.c | 919 int tl_x, tl_y, br_x, br_y; in compute_parameters() local 927 br_x = SANE_UNFIX (session->options[OPT_BR_X].value.w); in compute_parameters() 958 session->params.pixels_per_line = ((br_x - tl_x) * dpi) / MM_PER_INCH; in compute_parameters()
|
H A D | fujitsu.c | 581 - br_x and br_y locked to page_width/height until changed 2550 s->br_x = s->page_width; in init_user() 4776 *val_p = SCANNER_UNIT_TO_FIXED_MM(s->br_x); in sane_control_option() 5451 if (s->br_x == FIXED_MM_TO_SCANNER_UNIT(val_c)) in sane_control_option() 5454 s->br_x = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 5474 if (s->tl_x == 0 && s->br_x == s->page_width){ in sane_control_option() 5475 DBG (20, "sane_control_option: br_x tracking page_width\n"); in sane_control_option() 5476 s->br_x = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 6817 params->pixels_per_line = s->resolution_x * (s->br_x - s->tl_x) / 1200; in update_params() 6873 s->tl_x, s->br_x, in update_params() [all...] |
H A D | epson.c | 740 SANE_Word br_x; member 2586 qf_params[XtNumber (qf_params) - 1].br_x = dev->x_range->max; in attach() 3910 qf_params[XtNumber (qf_params) - 1].br_x = s->hw->x_range->max; in handle_source() 4157 s->val[OPT_BR_X].w = qf_params[sval->w].br_x; in setvalue()
|
H A D | epjitsu.c | 146 - don't override br_x and br_y 1556 *val_p = SCANNER_UNIT_TO_FIXED_MM(s->br_x); in sane_control_option() 1723 if (s->br_x == FIXED_MM_TO_SCANNER_UNIT(val_c)) in sane_control_option() 1726 s->br_x = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 2074 s->br_x = (s->max_x + s->page_width)/2; in change_params()
|
H A D | bh.c | 1195 double br_x, tl_x, br_y, tl_y; in get_parameters() local 1207 br_x = _OPT_VAL_WORD_THOUSANDTHS(s, OPT_BR_X); in get_parameters() 1212 width = (br_x - tl_x + 1) * res / 1000.0; in get_parameters()
|
H A D | rts8891.c | 1403 int tl_x, tl_y, br_x, br_y; in compute_parameters() local 1411 br_x = SANE_UNFIX (session->val[OPT_BR_X].w); in compute_parameters() 1436 session->params.pixels_per_line = ((br_x - tl_x) * dpi) / MM_PER_INCH; in compute_parameters()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_surround.c | 71 float br_x; member 630 rs_mag = powf(.5f * (-x + 1.f), s->br_x) * powf(1.f - ((y + 1.f) * .5f), s->br_y) * mag_total; in upmix_5_0_back() 672 rs_mag = powf(.5f * (-x + 1.f), s->br_x) * powf(1.f - ((y + 1.f) * .5f), s->br_y) * mag_total; in upmix_5_1_back() 716 rs_mag = powf(.5f * (-x + 1.f), s->br_x) * powf(1.f - ((y + 1.f) * .5f), s->br_y) * mag_total; in upmix_6_0() 763 rs_mag = powf(.5f * (-x + 1.f), s->br_x) * powf(1.f - ((y + 1.f) * .5f), s->br_y) * mag_total; in upmix_6_1() 812 rs_mag = powf(.5f * (-x + 1.f), s->br_x) * powf(1.f - ((y + 1.f) * .5f), s->br_y) * mag_total; in upmix_5_1_back_surround() 858 rs_mag = powf(.5f * (-x + 1.f), s->br_x) * powf(1.f - ((y + 1.f) * .5f), s->br_y) * mag_total; in upmix_5_1_back_2_1() 903 rb_mag = powf(.5f * (-x + 1.f), s->br_x) * powf(1.f - ((y + 1.f) * .5f), s->br_y) * mag_total; in upmix_7_0() 956 rb_mag = powf(.5f * (-x + 1.f), s->br_x) * powf(1.f - ((y + 1.f) * .5f), s->br_y) * mag_total; in upmix_7_1() 1016 rb_mag = powf(.5f * (-xr + 1.f), s->br_x) * pow in upmix_7_1_5_0_side() [all...] |
/third_party/backends/frontend/ |
H A D | scanimage.c | 168 static SANE_Word br_x = 0; variable 590 br_x = (*(SANE_Fixed *) val); in print_option() 591 printf ("%d", br_x - tl_x); in print_option() 616 br_x = (*(SANE_Fixed *) val); in print_option() 617 printf ("%g", SANE_UNFIX (br_x - tl_x)); in print_option() 2583 /* convert x/y to br_x/br_y */ in main()
|
/third_party/backends/backend/genesys/ |
H A D | genesys.cpp | 4237 float br_x = fixed_to_float(s->pos_bottom_right_x); in calculate_scan_settings() local 4244 unsigned pixels_per_line = static_cast<unsigned>(((br_x - settings.tl_x) * settings.xres) / in calculate_scan_settings()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | evergreen_state.c | 1023 unsigned tl_x, unsigned tl_y, unsigned br_x, unsigned br_y, in evergreen_get_scissor_rect() 1026 struct pipe_scissor_state scissor = {tl_x, tl_y, br_x, br_y}; in evergreen_get_scissor_rect() 1022 evergreen_get_scissor_rect(struct r600_context *rctx, unsigned tl_x, unsigned tl_y, unsigned br_x, unsigned br_y, uint32_t *tl, uint32_t *br) evergreen_get_scissor_rect() argument
|