]> git.sesse.net Git - vlc/blob - plugins/yuv/video_yuv24.c
. nouveau bitstream fait par Meuuh (qui est mortel) et qui nous
[vlc] / plugins / yuv / video_yuv24.c
1 /*****************************************************************************
2  * video_yuv24.c: YUV transformation functions for 24 bpp
3  * Provides functions to perform the YUV conversion. The functions provided here
4  * are a complete and portable C implementation, and may be replaced in certain
5  * case by optimized functions.
6  *****************************************************************************
7  * Copyright (C) 1999, 2000 VideoLAN
8  *
9  * Authors:
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19  * General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public
22  * License along with this program; if not, write to the
23  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24  * Boston, MA 02111-1307, USA.
25  *****************************************************************************/
26
27 /*****************************************************************************
28  * Preamble
29  *****************************************************************************/
30 #include "defs.h"
31
32 #include <math.h>                                            /* exp(), pow() */
33 #include <errno.h>                                                 /* ENOMEM */
34 #include <stdlib.h>                                                /* free() */
35 #include <string.h>                                            /* strerror() */
36
37 #include "config.h"
38 #include "common.h"
39 #include "threads.h"
40 #include "mtime.h"
41 #include "plugins.h"
42 #include "video.h"
43 #include "video_output.h"
44 #include "video_yuv.h"
45 #include "video_yuv_macros.h"
46
47 #include "intf_msg.h"
48
49 /*****************************************************************************
50  * ConvertY4Gray24: grayscale YUV 4:x:x to RGB 2 Bpp
51  *****************************************************************************/
52 void ConvertY4Gray24( YUV_ARGS_24BPP )
53 {
54     intf_ErrMsg( "yuv error: unhandled function, grayscale, bpp = 24\n" );
55 }
56
57 /*****************************************************************************
58  * ConvertYUV420RGB24: color YUV 4:2:0 to RGB 2 Bpp
59  *****************************************************************************/
60 void ConvertYUV420RGB24( YUV_ARGS_24BPP )
61 {
62     intf_ErrMsg( "yuv error: unhandled function, chroma = 420, bpp = 24\n" );
63 }
64
65 /*****************************************************************************
66  * ConvertYUV422RGB24: color YUV 4:2:2 to RGB 2 Bpp
67  *****************************************************************************/
68 void ConvertYUV422RGB24( YUV_ARGS_24BPP )
69 {
70     intf_ErrMsg( "yuv error: unhandled function, chroma = 422, bpp = 24\n" );
71 }
72
73 /*****************************************************************************
74  * ConvertYUV444RGB24: color YUV 4:4:4 to RGB 2 Bpp
75  *****************************************************************************/
76 void ConvertYUV444RGB24( YUV_ARGS_24BPP )
77 {
78     intf_ErrMsg( "yuv error: unhandled function, chroma = 444, bpp = 24\n" );
79 }
80