FFmpeg  1.2.4
old_pix_fmts.h
Go to the documentation of this file.
1 /*
2  * copyright (c) 2006-2012 Michael Niedermayer <michaelni@gmx.at>
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef AVUTIL_OLD_PIX_FMTS_H
22 #define AVUTIL_OLD_PIX_FMTS_H
23 
24 /*
25  * This header exists to prevent new pixel formats from being accidentally added
26  * to the deprecated list.
27  * Do not include it directly. It will be removed on next major bump
28  *
29  * Do not add new items to this list. Use the AVPixelFormat enum instead.
30  */
43  PIX_FMT_PAL8,
51  PIX_FMT_BGR8,
52  PIX_FMT_BGR4,
54  PIX_FMT_RGB8,
55  PIX_FMT_RGB4,
57  PIX_FMT_NV12,
58  PIX_FMT_NV21,
59 
60  PIX_FMT_ARGB,
61  PIX_FMT_RGBA,
62  PIX_FMT_ABGR,
63  PIX_FMT_BGRA,
64 
77 
82 
87 
91 
100 
108 
109  //the following 10 formats have the disadvantage of needing 1 format for each bit depth, thus
110  //If you want to support multiple bit depths, then using PIX_FMT_YUV420P16* with the bpp stored separately
111  //is better
125 
126 #ifdef AV_PIX_FMT_ABI_GIT_MASTER
131 #endif
132  PIX_FMT_GBRP,
139 
140 #ifndef AV_PIX_FMT_ABI_GIT_MASTER
145 #endif
146  PIX_FMT_0RGB=0x123+4,
147  PIX_FMT_RGB0,
148  PIX_FMT_0BGR,
149  PIX_FMT_BGR0,
152 
169 
170  PIX_FMT_NB,
171 #endif /* AVUTIL_OLD_PIX_FMTS_H */