/third_party/backends/backend/ |
H A D | sp15c.c | 356 dev->br_y = 1200 * 11; in sane_open() 530 *(SANE_Word *) val = SANE_FIX (iluToMm (scanner->br_y)); in sane_control_option() 589 apply_constraints (scanner, OPT_BR_Y, &scanner->br_y, info); in sane_control_option() 599 apply_constraints (scanner, OPT_BR_Y, &scanner->br_y, info); in sane_control_option() 730 scanner->br_y = mmToIlu (SANE_UNFIX (*(SANE_Word *) val)); in sane_control_option() 731 *(SANE_Word *) val = SANE_FIX (iluToMm (scanner->br_y)); in sane_control_option() 905 DBG (10, "\tlength %d\n", scanner->br_y - scanner->tl_y); in sane_get_parameters() 1835 set_WD_length (buffer_r, s->br_y - s->tl_y); in sp15c_set_window_param() 1859 set_WD_line_count (buffer_r, (s->br_y - s->tl_y) * s->y_res / 1200); in sp15c_set_window_param() 1863 set_WD_line_count (buffer_r, (s->br_y in sp15c_set_window_param() [all...] |
H A D | hp5590.c | 259 float br_x, br_y, tl_x, tl_y; member 324 var = (float) (1.0 * (scanner->br_y - scanner->tl_y) * scanner->dpi); in calc_image_params() 641 ptr->br_y = ptr->info->max_size_y; in sane_open() 985 *(SANE_Fixed *) value = SANE_FIX (scanner->br_y * 25.4); in sane_control_option() 1213 scanner->br_y = val; in sane_control_option() 1231 if (val >= scanner->br_y) in sane_control_option() 1275 scanner->br_y = scanner->info->max_size_y; in sane_control_option() 1291 scanner->br_y = ADF_MAX_Y_INCHES; in sane_control_option() 1304 scanner->br_y = ADF_MAX_Y_INCHES; in sane_control_option() 1317 scanner->br_y in sane_control_option() [all...] |
H A D | sp15c.h | 159 int br_y; /* in inch/1200 units */ member
|
H A D | canon_dr.c | 330 - br_x and br_y locked to page_width/height until changed 2108 s->u.br_y = s->u.page_y; in init_user() 3354 *val_p = SCANNER_UNIT_TO_FIXED_MM(s->u.br_y); in sane_control_option() 3793 if (s->u.br_y == FIXED_MM_TO_SCANNER_UNIT(val_c)) in sane_control_option() 3796 s->u.br_y = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 3824 if (s->u.tl_y == 0 && s->u.br_y == s->u.page_y){ in sane_control_option() 3825 DBG (20, "sane_control_option: br_y tracking page_height\n"); in sane_control_option() 3826 s->u.br_y = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 4796 s->u.br_y = get_R_PSIZE_length(in); in get_pixelsize() 4800 s->u.page_y = s->u.br_y; in get_pixelsize() [all...] |
H A D | hp-option.c | 3514 HpAccessor tl_x, tl_y, br_x, br_y; member 3706 _HpOption br_y = _hp_optset_get(this, SCAN_BR_Y); 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() 3717 br_ya = br_y->data_acsr; in hp_optset_fix_geometry_options() 3729 br_y->data_acsr = sanei_hp_accessor_geometry_new(br_ya, tl_ya, 1, in hp_optset_fix_geometry_options() 3733 || !br_x->data_acsr || !br_y->data_acsr) in hp_optset_fix_geometry_options() 3743 this->br_y = sanei_hp_accessor_geometry_new(br_ya, tl_ya, 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() 4026 int yextent = sanei_hp_accessor_getint(this->br_y, data); in sanei_hp_optset_guessParameters()
|
H A D | epjitsu.h | 168 int br_y; member
|
H A D | test.c | 1826 if (read_option (line, "br_y", 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 2654 br_y = 170.0; in sane_get_parameters() 2656 test_device->lines = (SANE_Word) (res * (br_y - tl_y) / MM_PER_INCH); in sane_get_parameters() 2663 br_y = SANE_UNFIX (test_device->val[opt_br_y].w); in sane_get_parameters() 2666 if (tl_y > br_y) in sane_get_parameters() 2667 swap_double (&tl_y, &br_y); in sane_get_parameters() 2668 test_device->lines = (SANE_Word) (res * (br_y - tl_y) / MM_PER_INCH); in sane_get_parameters()
|
H A D | canon_dr.h | 99 int br_y; member
|
H A D | fujitsu.h | 438 int br_y; member
|
H A D | p5.c | 919 int tl_x, tl_y, br_x, br_y; in compute_parameters() local 928 br_y = SANE_UNFIX (session->options[OPT_BR_Y].value.w); in compute_parameters() 955 session->params.lines = ((br_y - tl_y) * 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 2553 s->br_y = s->page_height; in init_user() 4780 *val_p = SCANNER_UNIT_TO_FIXED_MM(s->br_y); in sane_control_option() 5460 if (s->br_y == FIXED_MM_TO_SCANNER_UNIT(val_c)) in sane_control_option() 5463 s->br_y = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 5490 if (s->tl_y == 0 && s->br_y == s->page_height){ in sane_control_option() 5491 DBG (20, "sane_control_option: br_y tracking page_height\n"); in sane_control_option() 5492 s->br_y = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 6821 params->lines = s->resolution_y * (s->br_y - s->tl_y) / 1200; in update_params() 6873 s->tl_x, s->br_x, s->tl_y, s->br_y); in update_params() [all...] |
H A D | epjitsu.c | 146 - don't override br_x and br_y 1560 *val_p = SCANNER_UNIT_TO_FIXED_MM(s->br_y); in sane_control_option() 1732 if (s->br_y == FIXED_MM_TO_SCANNER_UNIT(val_c)) in sane_control_option() 1735 s->br_y = FIXED_MM_TO_SCANNER_UNIT(val_c); in sane_control_option() 2063 s->br_y = s->tl_y + s->page_height; in change_params() 2066 s->br_y = s->max_y; in change_params()
|
H A D | epson.c | 741 SANE_Word br_y; member 2587 qf_params[XtNumber (qf_params) - 1].br_y = dev->y_range->max; in attach() 3911 qf_params[XtNumber (qf_params) - 1].br_y = s->hw->y_range->max; in handle_source() 4158 s->val[OPT_BR_Y].w = qf_params[sval->w].br_y; in setvalue()
|
H A D | bh.c | 1195 double br_x, tl_x, br_y, tl_y; in get_parameters() local 1208 br_y = _OPT_VAL_WORD_THOUSANDTHS(s, OPT_BR_Y); in get_parameters() 1213 length = (br_y - tl_y + 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 1412 br_y = SANE_UNFIX (session->val[OPT_BR_Y].w); in compute_parameters() 1433 session->params.lines = ((br_y - tl_y) * dpi) / MM_PER_INCH; in compute_parameters()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_surround.c | 80 float br_y; 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) * powf((yr + 1.f) * .5f, s->br_y) * mag_total in upmix_7_1_5_0_side() [all...] |
/third_party/backends/frontend/ |
H A D | scanimage.c | 169 static SANE_Word br_y = 0; variable 595 br_y = (*(SANE_Fixed *) val); in print_option() 596 printf ("%d", br_y - tl_y); in print_option() 621 br_y = (*(SANE_Fixed *) val); in print_option() 622 printf ("%g", SANE_UNFIX (br_y - tl_y)); in print_option() 2583 /* convert x/y to br_x/br_y */ in main()
|
/third_party/backends/backend/genesys/ |
H A D | genesys.cpp | 4238 float br_y = fixed_to_float(s->pos_bottom_right_y); in calculate_scan_settings() local 4240 settings.lines = static_cast<unsigned>(((br_y - settings.tl_y) * settings.yres) / 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
|