annotate libvo/vo_v4l2.h @ 33179:218edd8fc782

Cosmetic: Format to MPlayer coding style. Additionally: remove needless includes, group and sort includes, group and sort variables, rename gtkAOFakeSurround declaration gtkAOSurround, add #ifdefs to variable declarations, group statements by adding or removing new lines to ease reading, move assignments outside conditions, add parentheses, avoid mixing declaration and code, revise comments and add new ones.
author ib
date Fri, 15 Apr 2011 14:30:58 +0000
parents 9031c664ed05
children efc3594f1f07
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30650
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
1 /*
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
2 * video output for V4L2 hardware MPEG decoders
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
3 *
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
4 * Copyright (C) 2007 Benjamin Zores
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
5 *
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
6 * This file is part of MPlayer.
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
7 *
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
8 * MPlayer is free software; you can redistribute it and/or modify
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
11 * (at your option) any later version.
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
12 *
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
13 * MPlayer is distributed in the hope that it will be useful,
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
16 * GNU General Public License for more details.
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
17 *
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License along
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
19 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
21 */
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
22
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
23 #ifndef MPLAYER_VO_V4L2_H
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
24 #define MPLAYER_VO_V4L2_H
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
25
32074
9031c664ed05 Move v4l2_fd extern declaration to vo_v4l2.h, where it belongs.
diego
parents: 30650
diff changeset
26 extern int v4l2_fd;
9031c664ed05 Move v4l2_fd extern declaration to vo_v4l2.h, where it belongs.
diego
parents: 30650
diff changeset
27
30650
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
28 int v4l2_write (unsigned char *data, int len);
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
29
6fc02905e992 Add header for v4l2_write() instead of forward declaring it.
diego
parents:
diff changeset
30 #endif /* MPLAYER_VO_V4L2_H */