video_format_get_component_offset
Description:
public int video_format_get_component_offset (
VideoFormat format,
ref int component,
ref int width,
ref int height)
Calculates the offset (in bytes) of the first pixel of the component with index component. For packed formats, this will
typically be a small integer (0, 1, 2, 3). For planar formats, this will be a (relatively) large offset to the beginning of the second or
third component planes. See gst_video_format_get_row_stride for a description of the component index.
Parameters:
| format |
a VideoFormat
|
| width |
the width of video |
| component |
the component index |
| height |
the height of video |
Returns:
offset of component component
|
Namespace: Gst
Package: gstreamer-video-0.10