C

<tviiextras/layerwarping.h> - Traveo II Extras Layer Warping API

Provides convenience functions for setting up warping for Traveo II layers. More...

Header: #include <tviiextras/layerwarping.h>

Functions

bool layerHasWarping(int platformId)
void setWarpingBufferForLayer(int platformId, const void *buffer, const CYGFX_WARP_PARAM_S *platformStruct, CYGFX_U32 keepLines = 20)
Tvii::Warping::WarpInfo warpInfoForLayer(int platformId)

Detailed Description

The Infineon/Cypress Traveo II supports warping, enabling distorting the coordinate system of the displayed application.

Using the Qt Quick Ultralite warping API for Infineon/Cypress Traveo II, it's possible to set the warping buffer for a specific layer.

Classes

Function Documentation

[since Qt Quick Ultralite (Platform) 1.9] bool layerHasWarping(int platformId)

Returns true if a layer with platformId has warping enabled and false otherwise.

This function was introduced in Qt Quick Ultralite (Platform) 1.9.

See also setWarpingBufferForLayer() and warpInfoForLayer().

[since Qt Quick Ultralite (Platform) 1.9] void setWarpingBufferForLayer(int platformId, const void *buffer, const CYGFX_WARP_PARAM_S *platformStruct, CYGFX_U32 keepLines = 20)

Sets warping buffer for a layer indicated by platformId.

In addition to platformId, the function also needs to know buffer used for warping, platformStruct containing description of a warp coordinate buffer, and keepLines indicating the number of extra lines to keep in the line buffer for warping.

For information about how to prepare warping buffers, CYGFX_WARP_PARAM_S, and the number of lines to be kept in the line buffer, refer to chapter 3.11.6 Warping Buffer of the Graphics Driver for Traveo II Cluster Series User Guide.

This function was introduced in Qt Quick Ultralite (Platform) 1.9.

See also Tvii::Warping::WarpInfo, layerHasWarping(), and warpInfoForLayer().

[since Qt Quick Ultralite (Platform) 1.9] Tvii::Warping::WarpInfo warpInfoForLayer(int platformId)

Get warp info of the layer with a platform id platformId. Returns WarpInfo containing the warping information for the layer.

This function was introduced in Qt Quick Ultralite (Platform) 1.9.

See also Tvii::Warping::WarpInfo, setWarpingBufferForLayer(), and warpInfoForLayer().

Available under certain Qt licenses.
Find out more.