Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data VideoBufferFlags
- data VideoChromaFlags
- data VideoChromaSite
- data VideoCodecFrameFlags
- data VideoDitherFlags
- data VideoFlags
- data VideoFormatFlags
- data VideoFrameFlags
- data VideoFrameMapFlags
- data VideoMultiviewFlags
- data VideoOverlayFormatFlags
- data VideoPackFlags
- data VideoResamplerFlags
- data VideoScalerFlags
- data VideoTimeCodeFlags
Flags
VideoBufferFlags
data VideoBufferFlags Source #
Additional video buffer flags. These flags can potentially be used on any buffers carrying video data - even encoded data.
Note that these are only valid for Caps
of type: video/...
They can conflict with other extended buffer flags.
VideoBufferFlagsInterlaced | If the |
VideoBufferFlagsTff | If the |
VideoBufferFlagsRff | If the |
VideoBufferFlagsOnefield | If the |
VideoBufferFlagsMultipleView | The |
VideoBufferFlagsFirstInBundle | When conveying stereo/multiview content with frame-by-frame methods, this flag marks the first buffer in a bundle of frames that belong together. |
VideoBufferFlagsTopField | The video frame has the top field only. This is the same as GST_VIDEO_BUFFER_FLAG_TFF | GST_VIDEO_BUFFER_FLAG_ONEFIELD (Since: 1.16). |
VideoBufferFlagsBottomField | The video frame has the bottom field only. This is the same as GST_VIDEO_BUFFER_FLAG_ONEFIELD (GST_VIDEO_BUFFER_FLAG_TFF flag unset) (Since: 1.16). |
VideoBufferFlagsLast | Offset to define more flags |
AnotherVideoBufferFlags Int | Catch-all for unknown values |
Instances
VideoChromaFlags
data VideoChromaFlags Source #
Extra flags that influence the result from gst_video_chroma_resample_new()
.
VideoChromaFlagsNone | no flags |
VideoChromaFlagsInterlaced | the input is interlaced |
AnotherVideoChromaFlags Int | Catch-all for unknown values |
Instances
VideoChromaSite
data VideoChromaSite Source #
Various Chroma sitings.
VideoChromaSiteUnknown | unknown cositing |
VideoChromaSiteNone | no cositing |
VideoChromaSiteHCosited | chroma is horizontally cosited |
VideoChromaSiteVCosited | chroma is vertically cosited |
VideoChromaSiteAltLine | choma samples are sited on alternate lines |
VideoChromaSiteCosited | chroma samples cosited with luma samples |
VideoChromaSiteJpeg | jpeg style cositing, also for mpeg1 and mjpeg |
VideoChromaSiteMpeg2 | mpeg2 style cositing |
VideoChromaSiteDv | DV style cositing |
AnotherVideoChromaSite Int | Catch-all for unknown values |
Instances
VideoCodecFrameFlags
data VideoCodecFrameFlags Source #
Flags for VideoCodecFrame
VideoCodecFrameFlagsDecodeOnly | is the frame only meant to be decoded |
VideoCodecFrameFlagsSyncPoint | is the frame a synchronization point (keyframe) |
VideoCodecFrameFlagsForceKeyframe | should the output frame be made a keyframe |
VideoCodecFrameFlagsForceKeyframeHeaders | should the encoder output stream headers |
AnotherVideoCodecFrameFlags Int | Catch-all for unknown values |
Instances
VideoDitherFlags
data VideoDitherFlags Source #
Extra flags that influence the result from gst_video_chroma_resample_new()
.
VideoDitherFlagsNone | no flags |
VideoDitherFlagsInterlaced | the input is interlaced |
VideoDitherFlagsQuantize | quantize values in addition to adding dither. |
AnotherVideoDitherFlags Int | Catch-all for unknown values |
Instances
VideoFlags
data VideoFlags Source #
Extra video flags
VideoFlagsNone | no flags |
VideoFlagsVariableFps | a variable fps is selected, fps_n and fps_d denote the maximum fps of the video |
VideoFlagsPremultipliedAlpha | Each color has been scaled by the alpha value. |
AnotherVideoFlags Int | Catch-all for unknown values |
Instances
VideoFormatFlags
data VideoFormatFlags Source #
The different video flags that a format info can have.
VideoFormatFlagsYuv | The video format is YUV, components are numbered 0=Y, 1=U, 2=V. |
VideoFormatFlagsRgb | The video format is RGB, components are numbered 0=R, 1=G, 2=B. |
VideoFormatFlagsGray | The video is gray, there is one gray component with index 0. |
VideoFormatFlagsAlpha | The video format has an alpha components with the number 3. |
VideoFormatFlagsLe | The video format has data stored in little endianness. |
VideoFormatFlagsPalette | The video format has a palette. The palette is stored in the second plane and indexes are stored in the first plane. |
VideoFormatFlagsComplex | The video format has a complex layout that
can't be described with the usual information in the |
VideoFormatFlagsUnpack | This format can be used in a
|
VideoFormatFlagsTiled | The format is tiled, there is tiling information in the last plane. |
AnotherVideoFormatFlags Int | Catch-all for unknown values |
Instances
VideoFrameFlags
data VideoFrameFlags Source #
Extra video frame flags
VideoFrameFlagsNone | no flags |
VideoFrameFlagsInterlaced | The video frame is interlaced. In mixed interlace-mode, this flag specifies if the frame is interlaced or progressive. |
VideoFrameFlagsTff | The video frame has the top field first |
VideoFrameFlagsRff | The video frame has the repeat flag |
VideoFrameFlagsOnefield | The video frame has one field |
VideoFrameFlagsMultipleView | The video contains one or more non-mono views |
VideoFrameFlagsFirstInBundle | The video frame is the first in a set of corresponding views provided as sequential frames. |
VideoFrameFlagsTopField | The video frame has the top field only. This is the same as GST_VIDEO_FRAME_FLAG_TFF | GST_VIDEO_FRAME_FLAG_ONEFIELD (Since: 1.16). |
VideoFrameFlagsBottomField | The video frame has the bottom field only. This is the same as GST_VIDEO_FRAME_FLAG_ONEFIELD (GST_VIDEO_FRAME_FLAG_TFF flag unset) (Since: 1.16). |
AnotherVideoFrameFlags Int | Catch-all for unknown values |
Instances
VideoFrameMapFlags
data VideoFrameMapFlags Source #
Additional mapping flags for videoFrameMap
.
Since: 1.6
VideoFrameMapFlagsNoRef | Don't take another reference of the buffer and store it in the GstVideoFrame. This makes sure that the buffer stays writable while the frame is mapped, but requires that the buffer reference stays valid until the frame is unmapped again. |
VideoFrameMapFlagsLast | Offset to define more flags |
AnotherVideoFrameMapFlags Int | Catch-all for unknown values |
Instances
VideoMultiviewFlags
data VideoMultiviewFlags Source #
GstVideoMultiviewFlags are used to indicate extra properties of a
stereo/multiview stream beyond the frame layout and buffer mapping
that is conveyed in the VideoMultiviewMode
.
VideoMultiviewFlagsNone | No flags |
VideoMultiviewFlagsRightViewFirst | For stereo streams, the normal arrangement of left and right views is reversed. |
VideoMultiviewFlagsLeftFlipped | The left view is vertically mirrored. |
VideoMultiviewFlagsLeftFlopped | The left view is horizontally mirrored. |
VideoMultiviewFlagsRightFlipped | The right view is vertically mirrored. |
VideoMultiviewFlagsRightFlopped | The right view is horizontally mirrored. |
VideoMultiviewFlagsHalfAspect | For frame-packed multiview modes, indicates that the individual views have been encoded with half the true width or height and should be scaled back up for display. This flag is used for overriding input layout interpretation by adjusting pixel-aspect-ratio. For side-by-side, column interleaved or checkerboard packings, the pixel width will be doubled. For row interleaved and top-bottom encodings, pixel height will be doubled. |
VideoMultiviewFlagsMixedMono | The video stream contains both
mono and multiview portions, signalled on each buffer by the
absence or presence of the |
AnotherVideoMultiviewFlags Int | Catch-all for unknown values |
Instances
VideoOverlayFormatFlags
data VideoOverlayFormatFlags Source #
Overlay format flags.
VideoOverlayFormatFlagsNone | no flags |
VideoOverlayFormatFlagsPremultipliedAlpha | RGB are premultiplied by A/255. |
VideoOverlayFormatFlagsGlobalAlpha | a global-alpha value != 1 is set. |
AnotherVideoOverlayFormatFlags Int | Catch-all for unknown values |
Instances
VideoPackFlags
data VideoPackFlags Source #
The different flags that can be used when packing and unpacking.
VideoPackFlagsNone | No flag |
VideoPackFlagsTruncateRange | When the source has a smaller depth than the target format, set the least significant bits of the target to 0. This is likely sightly faster but less accurate. When this flag is not specified, the most significant bits of the source are duplicated in the least significant bits of the destination. |
VideoPackFlagsInterlaced | The source is interlaced. The unpacked format will be interlaced as well with each line containing information from alternating fields. (Since 1.2) |
AnotherVideoPackFlags Int | Catch-all for unknown values |
Instances
VideoResamplerFlags
data VideoResamplerFlags Source #
Different resampler flags.
Since: 1.6
VideoResamplerFlagsNone | no flags |
VideoResamplerFlagsHalfTaps | when no taps are given, half the number of calculated taps. This can be used when making scalers for the different fields of an interlaced picture. Since 1.10 |
AnotherVideoResamplerFlags Int | Catch-all for unknown values |
Instances
VideoScalerFlags
data VideoScalerFlags Source #
Different scale flags.
VideoScalerFlagsNone | no flags |
VideoScalerFlagsInterlaced | Set up a scaler for interlaced content |
AnotherVideoScalerFlags Int | Catch-all for unknown values |
Instances
VideoTimeCodeFlags
data VideoTimeCodeFlags Source #
Flags related to the time code information. For drop frame, only 30000/1001 and 60000/1001 frame rates are supported.
Since: 1.10
VideoTimeCodeFlagsNone | No flags |
VideoTimeCodeFlagsDropFrame | Whether we have drop frame rate |
VideoTimeCodeFlagsInterlaced | Whether we have interlaced video |
AnotherVideoTimeCodeFlags Int | Catch-all for unknown values |