Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
|
#include "phone.H"
Public Attributes | |
bool | changed |
Set on change, reset on fetching. | |
Frame format. | |
EPhoneVideoFormat | format |
Pixel format. | |
int | w |
int | h |
Image dimensions. | |
Frame data references. | |
The following fields describe an image either by a single chunk suitable for 'SDL_UpdateTexture()' or in separate planes as accepted by 'SDL_UpdateYUVTexture()'. The plane references are used if 'data == NULL' and 'planeY != NULL'. | |
uint8_t * | data |
Data, if all planes contiguous in memory (for 'SDL_UpdateTexture()') | |
int | pitch |
number of bytes between rows (for 'data != NULL') | |
uint8_t * | planeY |
uint8_t * | planeU |
uint8_t * | planeV |
color planes (Y, U, V) (for 'SDL_UpdateYUVTexture()') | |
int | pitchY |
int | pitchU |
int | pitchV |
number of bytes between rows (for 'SDL_UpdateYUVTexture()') | |