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. (This function is deprecated in API version 11.)
uint8_t * OH_AVMemory_GetAddr (struct OH_AVMemory *mem) Obtains the virtual memory address. (This function is deprecated in API version 11.)
int32_t OH_AVMemory_GetSize (struct OH_AVMemory *mem) Obtains the memory length. (This function is deprecated in API version 11.)
OH_AVErrCode OH_AVMemory_Destroy (struct OH_AVMemory *mem) Releases an OH_AVMemory instance. (This function is deprecated in API version 11.)