video_format_get_row_stride
Description:
Calculates the row stride (number of bytes from one row of pixels to the next) for the video component with an index of component
. For YUV video, Y, U, and V have component indices of 0, 1, and 2, respectively. For RGB video, R, G, and B have component
indicies of 0, 1, and 2, respectively. Alpha channels, if present, have a component index of 3. The width parameter always
represents the width of the video, not the component.
Parameters:
| format |
a VideoFormat
|
| width |
the width of video |
| component |
the component index |
Returns:
row stride of component component
|
Namespace: Gst
Package: gstreamer-video-0.10