Home | History | Annotate | Download | only in hwc

Lines Matching refs:orig_w

752     int orig_w = WIDTH(region);
760 m_translate(ext->m, -(orig_w >> 1) - region.left, -(orig_h >> 1) - region.top);
766 swap(orig_w, orig_h);
772 get_max_dimensions(orig_w, orig_h, xpy,
776 m_scale(ext->m, orig_w, adj_xres, orig_h, adj_yres);
2296 int orig_w = hwc_dev->fb_dev->base.width;
2298 hwc_rect_t region = {.left = 0, .top = 0, .right = orig_w, .bottom = orig_h};
2300 hwc_dev->primary_rotation = ((lcd_w > lcd_h) ^ (orig_w > orig_h)) ? 1 : 0;
2301 hwc_dev->primary_transform = ((lcd_w != orig_w)||(lcd_h != orig_h)) ? 1 : 0;
2303 ALOGI("transforming FB (%dx%d) => (%dx%d) rot%d", orig_w, orig_h, lcd_w, lcd_h, hwc_dev->primary_rotation);
2309 m_translate(hwc_dev->primary_m, -(orig_w >> 1), -(orig_h >> 1));
2312 swap(orig_w, orig_h);
2313 m_scale(hwc_dev->primary_m, orig_w, lcd_w, orig_h, lcd_h);