Home
last modified time | relevance | path

Searched refs:base_x (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/content/common/gpu/client/
Dgl_helper_unittest.cc418 int base_x = static_cast<int>(floorf(x)); in Bilinear() local
420 x -= base_x; in Bilinear()
422 return (ChannelAsFloat(pixels, base_x, base_y, c) * (1 - x) * (1 - y) + in Bilinear()
423 ChannelAsFloat(pixels, base_x + 1, base_y, c) * x * (1 - y) + in Bilinear()
424 ChannelAsFloat(pixels, base_x, base_y + 1, c) * (1 - x) * y + in Bilinear()
425 ChannelAsFloat(pixels, base_x + 1, base_y + 1, c) * x * y); in Bilinear()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_engine.cpp235 double base_x = m_DestWidth > 0 ? 0.0f : (FX_FLOAT)(m_DestWidth); in CStretchEngine() local
237 double src_left = FXSYS_Mul(scale_x, (FX_FLOAT)(clip_rect.left) + base_x); in CStretchEngine()
238 double src_right = FXSYS_Mul(scale_x, (FX_FLOAT)(clip_rect.right) + base_x); in CStretchEngine()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-layout-gpos-table.hh410 hb_position_t mark_x, mark_y, base_x, base_y; in apply() local
413 glyph_anchor.get_anchor (c->font, buffer->info[glyph_pos].codepoint, &base_x, &base_y); in apply()
416 o.x_offset = base_x - mark_x; in apply()
/external/harfbuzz_ng/src/
Dhb-ot-layout-gpos-table.hh410 hb_position_t mark_x, mark_y, base_x, base_y; in apply() local
413 glyph_anchor.get_anchor (c->font, buffer->info[glyph_pos].codepoint, &base_x, &base_y); in apply()
416 o.x_offset = base_x - mark_x; in apply()