Package ch.bailu.gtk.gst
Schnittstelle Allocator.OnMemoryMapFullFunction
- 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 TypMethodeBeschreibungonMemoryMapFullFunction
(CallbackHandler __self, Memory mem, MapInfo info, long maxsize) Get the memory of @mem that can be accessed according to the mode specified
in @info's flags.
-
Methodendetails
-
onMemoryMapFullFunction
Pointer onMemoryMapFullFunction(CallbackHandler __self, @Nonnull Memory mem, @Nonnull MapInfo info, long maxsize) Get the memory of @mem that can be accessed according to the mode specified
in @info's flags. The function should return a pointer that contains at least
@maxsize bytes.- Parameter:
mem
- a #GstMemoryinfo
- the #GstMapInfo to map withmaxsize
- size to map- Gibt zurück:
- a pointer to memory of which at least @maxsize bytes can be accessed according to the access pattern in @info's flags.
-