Module ohos_sys::native_buffer

source ·

Modules§

Structs§

Functions§

  • @brief Alloc a OH_NativeBuffer that matches the passed BufferRequestConfig. \n A new OH_NativeBuffer instance is created each time this function is called.
  • @brief Return a config of the OH_NativeBuffer in the passed OHNativeBufferConfig struct.
  • @brief Get the systen wide unique sequence number of the OH_NativeBuffer.
  • @brief Provide direct cpu access to the OH_NativeBuffer in the process’s address space.
  • @brief Adds the reference count of a OH_NativeBuffer.
  • @brief Remove direct cpu access ability of the OH_NativeBuffer in the process’s address space.
  • @brief Decreases the reference count of a OH_NativeBuffer and, when the reference count reaches 0, \n destroys this OH_NativeBuffer.