Valadoc | Vala | Tutorial | API-References | Markup

video_format_get_pixel_stride


Description:

public int video_format_get_pixel_stride (VideoFormat format, ref int component)

Calculates the pixel stride (number of bytes from one pixel to the pixel to its immediate left) for the video component with an index of component. See gst_video_format_get_row_stride for a description of the component index.

Parameters:

format a VideoFormat
component the component index

Returns:

pixel stride of component component

Namespace: Gst
Package: gstreamer-video-0.10