Rate This Document
Findability
Accuracy
Completeness
Readability

ResetImgSize

Function Usage

Sets the size of the saved image according to the snapshot size. The setting takes effect after GPU Turbo is restarted.

Restrictions

The input parameters width and height must be even numbers.

Prototype

int32_t ResetImgSize(uint32_t width, uint32_t height) = 0

Parameter Description

Field Name

Input/Output

Field Type

Description

width

Input

uint32_t

Image width in pixels, which must be an even number.

height

Input

uint32_t

Image height in pixels, which must be an even number.

Return Value Description

Data type: int32_t

The value can be any of the following:

  • 0: The image size is successfully set.
  • Other: Failed to set the image size.