]> git.sesse.net Git - vlc/blob - modules/codec/avcodec/chroma.h
Merge branch 'master' into lpcm_encoder
[vlc] / modules / codec / avcodec / chroma.h
1 /*****************************************************************************
2  * avcodec.h: decoder and encoder using libavcodec
3  *****************************************************************************
4  * Copyright (C) 2001-2008 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
8  *
9  * This program 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  * This program 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 /* VLC <-> avutil tables */
25
26 #ifndef _VLC_AVUTIL_CHROMA_H
27 #define _VLC_AVUTIL_CHROMA_H 1
28
29 int TestFfmpegChroma( const int i_ffmpeg_id, const vlc_fourcc_t i_vlc_fourcc );
30 int GetFfmpegChroma( int *i_ffmpeg_chroma, const video_format_t fmt );
31 int GetVlcChroma( video_format_t *fmt, const int i_ffmpeg_chroma );
32
33 #endif