annotate libmpdemux/pnm.h @ 9420:8a1a8f5e9c91

variable subpacket size support
author michael
date Fri, 14 Feb 2003 11:11:11 +0000
parents 16af93c01dbf
children 281d155fb37f
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
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
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
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
35 pnm_t* pnm_connect (int fd,char *url);
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
36
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
37 int pnm_read (pnm_t *this, char *data, int len);
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
38 void pnm_close (pnm_t *this);
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
39
16af93c01dbf pnm:// support (ported from xine)
arpi
parents:
diff changeset
40 int pnm_peek_header (pnm_t *this, char *data);
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