xine-lib: xine-lib-1.2.12/src/video_dec/libmpeg2new/include/mpeg2convert.h Source File

xine-lib 1.2.12

mpeg2convert.h
Go to the documentation of this file.
1/*
2 * mpeg2convert.h
3 * Copyright (C) 2000-2003 Michel Lespinasse <walken@zoy.org>
4 * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
5 *
6 * This file is part of mpeg2dec, a free MPEG-2 video stream decoder.
7 * See http://libmpeg2.sourceforge.net/ for updates.
8 *
9 * mpeg2dec is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * mpeg2dec is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */
23
24#ifndef MPEG2CONVERT_H
25#define MPEG2CONVERT_H
26
27 mpeg2_convert_t mpeg2convert_rgb32;
28 mpeg2_convert_t mpeg2convert_rgb24;
29 mpeg2_convert_t mpeg2convert_rgb16;
30 mpeg2_convert_t mpeg2convert_rgb15;
31 mpeg2_convert_t mpeg2convert_rgb8;
32 mpeg2_convert_t mpeg2convert_bgr32;
33 mpeg2_convert_t mpeg2convert_bgr24;
34 mpeg2_convert_t mpeg2convert_bgr16;
35 mpeg2_convert_t mpeg2convert_bgr15;
36 mpeg2_convert_t mpeg2convert_bgr8;
37
38 typedef enum {
39 MPEG2CONVERT_RGB = 0,
40 MPEG2CONVERT_BGR = 1
41} mpeg2convert_rgb_order_t;
42
43 mpeg2_convert_t * mpeg2convert_rgb (mpeg2convert_rgb_order_t order,
44 unsigned int bpp);
45
46 mpeg2_convert_t mpeg2convert_uyvy;
47
48#endif /* MPEG2CONVERT_H */
mpeg2_convert_t
int mpeg2_convert_t(int stage, void *id, const mpeg2_sequence_t *sequence, int stride, uint32_t accel, void *arg, mpeg2_convert_init_t *result)
Definition: mpeg2.h:146
mpeg2convert_rgb24
mpeg2_convert_t mpeg2convert_rgb24
Definition: mpeg2convert.h:28
mpeg2convert_rgb_order_t
mpeg2convert_rgb_order_t
Definition: mpeg2convert.h:38
MPEG2CONVERT_RGB
@ MPEG2CONVERT_RGB
Definition: mpeg2convert.h:39
MPEG2CONVERT_BGR
@ MPEG2CONVERT_BGR
Definition: mpeg2convert.h:40
mpeg2convert_rgb16
mpeg2_convert_t mpeg2convert_rgb16
Definition: mpeg2convert.h:29
mpeg2convert_rgb32
mpeg2_convert_t mpeg2convert_rgb32
Definition: mpeg2convert.h:27
mpeg2convert_rgb8
mpeg2_convert_t mpeg2convert_rgb8
Definition: mpeg2convert.h:31
mpeg2convert_rgb
mpeg2_convert_t * mpeg2convert_rgb(mpeg2convert_rgb_order_t order, unsigned int bpp)
mpeg2convert_bgr24
mpeg2_convert_t mpeg2convert_bgr24
Definition: mpeg2convert.h:33
mpeg2convert_bgr16
mpeg2_convert_t mpeg2convert_bgr16
Definition: mpeg2convert.h:34
mpeg2convert_rgb15
mpeg2_convert_t mpeg2convert_rgb15
Definition: mpeg2convert.h:30
mpeg2convert_bgr15
mpeg2_convert_t mpeg2convert_bgr15
Definition: mpeg2convert.h:35
mpeg2convert_bgr32
mpeg2_convert_t mpeg2convert_bgr32
Definition: mpeg2convert.h:32
mpeg2convert_bgr8
mpeg2_convert_t mpeg2convert_bgr8
Definition: mpeg2convert.h:36
mpeg2convert_uyvy
mpeg2_convert_t mpeg2convert_uyvy
Definition: mpeg2convert.h:46