EVE's co-processor command. More...
#include "EVE_Platform.h"
Go to the source code of this file.
Functions | |
EVE_HAL_EXPORT bool | EVE_CoCmd_bitmapTransform (EVE_HalContext *phost, int32_t x0, int32_t y0, int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t tx0, int32_t ty0, int32_t tx1, int32_t ty1, int32_t tx2, int32_t ty2, uint16_t *result) |
Send CMD_BITMAP_TRANSFORM. Blocking call if a pointer is passed to result | |
EVE's co-processor command.
MIT License
Copyright (c) [2019] [Bridgetek Pte Ltd (BRTChip)]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file EVE_CoCmd_State.c.
EVE_HAL_EXPORT bool EVE_CoCmd_bitmapTransform | ( | EVE_HalContext * | phost, |
int32_t | x0, | ||
int32_t | y0, | ||
int32_t | x1, | ||
int32_t | y1, | ||
int32_t | x2, | ||
int32_t | y2, | ||
int32_t | tx0, | ||
int32_t | ty0, | ||
int32_t | tx1, | ||
int32_t | ty1, | ||
int32_t | tx2, | ||
int32_t | ty2, | ||
uint16_t * | result | ||
) |
Send CMD_BITMAP_TRANSFORM. Blocking call if a pointer is passed to result
phost | Pointer to Hal context |
x0 | Point X0 screen coordinate, in pixels |
y0 | Point Y0 screen coordinate, in pixels |
x1 | Point X1 screen coordinate, in pixels |
y1 | Point Y1 screen coordinate, in pixels |
x2 | Point X2 screen coordinate, in pixels |
y2 | Point Y2 screen coordinate, in pixels |
tx0 | Point X0 bitmap coordinate, in pixels |
ty0 | Point Y0 bitmap coordinate, in pixels |
tx1 | Point X1 bitmap coordinate, in pixels |
ty1 | Point Y1 bitmap coordinate, in pixels |
tx2 | Point X2 bitmap coordinate, in pixels |
ty2 | Point Y2 bitmap coordinate, in pixels |
result | Optional parameter result is set to -1 on success, 0 on failure |
Definition at line 34 of file EVE_CoCmd_State.c.