OHOS::Media::FrameConfig

Overview

Related Modules:

MultiMedia_FrameConfig

Description:

Provides functions to configure frames.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name Description
FrameConfig ()=delete A constructor used to create a FrameConfig instance.
FrameConfig (int32_t type) A constructor used to create a FrameConfig instance based on the configuration mode.
~FrameConfig () A destructor used to delete the FrameConfig instance.
GetFrameConfigType () int32_t Obtains the frame configuration type.
GetSurfaces () std::list< Surface * > Obtains a list of shared memories (surface objects).
AddSurface (Surface &surface) void Adds a surface (an object of shared memory).
RemoveSurface (Surface &surface) void Removes a surface (an object of shared memory). You can call this function to release the surface when your application does not need to obtain data.