annotate libvo/matrixview.h @ 33714:5fda3578d1c5

Do not assign anything when a stream control returns an error. Avoids issues with some places that don't check the return value of stream_control.
author reimar
date Sun, 03 Jul 2011 09:45:29 +0000
parents c81c29a219fa
children f73711af11ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
19 #ifndef MPLAYER_MATRIXVIEW_H
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
20 #define MPLAYER_MATRIXVIEW_H
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
21
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
22 #include <stdint.h>
30153
4e0755091f55 prettyprinting cosmetics
diego
parents: 30140
diff changeset
23
30140
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
24 void matrixview_init (int w, int h);
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
25 void matrixview_reshape (int w, int h);
30153
4e0755091f55 prettyprinting cosmetics
diego
parents: 30140
diff changeset
26 void matrixview_draw (int w, int h, double currentTime, float frameTime,
4e0755091f55 prettyprinting cosmetics
diego
parents: 30140
diff changeset
27 uint8_t *data);
30140
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
28 void matrixview_matrix_resize(int w, int h);
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
29 void matrixview_contrast_set(float contrast);
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
30 void matrixview_brightness_set(float brightness);
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
31
12a49e9ca30e Finally add matrixview vo.
reimar
parents:
diff changeset
32 #endif /* MPLAYER_MATRIXVIEW_H */