FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
224
Copyright © Bridgetek Limited
5.43
CMD_GETPROPS
-
get
the
image
properties
decompressed by CMD_LOADIMAGE
C prototype
void cmd_getprops( uint32_t &ptr, uint32_t &width, uint32_t &height);
Parameters
ptr
The address of image in RAM_G which was decompressed by last
CMD_LOADIMAGE before this command. It is an output parameter.
width
The width of image which was decompressed by last CMD_LOADIMAGE before
this command. It is an output parameter.
height
The height of image which was decompressed by last CMD_LOADIMAGE before
this command. It is an output parameter.
Command layout
+0
CMD_GETPROPS (0xffffff25)
+4
ptr
+8
width
+12
Height
Description
This command is used to retrieve properties of image which was decompressed by
CMD_LOADIMAGE. All the parameters will be filled out by coprocessor after this
command is executed successfully.
Examples
Please refer to the CMD_GETPTR
5.44
CMD_SCALE - apply a scale to the current matrix
C prototype
void cmd_scale( int32_t sx,
int32_t sy );
Parameters
sx
x scale factor, in signed 16. 16 bit fixed-point form.
sy