native_avmemory.h
概述
声明了媒体数据结构AVMemory的定义。
库: libnative_media_core.so
系统能力: SystemCapability.Multimedia.Media.Core
起始版本: 9
相关模块:Core
汇总
类型定义
名称 | 描述 |
---|---|
typedef struct OH_AVMemory OH_AVMemory | 为音视频内存接口定义native层对象。 |
函数
名称 | 描述 |
---|---|
OH_AVMemory * OH_AVMemory_Create (int32_t size) | 创建OH_AVMemory实例的指针。 |
uint8_t * OH_AVMemory_GetAddr (struct OH_AVMemory *mem) | 获取入参的内存虚拟地址。 |
int32_t OH_AVMemory_GetSize (struct OH_AVMemory *mem) | 获取入参的内存长度。 |
OH_AVErrCode OH_AVMemory_Destroy (struct OH_AVMemory *mem) | 释放OH_AVMemory实例指针的资源。 |