MythTV  master
Macros | Functions
util-nvctrl.cpp File Reference
#include "config.h"
#include "util-nvctrl.h"
#include "mythlogging.h"
#include "mythdb.h"
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <locale>
#include <sstream>
#include "mythxdisplay.h"
#include "NVCtrl.h"
#include "NVCtrlLib.h"
#include "DisplayResX.h"
Include dependency graph for util-nvctrl.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("NVCtrl: ")
 

Functions

static unsigned int display_device_mask (char *str)
 
static void parse_mode_string (char *modeString, char **modeName, int *mask)
 
static char * find_modeline (char *modeName, char *pModeLines, int ModeLineLen)
 
static int extract_id_string (char *str)
 
static bool modeline_is_interlaced (char *modeLine)
 
int CheckNVOpenGLSyncToVBlank (void)
 
int GetNvidiaRates (t_screenrate &screenmap)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("NVCtrl: ")

Definition at line 37 of file util-nvctrl.cpp.

Function Documentation

◆ display_device_mask()

static unsigned int display_device_mask ( char *  str)
static

Definition at line 358 of file util-nvctrl.cpp.

Referenced by parse_mode_string().

◆ parse_mode_string()

static void parse_mode_string ( char *  modeString,
char **  modeName,
int *  mask 
)
static

Definition at line 398 of file util-nvctrl.cpp.

Referenced by GetNvidiaRates().

◆ find_modeline()

static char * find_modeline ( char *  modeName,
char *  pModeLines,
int  ModeLineLen 
)
static

Definition at line 452 of file util-nvctrl.cpp.

Referenced by GetNvidiaRates().

◆ extract_id_string()

static int extract_id_string ( char *  str)
static

Definition at line 509 of file util-nvctrl.cpp.

Referenced by GetNvidiaRates().

◆ modeline_is_interlaced()

static bool modeline_is_interlaced ( char *  modeLine)
static

Definition at line 536 of file util-nvctrl.cpp.

Referenced by GetNvidiaRates().

◆ CheckNVOpenGLSyncToVBlank()

int CheckNVOpenGLSyncToVBlank ( void  )

Definition at line 39 of file util-nvctrl.cpp.

Referenced by MythRenderOpenGL::Create().

◆ GetNvidiaRates()

int GetNvidiaRates ( t_screenrate screenmap)

Definition at line 87 of file util-nvctrl.cpp.

Referenced by DisplayResX::GetVideoModes().