Lines Matching refs:width
16 int sdl_display_init_bottom(uint16_t height, uint16_t width, uint16_t zoom_pct, in sdl_display_init_bottom() argument
23 SDL_WINDOWPOS_UNDEFINED, width * zoom_pct / 100, in sdl_display_init_bottom()
48 SDL_RenderSetLogicalSize(*renderer, width, height); in sdl_display_init_bottom()
51 SDL_TEXTUREACCESS_STATIC, width, height); in sdl_display_init_bottom()
59 SDL_TEXTUREACCESS_TARGET, width, height); in sdl_display_init_bottom()
66 SDL_TEXTUREACCESS_STREAMING, width, height); in sdl_display_init_bottom()
84 for (int x = 0; x < width; x++) { in sdl_display_init_bottom()
105 void sdl_display_write_bottom(const uint16_t height, const uint16_t width, const uint16_t x, in sdl_display_write_bottom() argument
115 rect.w = width; in sdl_display_write_bottom()
136 int sdl_display_read_bottom(const uint16_t height, const uint16_t width, in sdl_display_read_bottom() argument
146 rect.w = width; in sdl_display_read_bottom()
159 SDL_RenderReadPixels(renderer, &rect, SDL_PIXELFORMAT_ARGB8888, buf, width * 4); in sdl_display_read_bottom()