| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gst.Structs.BufferPoolAcquireParams
Description
Parameters passed to the gst_buffer_pool_acquire_buffer() function to control the allocation of the buffer.
The default implementation ignores the start and stop members but other
implementations can use this extra information to decide what buffer to
return.
- newtype BufferPoolAcquireParams = BufferPoolAcquireParams (ForeignPtr BufferPoolAcquireParams)
- newZeroBufferPoolAcquireParams :: MonadIO m => m BufferPoolAcquireParams
- noBufferPoolAcquireParams :: Maybe BufferPoolAcquireParams
- bufferPoolAcquireParamsReadFlags :: BufferPoolAcquireParams -> IO [BufferPoolAcquireFlags]
- bufferPoolAcquireParamsReadFormat :: BufferPoolAcquireParams -> IO Format
- bufferPoolAcquireParamsReadStart :: BufferPoolAcquireParams -> IO Int64
- bufferPoolAcquireParamsReadStop :: BufferPoolAcquireParams -> IO Int64
Exported types
newtype BufferPoolAcquireParams Source
Constructors
| BufferPoolAcquireParams (ForeignPtr BufferPoolAcquireParams) |
Instances
| ((~) * info (ResolveBufferPoolAcquireParamsMethod t BufferPoolAcquireParams), MethodInfo * info BufferPoolAcquireParams p) => IsLabel t (BufferPoolAcquireParams -> p) Source | |
| ((~) * info (ResolveBufferPoolAcquireParamsMethod t BufferPoolAcquireParams), MethodInfo * info BufferPoolAcquireParams p) => IsLabelProxy t (BufferPoolAcquireParams -> p) Source | |
newZeroBufferPoolAcquireParams :: MonadIO m => m BufferPoolAcquireParams Source
Construct a BufferPoolAcquireParams struct initialized to zero.