Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
DiscovererStreamInfo
specific to video streams (this includes images).
Synopsis
- newtype DiscovererVideoInfo = DiscovererVideoInfo (ManagedPtr DiscovererVideoInfo)
- class (GObject o, IsDescendantOf DiscovererVideoInfo o) => IsDiscovererVideoInfo o
- toDiscovererVideoInfo :: (MonadIO m, IsDiscovererVideoInfo o) => o -> m DiscovererVideoInfo
- discovererVideoInfoGetBitrate :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoGetDepth :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoGetFramerateDenom :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoGetFramerateNum :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoGetHeight :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoGetMaxBitrate :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoGetParDenom :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoGetParNum :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoGetWidth :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Word32
- discovererVideoInfoIsImage :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Bool
- discovererVideoInfoIsInterlaced :: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) => a -> m Bool
Exported types
newtype DiscovererVideoInfo Source #
Memory-managed wrapper type.
DiscovererVideoInfo (ManagedPtr DiscovererVideoInfo) |
Instances
class (GObject o, IsDescendantOf DiscovererVideoInfo o) => IsDiscovererVideoInfo o Source #
Type class for types which can be safely cast to DiscovererVideoInfo
, for instance with toDiscovererVideoInfo
.
Instances
(GObject o, IsDescendantOf DiscovererVideoInfo o) => IsDiscovererVideoInfo o Source # | |
Defined in GI.GstPbutils.Objects.DiscovererVideoInfo |
toDiscovererVideoInfo :: (MonadIO m, IsDiscovererVideoInfo o) => o -> m DiscovererVideoInfo Source #
Cast to DiscovererVideoInfo
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, isImage, isInterlaced, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getBitrate, getCaps, getData, getDepth, getFramerateDenom, getFramerateNum, getHeight, getMaxBitrate, getMisc, getNext, getParDenom, getParNum, getPrevious, getProperty, getQdata, getStreamId, getStreamNumber, getStreamTypeNick, getTags, getToc, getWidth.
Setters
getBitrate
discovererVideoInfoGetBitrate Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the average or nominal bitrate of the video stream in bits/second. |
No description available in the introspection data.
getDepth
discovererVideoInfoGetDepth Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the depth in bits of the video stream. |
No description available in the introspection data.
getFramerateDenom
discovererVideoInfoGetFramerateDenom Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the framerate of the video stream (denominator). |
No description available in the introspection data.
getFramerateNum
discovererVideoInfoGetFramerateNum Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the framerate of the video stream (numerator). |
No description available in the introspection data.
getHeight
discovererVideoInfoGetHeight Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the height of the video stream in pixels. |
No description available in the introspection data.
getMaxBitrate
discovererVideoInfoGetMaxBitrate Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the maximum bitrate of the video stream in bits/second. |
No description available in the introspection data.
getParDenom
discovererVideoInfoGetParDenom Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the Pixel Aspect Ratio (PAR) of the video stream (denominator). |
No description available in the introspection data.
getParNum
discovererVideoInfoGetParNum Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the Pixel Aspect Ratio (PAR) of the video stream (numerator). |
No description available in the introspection data.
getWidth
discovererVideoInfoGetWidth Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Word32 | Returns: the width of the video stream in pixels. |
No description available in the introspection data.
isImage
discovererVideoInfoIsImage Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Bool | Returns: |
No description available in the introspection data.
isInterlaced
discovererVideoInfoIsInterlaced Source #
:: (HasCallStack, MonadIO m, IsDiscovererVideoInfo a) | |
=> a |
|
-> m Bool |
No description available in the introspection data.