Searched refs:screen_w (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/u-boot/tools/rockchip/ |
| H A D | bmp2gray16.c | 107 uint32_t screen_w; variable 149 return ALIGN((screen_w * screen_h) >> 1, RK_BLK_SIZE); in size_of_one_image() 251 printf("screen_w=%d, screen_h=%d\n", screen_w, screen_h); in convert_one_image() 252 if (le32_to_cpu(bmp_hdr->width) != screen_w || in convert_one_image() 264 gr_hdr->w = screen_w; in convert_one_image() 268 gr_hdr->data_size = screen_w * screen_h / 2; in convert_one_image() 282 for (i = 0; i < screen_w * screen_h / 2; i++) { in convert_one_image() 285 int j = convert_bmp_idx_to_gray_idx(2 * i, screen_w, in convert_one_image() 306 for (i = 0; i < screen_w * screen_h / 2; i++) { in convert_one_image() 309 int j = convert_bmp_idx_to_gray_idx(2 * i, screen_w, in convert_one_image() [all …]
|
| /OK3568_Linux_fs/external/drm-cursor/ |
| H A D | drm_cursor.c | 555 int w, h, screen_w, screen_h; in drm_get_ctx() local 557 sscanf(config, "%dx%d/%dx%d", &w, &h, &screen_w, &screen_h) == 4) { in drm_get_ctx() 558 ctx->scale_from = 1.0 * w * h / screen_w / screen_h; in drm_get_ctx()
|