Mercurial > libavcodec.hg
annotate raw.h @ 8313:2eaafc02cd3d libavcodec
Add img_convert() to imgconvert.h and #include it from imgresample.c.
This fixes an implicit declaration of img_convert() warning.
taken from a patchset from Anders Gr?nberg, galileo.m2 gmail com
| author | diego |
|---|---|
| date | Sat, 13 Dec 2008 12:56:29 +0000 |
| parents | 76f6a08c9fe6 |
| children | 04423b2f6e0b |
| rev | line source |
|---|---|
| 5264 | 1 /* |
| 2 * Raw Video Codec | |
| 3 * Copyright (c) 2001 Fabrice Bellard. | |
| 4 * | |
| 5 * This file is part of FFmpeg. | |
| 6 * | |
| 7 * FFmpeg is free software; you can redistribute it and/or | |
| 8 * modify it under the terms of the GNU Lesser General Public | |
| 9 * License as published by the Free Software Foundation; either | |
| 10 * version 2.1 of the License, or (at your option) any later version. | |
| 11 * | |
| 12 * FFmpeg is distributed in the hope that it will be useful, | |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 * Lesser General Public License for more details. | |
| 16 * | |
| 17 * You should have received a copy of the GNU Lesser General Public | |
| 18 * License along with FFmpeg; if not, write to the Free Software | |
| 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 20 */ | |
| 21 | |
| 22 /** | |
| 23 * @file raw.h | |
| 24 * Raw Video Codec | |
| 25 */ | |
| 26 | |
| 7760 | 27 #ifndef AVCODEC_RAW_H |
| 28 #define AVCODEC_RAW_H | |
| 5264 | 29 |
| 30 #include "avcodec.h" | |
| 31 | |
| 32 typedef struct PixelFormatTag { | |
|
8023
76f6a08c9fe6
Fix some icc warnings by using enum PixelFormat instead of int where appropriate.
cehoyos
parents:
7760
diff
changeset
|
33 enum PixelFormat pix_fmt; |
| 5264 | 34 unsigned int fourcc; |
| 35 } PixelFormatTag; | |
| 36 | |
| 37 extern const PixelFormatTag ff_raw_pixelFormatTags[]; | |
| 38 | |
| 7760 | 39 #endif /* AVCODEC_RAW_H */ |
