| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minui/ |
| H A D | graphics.c | 128 (bold ? font->cheight * font->texture->row_bytes : 0); in gr_text() 129 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_text() 131 text_blend(src_p, font->texture->row_bytes, in gr_text() 132 dst_p, gr_draw->row_bytes, in gr_text() 154 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_texticon() 156 text_blend(src_p, icon->row_bytes, in gr_texticon() 157 dst_p, gr_draw->row_bytes, in gr_texticon() 173 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes); in gr_clear() 184 px += gr_draw->row_bytes - (gr_draw->width * gr_draw->pixel_bytes); in gr_clear() 199 unsigned char* p = gr_draw->data + y1 * gr_draw->row_bytes + x1 * gr_draw->pixel_bytes; in gr_fill() [all …]
|
| H A D | graphics_fbdev.c | 137 gr_framebuffer[0].row_bytes = fi.line_length; in fbdev_init() 140 memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes); in fbdev_init() 148 gr_framebuffer[0].height * gr_framebuffer[0].row_bytes; in fbdev_init() 161 gr_draw->data = (unsigned char*) malloc(gr_draw->height * gr_draw->row_bytes); in fbdev_init() 168 memset(gr_draw->data, 0, gr_draw->height * gr_draw->row_bytes); in fbdev_init() 194 for (idx = 0 ; idx < (gr_draw->height * gr_draw->row_bytes); idx += 4) { in fbdev_flip() 202 gr_draw->height * gr_draw->row_bytes); in fbdev_flip()
|
| H A D | resources.c | 149 surface->row_bytes = width * 4; in init_display_surface() 223 transform_rgb_to_draw(p_row, surface->data + y * surface->row_bytes, channels, width); in res_create_display_surface() 288 (y / *frames) * surface[frame]->row_bytes; in res_create_multi_display_surface() 334 surface->row_bytes = width; in res_create_alpha_surface() 340 p_row = surface->data + y * surface->row_bytes; in res_create_alpha_surface() 385 surface->row_bytes = 0; in res_create_localized_alpha_surface() 417 surface->row_bytes = w; in res_create_localized_alpha_surface()
|
| H A D | graphics_drm.c | 93 surface->base.row_bytes * surface->base.height); in drm_destroy_surface() 193 surface->base.row_bytes = create_dumb.pitch; in drm_create_surface() 197 surface->base.height * surface->base.row_bytes, in drm_create_surface()
|
| H A D | minui.h | 31 int row_bytes; member
|
| H A D | graphics_adf.c | 64 surf->base.row_bytes = surf->pitch; in adf_surface_init()
|
| /OK3568_Linux_fs/external/recovery/minui/ |
| H A D | graphics.c | 190 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text() 192 (bold ? font->char_height * font->texture->row_bytes : 0); in gr_text() 195 text_blend(src_p, font->texture->row_bytes, dst_p, row_pixels, font->char_width, in gr_text() 216 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon() 220 text_blend(src_p, icon->row_bytes, dst_p, row_pixels, icon->width, icon->height); in gr_texticon() 240 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear() 241 memset(gr_draw->data, gr_current & 0xff, gr_draw->height * gr_draw->row_bytes); in gr_clear() 245 int row_diff = gr_draw->row_bytes / gr_draw->pixel_bytes - gr_draw->width; in gr_clear() 268 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_fill() 301 int src_row_pixels = source->row_bytes / source->pixel_bytes; in gr_blit() [all …]
|
| H A D | graphics_fbdev.c | 139 gr_framebuffer[0].row_bytes = fi.line_length; in fbdev_init() 142 memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes); in fbdev_init() 150 gr_framebuffer[0].height * gr_framebuffer[0].row_bytes; in fbdev_init() 163 gr_draw->data = (unsigned char*) malloc(gr_draw->height * gr_draw->row_bytes); in fbdev_init() 170 memset(gr_draw->data, 0, gr_draw->height * gr_draw->row_bytes); in fbdev_init() 197 for (idx = 0 ; idx < (gr_draw->height * gr_draw->row_bytes); idx += 4) { in fbdev_flip() 205 gr_draw->height * gr_draw->row_bytes); in fbdev_flip()
|
| H A D | resources.c | 152 surface->row_bytes = width * 4; in init_display_surface() 228 transform_rgb_to_draw(p_row, surface->data + y * surface->row_bytes, channels, width); in res_create_display_surface() 294 (y / *frames) * surface[frame]->row_bytes; in res_create_multi_display_surface() 341 surface->row_bytes = width; in res_create_alpha_surface() 347 p_row = surface->data + y * surface->row_bytes; in res_create_alpha_surface() 394 surface->row_bytes = 0; in res_create_localized_alpha_surface() 426 surface->row_bytes = w; in res_create_localized_alpha_surface()
|
| H A D | graphics_drm.c | 98 surface->base.row_bytes * surface->base.height); in drm_destroy_surface() 200 surface->base.row_bytes = create_dumb.pitch; in drm_create_surface() 204 surface->base.height * surface->base.row_bytes, in drm_create_surface()
|
| H A D | minui.h | 31 int row_bytes; member
|
| H A D | graphics_adf.c | 64 surf->base.row_bytes = surf->pitch; in adf_surface_init()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/ |
| H A D | CVE-2021-3695-video-readers-png-Drop-greyscale-support-to-fix-heap.patch | 57 int row_bytes, color_bits; 85 data->image_data = grub_calloc (data->image_height, data->row_bytes);
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0006-malloc-Use-overflow-checking-primitives-where-we-do-.patch | 1308 - data->row_bytes = data->image_width * data->bpp; 1310 + if (grub_mul (data->image_width, data->bpp, &data->row_bytes)) 1314 - data->row_bytes = (data->image_width * data->color_bits + 7) / 8; 1316 + if (grub_mul (data->image_width, data->color_bits + 7, &data->row_bytes)) 1319 + data->row_bytes >>= 3;
|
| H A D | 0005-calloc-Use-calloc-at-most-places.patch | 1628 - data->image_data = grub_malloc (data->image_height * data->row_bytes); 1629 + data->image_data = grub_calloc (data->image_height, data->row_bytes);
|