channel.cpp File Reference

Go to the source code of this file.

Functions

static int format_to_mode (const QString &fmt, int v4l_version)
static QString mode_to_format (int mode, int v4l_version)
static unsigned short * get_v4l1_field (int v4l2_attrib, struct video_picture &vid_pic)
static int get_v4l2_attribute (const QString &db_col_name)
static int get_v4l2_attribute_value (int videofd, int v4l2_attrib)
static int get_v4l1_attribute_value (int videofd, int v4l2_attrib)
static int get_attribute_value (bool usingv4l2, int videofd, int v4l2_attrib)
static int set_v4l2_attribute_value (int videofd, int v4l2_attrib, int newvalue)
static int set_v4l1_attribute_value (int videofd, int v4l2_attrib, int newvalue)
static int set_attribute_value (bool usingv4l2, int videofd, int v4l2_attrib, int newvalue)


Function Documentation

static int format_to_mode ( const QString &  fmt,
int  v4l_version 
) [static]

Definition at line 118 of file channel.cpp.

Referenced by Channel::InitializeInputs(), and Channel::SetInputAndFormat().

static QString mode_to_format ( int  mode,
int  v4l_version 
) [static]

static unsigned short* get_v4l1_field ( int  v4l2_attrib,
struct video_picture vid_pic 
) [static]

static int get_v4l2_attribute ( const QString &  db_col_name  )  [static]

Definition at line 980 of file channel.cpp.

Referenced by Channel::ChangePictureAttribute(), and Channel::InitPictureAttribute().

static int get_v4l2_attribute_value ( int  videofd,
int  v4l2_attrib 
) [static]

Definition at line 1135 of file channel.cpp.

Referenced by get_attribute_value().

static int get_v4l1_attribute_value ( int  videofd,
int  v4l2_attrib 
) [static]

Definition at line 1161 of file channel.cpp.

Referenced by get_attribute_value().

static int get_attribute_value ( bool  usingv4l2,
int  videofd,
int  v4l2_attrib 
) [static]

Definition at line 1180 of file channel.cpp.

Referenced by Channel::ChangePictureAttribute().

static int set_v4l2_attribute_value ( int  videofd,
int  v4l2_attrib,
int  newvalue 
) [static]

Definition at line 1187 of file channel.cpp.

Referenced by set_attribute_value().

static int set_v4l1_attribute_value ( int  videofd,
int  v4l2_attrib,
int  newvalue 
) [static]

Definition at line 1217 of file channel.cpp.

Referenced by set_attribute_value().

static int set_attribute_value ( bool  usingv4l2,
int  videofd,
int  v4l2_attrib,
int  newvalue 
) [static]

Definition at line 1249 of file channel.cpp.

Referenced by Channel::ChangePictureAttribute().


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5