Searched refs:format (Results 1 – 9 of 9) sorted by relevance
/bootable/recovery/minui/ |
D | graphics_adf.cpp | 37 surf->fd = adf_interface_simple_buffer_alloc(intf_fd, mode->hdisplay, mode->vdisplay, format, in SurfaceInit() 46 surf->pixel_bytes = (format == DRM_FORMAT_RGB565) ? 2 : 4; in SurfaceInit() 88 int err = adf_find_simple_post_configuration(dev, &format, 1, &intf_id, &eng_id); in DeviceInit() 108 format = DRM_FORMAT_ABGR8888; in Init() 110 format = DRM_FORMAT_BGRA8888; in Init() 112 format = DRM_FORMAT_RGBX8888; in Init() 114 format = DRM_FORMAT_RGB565; in Init() 173 int fence_fd = adf_interface_simple_post(intf_fd, eng_id, surf->width, surf->height, format, in Flip()
|
D | graphics_drm.cpp | 94 static int drm_format_to_bpp(uint32_t format) { in drm_format_to_bpp() argument 95 switch (format) { in drm_format_to_bpp() 106 printf("Unknown format %d\n", format); in drm_format_to_bpp() 115 uint32_t format; in DrmCreateSurface() local 117 format = DRM_FORMAT_RGBA8888; in DrmCreateSurface() 119 format = DRM_FORMAT_ARGB8888; in DrmCreateSurface() 121 format = DRM_FORMAT_XBGR8888; in DrmCreateSurface() 123 format = DRM_FORMAT_RGB565; in DrmCreateSurface() 129 create_dumb.bpp = drm_format_to_bpp(format); in DrmCreateSurface() 147 drmModeAddFB2(drm_fd, width, height, format, handles, pitches, offsets, &(surface->fb_id), 0); in DrmCreateSurface()
|
D | graphics_adf.h | 51 __u32 format; variable
|
/bootable/recovery/updater/include/updater/ |
D | install.h | 25 void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...)
|
/bootable/recovery/edify/ |
D | expr.h | 144 Value* ErrorAbort(State* state, const char* format, ...) 145 __attribute__((format(printf, 2, 3), deprecated)); 149 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...) 150 __attribute__((format(printf, 3, 4)));
|
D | expr.cpp | 402 Value* ErrorAbort(State* state, const char* format, ...) { in ErrorAbort() argument 404 va_start(ap, format); in ErrorAbort() 405 android::base::StringAppendV(&state->errmsg, format, ap); in ErrorAbort() 410 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...) { in ErrorAbort() argument 412 va_start(ap, format); in ErrorAbort() 413 android::base::StringAppendV(&state->errmsg, format, ap); in ErrorAbort()
|
/bootable/recovery/ |
D | common.h | 42 void ui_print(const char* format, ...);
|
D | recovery.cpp | 1228 void ui_print(const char* format, ...) { in ui_print() argument 1231 va_start(ap, format); in ui_print() 1232 android::base::StringAppendV(&buffer, format, ap); in ui_print()
|
/bootable/recovery/updater/ |
D | install.cpp | 87 void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...) { in uiPrintf() argument 91 va_start(ap, format); in uiPrintf() 92 android::base::StringAppendV(&error_msg, format, ap); in uiPrintf()
|