harmony 鸿蒙native_avmemory.h

2025-06-12 浏览 (1)

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

NameDescription
typedef struct OH_AVMemory OH_AVMemoryDefines a struct that describes a native object for the audio and video memory interface.

Functions

NameDescription
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.)

你可能感兴趣的鸿蒙文章

harmony 鸿蒙AVCodec Kit

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVSource

harmony 鸿蒙AudioCodec

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/TJv7Ad