Package ch.bailu.gtk.gst
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.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungonMemoryMapFunction(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
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 #GstMemorymaxsize- size to mapflags- 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.
-