SayoriOS
0.3.3
rgb_image.h
1
//
2
// Created by ndraey on 25.10.23.
3
//
4
5
#pragma once
6
7
#include "
common.h
"
8
9
#define PIXIDX(w, x, y) ((w) * (y) + (x))
10
11
void
draw_rgb_image(
const
char
*data,
size_t
width,
size_t
height,
size_t
bpp,
int
sx,
int
sy);
12
void
scale_rgb_image(
const
char
* pixels,
unsigned
int
w1,
unsigned
int
h1, uint32_t w2, uint32_t h2,
char
alpha,
char
* out);
common.h
Основные определения ядра
kernel
include
io
rgb_image.h
Документация по SayoriOS. Последние изменения: Вс 8 Дек 2024 11:15:21. Создано системой
1.9.1