![]() |
SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <tvscreen.h>
Inheritance diagram for TVScreen:
Collaboration diagram for TVScreen:Signals | |
| void | traceSizeChanged (int) |
| void | sampleRateChanged (int) |
Public Member Functions | |
| TVScreen (bool blnColor, QWidget *parent=0) | |
| virtual | ~TVScreen () |
| void | setColor (bool blnColor) |
| void | resizeTVScreen (int intCols, int intRows) |
| void | getSize (int &intCols, int &intRows) const |
| void | renderImage (unsigned char *objData) |
| QRgb * | getRowBuffer (int intRow) |
| void | resetImage () |
| void | resetImage (int alpha) |
| bool | selectRow (int intLine) |
| bool | setDataColor (int intCol, int intRed, int intGreen, int intBlue) |
| bool | setDataColor (int intCol, int intRed, int intGreen, int intBlue, int intAlpha) |
| void | setAlphaBlend (bool blnAlphaBlend) |
| void | setAlphaReset () |
| void | connectTimer (const QTimer &timer) |
Static Public Attributes | |
| static const int | TV_COLS =256 |
| static const int | TV_ROWS =256 |
Protected Slots | |
| void | cleanup () |
| void | tick () |
Private Member Functions | |
| void | initializeGL () |
| void | resizeGL (int width, int height) |
| void | paintGL () |
| void | mousePressEvent (QMouseEvent *) |
Private Attributes | |
| bool | m_blnGLContextInitialized |
| int | m_intAskedCols |
| int | m_intAskedRows |
| QTimer | m_objTimer |
| QMutex | m_objMutex |
| bool | m_blnDataChanged |
| bool | m_blnConfigChanged |
| GLShaderTVArray | m_objGLShaderArray |
| int | m_cols |
| int | m_rows |
| unsigned char * | m_chrLastData |
Definition at line 39 of file tvscreen.h.
| TVScreen::TVScreen | ( | bool | blnColor, |
| QWidget * | parent = 0 |
||
| ) |
Definition at line 31 of file tvscreen.cpp.
References m_blnConfigChanged, m_blnDataChanged, m_blnGLContextInitialized, m_chrLastData, m_cols, m_intAskedCols, m_intAskedRows, m_objTimer, m_rows, tick(), TV_COLS, and TV_ROWS.
Here is the call graph for this function:
|
virtual |
Definition at line 50 of file tvscreen.cpp.
References cleanup().
Here is the call graph for this function:
|
protectedslot |
Definition at line 204 of file tvscreen.cpp.
References GLShaderTVArray::Cleanup(), m_blnGLContextInitialized, and m_objGLShaderArray.
Referenced by initializeGL(), and ~TVScreen().
Here is the call graph for this function:
Here is the caller graph for this function:| void TVScreen::connectTimer | ( | const QTimer & | timer | ) |
Definition at line 196 of file tvscreen.cpp.
References m_objTimer, and tick().
Here is the call graph for this function:| QRgb * TVScreen::getRowBuffer | ( | int | intRow | ) |
Definition at line 60 of file tvscreen.cpp.
References GLShaderTVArray::GetRowBuffer(), m_blnGLContextInitialized, and m_objGLShaderArray.
Here is the call graph for this function:| void TVScreen::getSize | ( | int & | intCols, |
| int & | intRows | ||
| ) | const |
Definition at line 95 of file tvscreen.cpp.
References m_cols, and m_rows.
Referenced by ScopeVisXY::feed().
Here is the caller graph for this function:
|
private |
Definition at line 101 of file tvscreen.cpp.
References cleanup(), m_blnGLContextInitialized, and m_objMutex.
Here is the call graph for this function:
|
private |
Definition at line 184 of file tvscreen.cpp.
|
private |
Definition at line 165 of file tvscreen.cpp.
References GLShaderTVArray::InitializeGL(), m_blnDataChanged, m_chrLastData, m_intAskedCols, m_intAskedRows, m_objGLShaderArray, m_objMutex, and GLShaderTVArray::RenderPixels().
Here is the call graph for this function:| void TVScreen::renderImage | ( | unsigned char * | objData | ) |
Definition at line 70 of file tvscreen.cpp.
References m_blnDataChanged, and m_chrLastData.
Referenced by ScopeVisXY::feed(), ATVDemod::processClassic(), ATVDemod::processHSkip(), DATVideoRender::RenderStream(), leansdr::datvconstellation< leansdr::f32 >::run(), and leansdr::datvdvbs2constellation< leansdr::f32 >::run().
Here is the caller graph for this function:| void TVScreen::resetImage | ( | ) |
Definition at line 76 of file tvscreen.cpp.
References m_objGLShaderArray, and GLShaderTVArray::ResetPixels().
Referenced by ScopeVisXY::feed(), DATVideoRender::RenderStream(), leansdr::datvconstellation< leansdr::f32 >::run(), and leansdr::datvdvbs2constellation< leansdr::f32 >::run().
Here is the call graph for this function:
Here is the caller graph for this function:| void TVScreen::resetImage | ( | int | alpha | ) |
Definition at line 81 of file tvscreen.cpp.
References m_objGLShaderArray, and GLShaderTVArray::ResetPixels().
Here is the call graph for this function:
|
private |
| void TVScreen::resizeTVScreen | ( | int | intCols, |
| int | intRows | ||
| ) |
Definition at line 86 of file tvscreen.cpp.
References m_cols, m_intAskedCols, m_intAskedRows, and m_rows.
Referenced by ATVDemod::applySettings(), and DATVideoRender::RenderStream().
Here is the caller graph for this function:
|
signal |
| bool TVScreen::selectRow | ( | int | intLine | ) |
Definition at line 212 of file tvscreen.cpp.
References m_blnGLContextInitialized, m_objGLShaderArray, and GLShaderTVArray::SelectRow().
Referenced by ScopeVisXY::drawGraticule(), ScopeVisXY::feed(), ATVDemod::processClassic(), ATVDemod::processHSkip(), leansdr::datvconstellation< leansdr::f32 >::run(), and leansdr::datvdvbs2constellation< leansdr::f32 >::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 59 of file tvscreen.h.
Referenced by ScopeVisXY::ScopeVisXY().
Here is the caller graph for this function:
|
inline |
Definition at line 60 of file tvscreen.h.
Referenced by ScopeVisXY::setPixelsPerFrame().
Here is the caller graph for this function:| void TVScreen::setColor | ( | bool | blnColor | ) |
Definition at line 55 of file tvscreen.cpp.
References m_objGLShaderArray, and GLShaderTVArray::setColor().
Here is the call graph for this function:| bool TVScreen::setDataColor | ( | int | intCol, |
| int | intRed, | ||
| int | intGreen, | ||
| int | intBlue | ||
| ) |
Definition at line 224 of file tvscreen.cpp.
References m_blnGLContextInitialized, m_objGLShaderArray, and GLShaderTVArray::SetDataColor().
Referenced by ScopeVisXY::drawGraticule(), ScopeVisXY::feed(), ATVDemod::processClassic(), ATVDemod::processHSkip(), leansdr::datvconstellation< leansdr::f32 >::run(), and leansdr::datvdvbs2constellation< leansdr::f32 >::run().
Here is the call graph for this function:
Here is the caller graph for this function:| bool TVScreen::setDataColor | ( | int | intCol, |
| int | intRed, | ||
| int | intGreen, | ||
| int | intBlue, | ||
| int | intAlpha | ||
| ) |
Definition at line 236 of file tvscreen.cpp.
References m_blnGLContextInitialized, m_objGLShaderArray, and GLShaderTVArray::SetDataColor().
Here is the call graph for this function:
|
protectedslot |
Definition at line 189 of file tvscreen.cpp.
References m_blnDataChanged.
Referenced by connectTimer(), and TVScreen().
Here is the caller graph for this function:
|
signal |
|
private |
Definition at line 82 of file tvscreen.h.
Referenced by resizeGL(), and TVScreen().
|
private |
Definition at line 81 of file tvscreen.h.
Referenced by paintGL(), renderImage(), tick(), and TVScreen().
|
private |
Definition at line 73 of file tvscreen.h.
Referenced by cleanup(), getRowBuffer(), initializeGL(), selectRow(), setDataColor(), and TVScreen().
|
private |
Definition at line 95 of file tvscreen.h.
Referenced by paintGL(), renderImage(), and TVScreen().
|
private |
Definition at line 86 of file tvscreen.h.
Referenced by getSize(), resizeTVScreen(), and TVScreen().
|
private |
Definition at line 74 of file tvscreen.h.
Referenced by paintGL(), resizeTVScreen(), and TVScreen().
|
private |
Definition at line 75 of file tvscreen.h.
Referenced by paintGL(), resizeTVScreen(), and TVScreen().
|
private |
Definition at line 84 of file tvscreen.h.
Referenced by cleanup(), getRowBuffer(), paintGL(), resetImage(), selectRow(), setColor(), and setDataColor().
|
private |
Definition at line 80 of file tvscreen.h.
Referenced by initializeGL(), and paintGL().
|
private |
Definition at line 79 of file tvscreen.h.
Referenced by connectTimer(), and TVScreen().
|
private |
Definition at line 87 of file tvscreen.h.
Referenced by getSize(), resizeTVScreen(), and TVScreen().
|
static |
Definition at line 65 of file tvscreen.h.
Referenced by TVScreen().
|
static |
Definition at line 66 of file tvscreen.h.
Referenced by TVScreen().
1.8.13