| GStreamer Base Plugins 1.0 Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <gst/video/gstvideoaffinetransformationmeta.h> struct GstVideoAffineTransformationMeta; GstVideoAffineTransformationMeta * gst_buffer_add_video_affine_transformation_meta (GstBuffer *buffer); #define gst_buffer_get_video_affine_transformation_meta(b) void gst_video_affine_transformation_meta_apply_matrix (GstVideoAffineTransformationMeta *meta,const gfloat matrix[16]);
struct GstVideoAffineTransformationMeta {
GstMeta meta;
gfloat matrix[16];
};
GstVideoAffineTransformationMeta * gst_buffer_add_video_affine_transformation_meta
(GstBuffer *buffer);
Attaches GstVideoAffineTransformationMeta metadata to buffer with
the given parameters.
|
a GstBuffer |
Returns : |
the GstVideoAffineTransformationMeta on buffer. [transfer none]
|
Since 1.8
#define gst_buffer_get_video_affine_transformation_meta(b)
void gst_video_affine_transformation_meta_apply_matrix (GstVideoAffineTransformationMeta *meta,const gfloat matrix[16]);
Apply a transformation using the given 4x4 transformation matrix
|
a GstVideoAffineTransformationMeta |
|
a 4x4 transformation matrix to be applied |
Since 1.8