Add windowed support for MMAL
This commit is contained in:
parent
d63a1b0eb0
commit
76e81fa651
2 changed files with 76 additions and 22 deletions
|
|
@ -22,10 +22,14 @@ private:
|
|||
static void InputPortCallback(MMAL_PORT_T* port, MMAL_BUFFER_HEADER_T* buffer);
|
||||
|
||||
void setupBackground(PDECODER_PARAMETERS params);
|
||||
void updateDisplayRegion();
|
||||
|
||||
MMAL_COMPONENT_T* m_Renderer;
|
||||
MMAL_PORT_T* m_InputPort;
|
||||
|
||||
SDL_Renderer* m_BackgroundRenderer;
|
||||
SDL_Window* m_Window;
|
||||
int m_VideoWidth, m_VideoHeight;
|
||||
int m_LastWindowPosX, m_LastWindowPosY;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue