native_avmemory.h
Overview
The native_avmemory.h file declares the attribute definition of the media struct AVMemory.
Library: libnative_media_core.so
System capability: SystemCapability.Multimedia.Media.Core
Since: 9
Related module: Core
Summary
Types
Name | Description |
---|---|
typedef struct OH_AVMemory OH_AVMemory | Defines a struct that describes a native object for the audio and video memory interface.. |
Functions
Name | Description |
---|---|
OH_AVMemory * OH_AVMemory_Create (int32_t size) | Creates an OH_AVMemory instance. |
uint8_t * OH_AVMemory_GetAddr (struct OH_AVMemory *mem) | Obtains the virtual memory address of an OH_AVMemory instance. |
int32_t OH_AVMemory_GetSize (struct OH_AVMemory *mem) | Obtains the memory size of an OH_AVMemory instance. |
OH_AVErrCode OH_AVMemory_Destroy (struct OH_AVMemory *mem) | Releases an OH_AVMemory instance. |