Mercurial > mplayer.hg
annotate libvo/matrixview.h @ 36963:e539d330c7be
Remove unnecessary bounds checks in Win32 GUI.
The checks that the rendered potmeter button
doesn't exceed the bounds is not necessary as
the item value is already limited within the
range of 0 to 100.
Patch by Hans-Dieter Kosch, hdkosch kabelbw de.
author | ib |
---|---|
date | Mon, 24 Mar 2014 12:52:01 +0000 |
parents | f73711af11ae |
children |
rev | line source |
---|---|
30161
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
1 /* |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
2 * This file is part of MPlayer. |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
3 * |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
4 * MPlayer is free software; you can redistribute it and/or modify |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
6 * the Free Software Foundation; either version 2 of the License, or |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
7 * (at your option) any later version. |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
8 * |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
9 * MPlayer is distributed in the hope that it will be useful, |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
12 * GNU General Public License for more details. |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
13 * |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
14 * You should have received a copy of the GNU General Public License along |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
17 */ |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
18 |
30140 | 19 #ifndef MPLAYER_MATRIXVIEW_H |
20 #define MPLAYER_MATRIXVIEW_H | |
21 | |
22 #include <stdint.h> | |
30153 | 23 |
30140 | 24 void matrixview_init (int w, int h); |
25 void matrixview_reshape (int w, int h); | |
36227 | 26 void matrixview_draw (double currentTime, const uint8_t *data); |
30140 | 27 void matrixview_matrix_resize(int w, int h); |
28 void matrixview_contrast_set(float contrast); | |
29 void matrixview_brightness_set(float brightness); | |
30 | |
31 #endif /* MPLAYER_MATRIXVIEW_H */ |