kopete/libkopete
#include <videodevice.h>
Definition at line 276 of file videodevice.h.
Kopete::AV::VideoDevice::VideoDevice |
( |
| ) |
|
Kopete::AV::VideoDevice::~VideoDevice |
( |
| ) |
|
|
virtual |
bool Kopete::AV::VideoDevice::canAsyncIO |
( |
| ) |
|
bool Kopete::AV::VideoDevice::canCapture |
( |
| ) |
|
bool Kopete::AV::VideoDevice::canChromakey |
( |
| ) |
|
bool Kopete::AV::VideoDevice::canOverlay |
( |
| ) |
|
bool Kopete::AV::VideoDevice::canRead |
( |
| ) |
|
bool Kopete::AV::VideoDevice::canScale |
( |
| ) |
|
bool Kopete::AV::VideoDevice::canStream |
( |
| ) |
|
int Kopete::AV::VideoDevice::checkDevice |
( |
| ) |
|
|
protectedvirtual |
int Kopete::AV::VideoDevice::close |
( |
| ) |
|
|
virtual |
Closes the device.
- Returns
- The success of the operation: EXIT_SUCCESS or EXIT_FAILURE Stops capturing, resets internal data and closes the device.
Definition at line 1657 of file videodevice.cpp.
int Kopete::AV::VideoDevice::currentInput |
( |
| ) |
|
int Kopete::AV::VideoDevice::detectPixelFormats |
( |
| ) |
|
int Kopete::AV::VideoDevice::detectSignalStandards |
( |
| ) |
|
int Kopete::AV::VideoDevice::errnoReturn |
( |
const char * |
s | ) |
|
|
protected |
QString Kopete::AV::VideoDevice::fileName |
( |
| ) |
|
int Kopete::AV::VideoDevice::getControlValue |
( |
quint32 |
ctrl_id, |
|
|
qint32 * |
value |
|
) |
| |
Reads the value of a video-control.
- Parameters
-
ctrl_id | ID of the video-control |
value | Pointer to the variable, which receives the value of the querried video-control. For boolean controls, the value is 0 or 1. For menu-controls, the value is the index of the currently selected option. |
- Returns
- The result-code, currently EXIT_SUCCESS or EXIT_FAILURE
Definition at line 1736 of file videodevice.cpp.
int Kopete::AV::VideoDevice::getFrame |
( |
| ) |
|
|
virtual |
int Kopete::AV::VideoDevice::getFrame |
( |
imagebuffer * |
imgbuffer | ) |
|
|
virtual |
int Kopete::AV::VideoDevice::getImage |
( |
QImage * |
qimage | ) |
|
|
virtual |
Returns the supported action-controls for the current input.
- Returns
- A list of all supported action-controls for the current input
Definition at line 1722 of file videodevice.cpp.
Returns the supported boolean controls for the current input.
- Returns
- A list of all supported boolean controls for the current input
Definition at line 1702 of file videodevice.cpp.
Returns the supported menu-controls for the current input.
- Returns
- A list of all supported menu-controls for the current input
Definition at line 1712 of file videodevice.cpp.
Returns the supported numeric controls for the current input.
- Returns
- A list of all supported numeric controls for the current input
Definition at line 1692 of file videodevice.cpp.
int Kopete::AV::VideoDevice::height |
( |
| ) |
|
int Kopete::AV::VideoDevice::initDevice |
( |
| ) |
|
|
protectedvirtual |
int Kopete::AV::VideoDevice::initMmap |
( |
| ) |
|
|
protected |
int Kopete::AV::VideoDevice::initRead |
( |
| ) |
|
|
protected |
int Kopete::AV::VideoDevice::initUserptr |
( |
| ) |
|
|
protected |
int Kopete::AV::VideoDevice::inputs |
( |
| ) |
|
bool Kopete::AV::VideoDevice::isOpen |
( |
| ) |
|
|
virtual |
int Kopete::AV::VideoDevice::maxHeight |
( |
| ) |
|
int Kopete::AV::VideoDevice::maxWidth |
( |
| ) |
|
int Kopete::AV::VideoDevice::minHeight |
( |
| ) |
|
int Kopete::AV::VideoDevice::minWidth |
( |
| ) |
|
int Kopete::AV::VideoDevice::open |
( |
| ) |
|
|
virtual |
int Kopete::AV::VideoDevice::pixelFormatCode |
( |
pixel_format |
pixelformat | ) |
|
int Kopete::AV::VideoDevice::pixelFormatDepth |
( |
pixel_format |
pixelformat | ) |
|
pixel_format Kopete::AV::VideoDevice::pixelFormatForPalette |
( |
int |
palette | ) |
|
QString Kopete::AV::VideoDevice::pixelFormatName |
( |
pixel_format |
pixelformat | ) |
|
QString Kopete::AV::VideoDevice::pixelFormatName |
( |
int |
pixelformat | ) |
|
int Kopete::AV::VideoDevice::selectInput |
( |
int |
input | ) |
|
int Kopete::AV::VideoDevice::setControlValue |
( |
quint32 |
ctrl_id, |
|
|
qint32 |
value |
|
) |
| |
Sets the value of a video-control.
- Parameters
-
ctrl_id | ID of the video-control |
value | The value that should be set. For boolean controls, the value must be 0 or 1. For menu-controls, the value must be the index of the option. For action-controls, the value is ignored. |
- Returns
- The result-code, currently EXIT_SUCCESS or EXIT_FAILURE
Definition at line 1878 of file videodevice.cpp.
int Kopete::AV::VideoDevice::setFileName |
( |
QString |
filename | ) |
|
int Kopete::AV::VideoDevice::setSize |
( |
int |
newwidth, |
|
|
int |
newheight |
|
) |
| |
|
virtual |
void Kopete::AV::VideoDevice::setUdi |
( |
const QString & |
udi | ) |
|
void Kopete::AV::VideoDevice::setupControls |
( |
| ) |
|
|
protected |
Sets up the supported video-controls for the current input.
Determines which video-controls are supported for the current input, reads all needed information about them and stores the data to the local members
Definition at line 59 of file videodevice.cpp.
int Kopete::AV::VideoDevice::showDeviceCapabilities |
( |
| ) |
|
QString Kopete::AV::VideoDevice::signalStandardName |
( |
signal_standard |
standard | ) |
|
QString Kopete::AV::VideoDevice::signalStandardName |
( |
int |
standard | ) |
|
int Kopete::AV::VideoDevice::startCapturing |
( |
| ) |
|
|
virtual |
int Kopete::AV::VideoDevice::stopCapturing |
( |
| ) |
|
|
virtual |
QString Kopete::AV::VideoDevice::udi |
( |
| ) |
const |
int Kopete::AV::VideoDevice::width |
( |
| ) |
|
int Kopete::AV::VideoDevice::xioctl |
( |
int |
request, |
|
|
void * |
arg |
|
) |
| |
|
protected |
int Kopete::AV::VideoDevice::currentheight |
|
protected |
int Kopete::AV::VideoDevice::currentwidth |
|
protected |
int Kopete::AV::VideoDevice::descriptor |
|
protected |
QString Kopete::AV::VideoDevice::full_filename |
|
protected |
Supported action-controls for the current input
Definition at line 363 of file videodevice.h.
Supported boolean controls for the current input
Definition at line 361 of file videodevice.h.
int Kopete::AV::VideoDevice::m_buffer_size |
|
protected |
int Kopete::AV::VideoDevice::m_current_input |
|
protected |
io_method Kopete::AV::VideoDevice::m_io_method |
|
protected |
Supported menu-controls for the current input
Definition at line 362 of file videodevice.h.
QString Kopete::AV::VideoDevice::m_model |
|
protected |
QString Kopete::AV::VideoDevice::m_name |
Supported muneric controls for the current input
Definition at line 360 of file videodevice.h.
QVector<rawbuffer> Kopete::AV::VideoDevice::m_rawbuffers |
|
protected |
unsigned int Kopete::AV::VideoDevice::m_streambuffers |
|
protected |
QString Kopete::AV::VideoDevice::m_udi |
|
protected |
bool Kopete::AV::VideoDevice::m_videoasyncio |
|
protected |
bool Kopete::AV::VideoDevice::m_videocapture |
|
protected |
bool Kopete::AV::VideoDevice::m_videochromakey |
|
protected |
bool Kopete::AV::VideoDevice::m_videooverlay |
|
protected |
bool Kopete::AV::VideoDevice::m_videoread |
|
protected |
bool Kopete::AV::VideoDevice::m_videoscale |
|
protected |
bool Kopete::AV::VideoDevice::m_videostream |
|
protected |
int Kopete::AV::VideoDevice::maxheight |
|
protected |
int Kopete::AV::VideoDevice::maxwidth |
|
protected |
int Kopete::AV::VideoDevice::minheight |
|
protected |
int Kopete::AV::VideoDevice::minwidth |
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.