MythTV  master
Classes | Functions | Variables
util-xv.h File Reference
#include <QString>
#include <QMap>
#include "videobuffers.h"
#include "exitcodes.h"
Include dependency graph for util-xv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  port_info
 

Functions

void close_all_xv_ports_signal_handler (int sig)
 
bool add_open_xv_port (MythXDisplay *disp, int port)
 
void del_open_xv_port (int port)
 
bool has_open_xv_port (int port)
 
uint cnt_open_xv_port (void)
 
QString xvflags2str (int flags)
 
bool xv_is_attrib_supported (MythXDisplay *disp, int port, const char *name, int *current_value=nullptr, int *min_val=nullptr, int *max_val=nullptr)
 
bool xv_set_attrib (MythXDisplay *disp, int port, const char *name, int val)
 
bool xv_get_attrib (MythXDisplay *disp, int port, const char *name, int &val)
 
void save_port_attributes (int port)
 
void restore_port_attributes (int port, bool clear=true)
 

Variables

QMap< int, port_infoopen_xv_ports
 

Function Documentation

◆ close_all_xv_ports_signal_handler()

void close_all_xv_ports_signal_handler ( int  sig)

◆ add_open_xv_port()

bool add_open_xv_port ( MythXDisplay disp,
int  port 
)

Definition at line 96 of file util-xv.cpp.

Referenced by VideoOutputXv::GrabSuitableXvPort().

◆ del_open_xv_port()

void del_open_xv_port ( int  port)

Definition at line 114 of file util-xv.cpp.

Referenced by VideoOutputXv::UngrabXvPort().

◆ has_open_xv_port()

bool has_open_xv_port ( int  port)

Definition at line 128 of file util-xv.cpp.

◆ cnt_open_xv_port()

uint cnt_open_xv_port ( void  )

Definition at line 133 of file util-xv.cpp.

◆ xvflags2str()

QString xvflags2str ( int  flags)

Definition at line 138 of file util-xv.cpp.

Referenced by VideoOutputXv::GrabSuitableXvPort().

◆ xv_is_attrib_supported()

bool xv_is_attrib_supported ( MythXDisplay disp,
int  port,
const char *  name,
int *  current_value = nullptr,
int *  min_val = nullptr,
int *  max_val = nullptr 
)

◆ xv_set_attrib()

bool xv_set_attrib ( MythXDisplay disp,
int  port,
const char *  name,
int  val 
)

◆ xv_get_attrib()

bool xv_get_attrib ( MythXDisplay disp,
int  port,
const char *  name,
int &  val 
)

Definition at line 217 of file util-xv.cpp.

Referenced by VideoOutputXv::InitColorKey(), and save_port_attributes().

◆ save_port_attributes()

void save_port_attributes ( int  port)

Definition at line 46 of file util-xv.cpp.

Referenced by VideoOutputXv::InitSetupBuffers().

◆ restore_port_attributes()

void restore_port_attributes ( int  port,
bool  clear = true 
)

Definition at line 73 of file util-xv.cpp.

Referenced by close_all_xv_ports_signal_handler(), and VideoOutputXv::UngrabXvPort().

Variable Documentation

◆ open_xv_ports

QMap<int,port_info> open_xv_ports