1 Star 0 Fork 4.9K

Lin_bruin / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
OHOS-Media-FrameConfig.md 5.90 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

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.

1
https://gitee.com/dreaminghell/docs.git
git@gitee.com:dreaminghell/docs.git
dreaminghell
docs
docs
master

搜索帮助