Schnittstelle Allocator.OnMemoryMapFunction

Umschließende Klasse:
Allocator
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Allocator.OnMemoryMapFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    onMemoryMapFunction(CallbackHandler __self, Memory mem, long maxsize, int flags)
    Get the memory of @mem that can be accessed according to the mode specified
    in @flags.
  • Methodendetails

    • onMemoryMapFunction

      Pointer onMemoryMapFunction(CallbackHandler __self, @Nonnull Memory mem, long maxsize, int flags)
      Get the memory of @mem that can be accessed according to the mode specified
      in @flags. The function should return a pointer that contains at least
      @maxsize bytes.
      Parameter:
      mem - a #GstMemory
      maxsize - size to map
      flags - access mode for the memory
      Gibt zurück:
      a pointer to memory of which at least @maxsize bytes can be accessed according to the access pattern in @flags.