Rate This Document
Findability
Accuracy
Completeness
Readability

ImportBuffer

Function Usage

Imports a buffer from an external system.

Restrictions

N/A

Prototype

int32_t ImportBuffer(FrameFormat format, uint64_t handle, GpuEncoderBufferT &buffer) = 0

Parameters

Field Name

Input/Output

Field Type

Description

format

Input

FrameFormat

Format of the buffer to be imported.

handle

Input

uint64_t

Handle or video RAM address corresponding to the buffer to be imported.

buffer

Output

GpuEncoderBufferT &

Pointer used to mount the buffer after the import.

Returns

Data type: GpuEncoderErrorCode

The value can be:

  • OK: The buffer is successfully imported.
  • Other values except OK: The buffer fails to be imported.