Proyecto Final - Turinmachin
Recreación del minijuego de matemáticas de Brain-Age usando redes neuronales
Loading...
Searching...
No Matches
pixels.h File Reference
#include <SDL3/SDL_rect.h>
#include <cstdint>
#include <vector>
Include dependency graph for pixels.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  game

Functions

auto game::make_grayscale (const std::vector< std::uint8_t > &pixel_data, std::size_t width) -> std::vector< std::uint8_t >
auto game::downscale_to_8x8 (const std::vector< std::uint8_t > &grayscale_data, const SDL_Rect &src_rect, int width) -> std::vector< std::uint8_t >