reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofVideoFormat Class Reference

A structure describing attributes of a video format. More...

#include <ofVideoBaseTypes.h>

Public Attributes

ofPixelFormat pixelFormat
 The pixel format of the video format.
 
int width
 The width of the video format in pixels.
 
int height
 The height of the video format in pixels.
 
std::vector< float > framerates
 A list of framerates for this video format in frames per second.
 

Detailed Description

A structure describing attributes of a video format.

An ofVideoFormat is used to describe the size, pixel format and frame rates offered by a video device.

See also
ofVideoDevice

Member Data Documentation

◆ framerates

std::vector<float> ofVideoFormat::framerates

A list of framerates for this video format in frames per second.

◆ height

int ofVideoFormat::height

The height of the video format in pixels.

◆ pixelFormat

ofPixelFormat ofVideoFormat::pixelFormat

The pixel format of the video format.

◆ width

int ofVideoFormat::width

The width of the video format in pixels.


The documentation for this class was generated from the following file: