Valadoc | Vala | Tutorial | API-References | Markup

video_format_get_size


Description:

public int video_format_get_size (VideoFormat format, ref int width, ref int height)

Calculates the total number of bytes in the raw video format. This number should be used when allocating a buffer for raw video.

Parameters:

format a VideoFormat
width the width of video
height the height of video

Returns:

size (in bytes) of raw video format

Namespace: Gst
Package: gstreamer-video-0.10