Mercurial > mplayer.hg
annotate libvo/matrixview.h @ 33298:f0733d37f56b
Fix bug with gfree() definition in Win32 GUI.
gfree (taking pointer of pointer) was erroneously defined
free (taking pointer). Get rid of gfree() by using suitable
free() statements.
Patch by Stephen Sheldon, sfsheldo gmail com.
author | ib |
---|---|
date | Fri, 06 May 2011 09:35:46 +0000 |
parents | c81c29a219fa |
children | f73711af11ae |
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); | |
30153 | 26 void matrixview_draw (int w, int h, double currentTime, float frameTime, |
27 uint8_t *data); | |
30140 | 28 void matrixview_matrix_resize(int w, int h); |
29 void matrixview_contrast_set(float contrast); | |
30 void matrixview_brightness_set(float brightness); | |
31 | |
32 #endif /* MPLAYER_MATRIXVIEW_H */ |