video_format_convert
Description:
public bool video_format_convert (
VideoFormat format,
int width,
int height,
int fps_n,
int fps_d,
Format src_format,
int64 src_value,
Format dest_format,
ref int64 dest_value)
Converts among various Format types. This function handles GST_FORMAT_BYTES,
GST_FORMAT_TIME, and GST_FORMAT_DEFAULT. For raw video, GST_FORMAT_DEFAULT corresponds to video frames. This function can be to handle pad
queries of the type GST_QUERY_CONVERT.
Parameters:
| src_format |
Format of the src_value
|
| format |
a VideoFormat
|
| fps_n |
frame rate numerator |
| fps_d |
frame rate denominator |
| src_value |
value to convert |
| dest_value |
pointer to destination value |
| width |
the width of video |
| height |
the height of video |
| dest_format |
Format of the dest_value
|
Returns:
| TRUE if the conversion was successful. |
Namespace: Gst
Package: gstreamer-video-0.10