annotate libvo/vo_v4l2.h @ 34603:d0135e230f3d

Fix green bottom line on yadif with certain parity. This implementation of the filter method needs a padding, that mplayer allocates but never fills with data. Do the padding properly and tweak the height alignment to even number of lines, instead of rounding to 32.
author iive
date Sat, 11 Feb 2012 22:33:22 +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 */