Since 1.28Since 1.28initBased on the rectangles, initializes the matrix to do a translation and
scaling from in_rectangle to out_rectangle
The GstVideo.VideoInfo of the input image
the input GstVideo.VideoRectangle
the output GstVideo.VideoInfo
the output GstVideo.VideoRectangle
Since 1.28pointTransforms the (x, y) point from the input coordinates to the
output ones. The point's coordinates are transformed by first
applying the transform.matrix to it using the top left (x, y) of
transform.in_rectangle as the origin, then translate it to use
the top-left of transform.out_rectangle as new origin.
a non-NULL pointer to the X value of the coordinate
a non-NULL pointer to the Y value of the coordinate
false if the point is outside of transform.out_rectangle after the transformation has been applied
Since 1.28point_Transforms the (x, y) point from the input coordinates to the
output ones. The point's coordinates are transformed by first
applying the transform.matrix to it using the top left (x, y) of
transform.in_rectangle as the origin, then translate it to use
the top-left of transform.out_rectangle as new origin.
a non-NULL pointer to the X value of the coordinate
a non-NULL pointer to the Y value of the coordinate
false if the point is outside of transform.out_rectangle after the transformation has been applied
Since 1.28rectangleTransforms rect from the input coordinates to the
output ones. The point's coordinates are transformed by first
applying the transform.matrix to it using the top left (x, y) of
transform.in_rectangle as the origin, then translate it to use
the top-left of transform.out_rectangle as new origin.
rect is always axis aligned at input and this function only returns
axis aligned rectangles as output, otherwise it returns FALSE.
Output rectangle could be in partially or totally outside of
transform.out_rectangle.
a rectangle in the coordinate of the original image
false is the output rectangle is not axis aligned
Since 1.28rectangle_Transforms rect from the input coordinates to the
output ones. The point's coordinates are transformed by first
applying the transform.matrix to it using the top left (x, y) of
transform.in_rectangle as the origin, then translate it to use
the top-left of transform.out_rectangle as new origin.
rect is always axis aligned at input and this function only returns
axis aligned rectangles as output, otherwise it returns FALSE.
Output rectangle will be clipped to fit inside transform.out_rectangle.
a rectangle in the coordinate of the original image
false if the output rectangle is not axis aligned or if the rectangle is entirely outside of the out_rectangle.
StaticSince 1.28get_Get the GLib.Quark for the "gst-video-matrix" metadata transform operation.
Extra data passed to a video transform Gst.MetaTransformFunction such as: "gst-video-matrix".
The matrix represents a transformation that is applied to the content of
in_rectangle, and its output is put insideout_rectangle. The coordinate system has it's (0, 0) in the top-left corner of the rectangles and goes down and right from there..It's a programming error to have a singular matrix.
Since
1.28