PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Dependents: YATTT sd_map_test cPong SnowDemo ... more
ImageFormat.h File Reference
Go to the source code of this file.
Functions | |
int | openImageFileFromSD (char *, uint16_t **, uint8_t **) |
int | directDrawImageFileFromSD (uint16_t, uint16_t, uint16_t, uint16_t, int16_t, int16_t, char *) |
Detailed Description
LICENSE
Pokitto development stage library Software License Agreement
Copyright (c) 2015, Jonne Valola ("Author") All rights reserved.
This library is intended solely for the purpose of Pokitto development.
Redistribution and use in source and binary forms, with or without modification requires written permission from Author.
Definition in file ImageFormat.h.
Function Documentation
int directDrawImageFileFromSD | ( | uint16_t | , |
uint16_t | , | ||
uint16_t | , | ||
uint16_t | , | ||
int16_t | , | ||
int16_t | , | ||
char * | |||
) |
HV why we have to check fileOK()?
Check image validity
Zero size parameter means full image size
Check parameters
Zero size parameter means full image size
Clip image to screen dimensions
Read and copy image data directly to the screen
Definition at line 312 of file BmpImage.cpp.
int openImageFileFromSD | ( | char * | , |
uint16_t ** | , | ||
uint8_t ** | |||
) |
numcol is the number of colors for output
Check image validity
Read and copy palette
Read and copy image data
Definition at line 67 of file BmpImage.cpp.
Generated on Tue Jul 12 2022 11:20:43 by 1.7.2