annotate stream/pnm.h @ 19781:61cc28c4236a

at start, reset dvdnav at the beginning of the stream after the first read (that is done to workaround a bug in dvdnav from cvs)
author nicodvb
date Sun, 10 Sep 2006 10:53:58 +0000
parents 36589811e5d0
children 4566261f75de
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8570
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
1 /*
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
2 * Copyright (C) 2002 the xine project
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
3 *
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
4 * This file is part of xine, a free video player.
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
5 *
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
6 * xine is free software; you can redistribute it and/or modify
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
7 * it under the terms of the GNU General Public License as published by
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
9 * (at your option) any later version.
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
10 *
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
11 * xine is distributed in the hope that it will be useful,
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
14 * GNU General Public License for more details.
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
15 *
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
17 * along with this program; if not, write to the Free Software
19614
36589811e5d0 The FSF changed postal address.
diego
parents: 19311
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8570
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
19 *
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
20 * $Id$
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
21 *
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
22 * pnm util functions header by joschka
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
23 */
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
24
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
25 #ifndef HAVE_PNM_H
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
26 #define HAVE_PNM_H
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
27
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
28 #ifndef __CYGWIN__
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
29 #include <inttypes.h>
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
30 #endif
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
31 /*#include "xine_internal.h" */
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
32
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
33 typedef struct pnm_s pnm_t;
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
34
15585
281d155fb37f ported all network streams to the new API
nicodvb
parents: 8570
diff changeset
35 //pnm_t* pnm_connect (int fd,char *url);
8570
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
36
15585
281d155fb37f ported all network streams to the new API
nicodvb
parents: 8570
diff changeset
37 //int pnm_read (pnm_t *this, char *data, int len);
281d155fb37f ported all network streams to the new API
nicodvb
parents: 8570
diff changeset
38 //void pnm_close (pnm_t *this);
8570
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
39
15585
281d155fb37f ported all network streams to the new API
nicodvb
parents: 8570
diff changeset
40 //int pnm_peek_header (pnm_t *this, char *data);
8570
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
41
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
42 #endif
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
43