gi-gstvideo-1.0.23: GStreamerVideo bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GstVideo.Structs.VideoAffineTransformationMeta

Description

Extra buffer metadata for performing an affine transformation using a 4x4 matrix. The transformation matrix can be composed with videoAffineTransformationMetaApplyMatrix.

The vertices operated on are all in the range 0 to 1, not in Normalized Device Coordinates (-1 to +1). Transforming points in this space are assumed to have an origin at (0.5, 0.5, 0.5) in a left-handed coordinate system with the x-axis moving horizontally (positive values to the right), the y-axis moving vertically (positive values up the screen) and the z-axis perpendicular to the screen (positive values into the screen).

Since: 1.8

Synopsis

Exported types

Methods

Overloaded methods

applyMatrix

videoAffineTransformationMetaApplyMatrix Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoAffineTransformationMeta

meta: a VideoAffineTransformationMeta

-> [Float]

matrix: a 4x4 transformation matrix to be applied

-> m () 

Apply a transformation using the given 4x4 transformation matrix. Performs the multiplication, meta->matrix X matrix.

Since: 1.8

getInfo

videoAffineTransformationMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo Source #

No description available in the introspection data.

Properties

meta

parent Meta

getVideoAffineTransformationMetaMeta :: MonadIO m => VideoAffineTransformationMeta -> m Meta Source #

Get the value of the “meta” field. When overloading is enabled, this is equivalent to

get videoAffineTransformationMeta #meta