annotate libvo/vo_v4l2.h @ 34697:ac6b38cd0d45

Rename sub window video window. It was a bad idea to name the video window "sub window" at the time the GUI was written. The term "sub window" does make sense from the programmer's point of view, but it doesn't make any sense at all from the user's point of view, because the sub window simply is the window where the video will be displayed. Moreover, since the term "sub" is generally short for "subtitles", the renaming makes the code much easier to understand.
author ib
date Sat, 03 Mar 2012 16:45:15 +0000
parents efc3594f1f07
children
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
33319
efc3594f1f07 Fix function to match what send_mpeg_pes_packet expects,
reimar
parents: 32074
diff changeset
28 int v4l2_write (const unsigned char *data, int len);
30650
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 */