TAP_CaptureScreen

Topfield Documentation

int TAP_CaptureScreen(int mainSub, TYPE_VideoBank *videoBank);

It captures the picture.

  • mainSub : 1 - main screen, 0 - sub screen
  • videoBank : The pointer of TYPE_VideoBank that has the information for captured picture.
return value : 0 for Success, other value for ERROR

The structure of the TYPE_VideoBank is as follows.

typedef struct
{
    byte *yAddress;
    byte *cAddress;
    word width;
    word height;
} TYPE_VideoBank;
( Refer the ScreenCapture among the examples. )

Additional Documentation