annotate libvo/video_out_internal.h @ 164:2790235db59f

even more updates :) about time to crack a joke, eh? :))
author gabucino
date Mon, 19 Mar 2001 20:30:03 +0000
parents 1fc618eba830
children f6b5c2dbc88e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 * video_out_internal.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 * Copyright (C) Aaron Holtzman - Aug 1999
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 * This file is part of mpeg2dec, a free MPEG-2 video stream decoder.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 * mpeg2dec is free software; you can redistribute it and/or modify
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 * the Free Software Foundation; either version 2, or (at your option)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 * any later version.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 * mpeg2dec is distributed in the hope that it will be useful,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 * GNU General Public License for more details.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 * along with GNU Make; see the file COPYING. If not, write to
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 static const vo_info_t* get_info(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 static uint32_t draw_frame(uint8_t *src[]);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 static void flip_page(void);
31
1fc618eba830 added check_events() interface
arpi_esp
parents: 1
diff changeset
29 static void check_events(void);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 static void uninit(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 static uint32_t query_format(uint32_t format);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 #define LIBVO_EXTERN(x) vo_functions_t video_out_##x =\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 {\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 init,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 query_format,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 get_info,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 draw_frame,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 draw_slice,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 flip_page,\
31
1fc618eba830 added check_events() interface
arpi_esp
parents: 1
diff changeset
41 check_events,\
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 uninit,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 };