#include <avcap/linux/V4L2_ConnectorManager.h>
Inheritance diagram for avcap::V4L2_ConnectorManager:
Public Member Functions | |
V4L2_ConnectorManager (V4L2_DeviceDescriptor *dd) | |
virtual | ~V4L2_ConnectorManager () |
Connector * | getVideoInput () |
Returns the Connector describing the currently used video input. | |
int | setVideoInput (Connector *c) |
Sets the currently used video input. | |
Connector * | getAudioInput () |
Returns the Connector describing the currently used audio input. | |
int | setAudioInput (Connector *c) |
Sets the currently used audio input. | |
Connector * | getVideoOutput () |
Returns the Connector describing the currently used video output. | |
int | setVideoOutput (Connector *c) |
Sets the currently used video output. | |
Connector * | getAudioOutput () |
Returns the Connector describing the currently used audio output. | |
int | setAudioOutput (Connector *c) |
Sets the currently used audio output. | |
void | query () |
This method is called after creation to query for video/audio in- and outputs. |
avcap::V4L2_ConnectorManager::V4L2_ConnectorManager | ( | V4L2_DeviceDescriptor * | dd | ) |
virtual avcap::V4L2_ConnectorManager::~V4L2_ConnectorManager | ( | ) | [virtual] |
Connector* avcap::V4L2_ConnectorManager::getVideoInput | ( | ) | [virtual] |
Returns the Connector describing the currently used video input.
The default-implementation returns 0.
Reimplemented from avcap::ConnectorManager.
int avcap::V4L2_ConnectorManager::setVideoInput | ( | Connector * | c | ) | [virtual] |
Sets the currently used video input.
The default-implementation is a noop and returns -1.
c | The connector to use for the video input. |
Reimplemented from avcap::ConnectorManager.
Connector* avcap::V4L2_ConnectorManager::getAudioInput | ( | ) | [virtual] |
Returns the Connector describing the currently used audio input.
The default-implementation returns 0.
Reimplemented from avcap::ConnectorManager.
int avcap::V4L2_ConnectorManager::setAudioInput | ( | Connector * | c | ) | [virtual] |
Sets the currently used audio input.
The default-implementation is a noop and returns -1.
c | The connector to use for the audio input. |
Reimplemented from avcap::ConnectorManager.
Connector* avcap::V4L2_ConnectorManager::getVideoOutput | ( | ) | [virtual] |
Returns the Connector describing the currently used video output.
The default-implementation returns 0.
Reimplemented from avcap::ConnectorManager.
int avcap::V4L2_ConnectorManager::setVideoOutput | ( | Connector * | c | ) | [virtual] |
Sets the currently used video output.
The default-implementation is a noop and returns -1.
c | The connector to use for the video input. |
Reimplemented from avcap::ConnectorManager.
Connector* avcap::V4L2_ConnectorManager::getAudioOutput | ( | ) | [virtual] |
Returns the Connector describing the currently used audio output.
The default-implementation returns 0.
Reimplemented from avcap::ConnectorManager.
int avcap::V4L2_ConnectorManager::setAudioOutput | ( | Connector * | c | ) | [virtual] |
Sets the currently used audio output.
The default-implementation is a noop and returns -1.
c | The connector to use for the audio output. |
Reimplemented from avcap::ConnectorManager.
void avcap::V4L2_ConnectorManager::query | ( | ) | [virtual] |
This method is called after creation to query for video/audio in- and outputs.
Implements avcap::ConnectorManager.