1 #ifndef _AVPLAY_WINDOW_HPP_
2 #define _AVPLAY_WINDOW_HPP_
17 static void keyboard(
unsigned char k,
int x,
int y);
19 static void mouse(
int button,
int state,
int x,
int y);
20 static void motion(
int x,
int y);
21 static void reshape(
int width,
int height);
25 static void move(
float x,
float y);
26 static void zoom(
float factor);
27 static void mapToImage(
int x,
int y,
int& iX,
int& iY);
29 static void setTransfert(
float red,
float green,
float blue,
float alpha = 1.f);
31 static void displayChannelTexture(
bool& channel,
const float red,
const float green,
const float blue);
static void displayFirstFrame()
static float _currentZoom
static bool _showBlueChannel
static void specialKeyboard(int k, int x, int y)
static bool _showAlphaChannel
static void displayInformations()
static void motion(int x, int y)
Window(avtranscoder::VideoReader &reader)
static void displayChannelTexture(bool &channel, const float red, const float green, const float blue)
static avtranscoder::VideoReader * _reader
static void mouse(int button, int state, int x, int y)
static void loopPlaying(int value)
static void mapToImage(int x, int y, int &iX, int &iY)
static void reshape(int width, int height)
static void showAlphaChannelTexture()
static void displayPrevFrame()
static void setTransfert(float red, float green, float blue, float alpha=1.f)
static bool _showRedChannel
static bool _showGreenChannel
static void displayHelp()
static void showRedChannelTexture()
static void move(float x, float y)
static void keyboard(unsigned char k, int x, int y)
static void displayAtFrame(const size_t frame)
static void showBlueChannelTexture()
static void showGreenChannelTexture()
static void zoom(float factor)
static void displayNextFrame()