Mercurial > libavcodec.hg
comparison imgconvert.c @ 5355:45d083bbbbe7 libavcodec
typo fixes
author | diego |
---|---|
date | Tue, 17 Jul 2007 12:57:50 +0000 |
parents | dfa6e7fa2bac |
children | 1a25f2f6316e |
comparison
equal
deleted
inserted
replaced
5354:dfa6e7fa2bac | 5355:45d083bbbbe7 |
---|---|
1 /* | 1 /* |
2 * Misc image convertion routines | 2 * Misc image conversion routines |
3 * Copyright (c) 2001, 2002, 2003 Fabrice Bellard. | 3 * Copyright (c) 2001, 2002, 2003 Fabrice Bellard. |
4 * | 4 * |
5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
6 * | 6 * |
7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 */ | 20 */ |
21 | 21 |
22 /** | 22 /** |
23 * @file imgconvert.c | 23 * @file imgconvert.c |
24 * Misc image convertion routines. | 24 * misc image conversion routines |
25 */ | 25 */ |
26 | 26 |
27 /* TODO: | 27 /* TODO: |
28 * - write 'ffimg' program to test all the image related stuff | 28 * - write 'ffimg' program to test all the image related stuff |
29 * - move all api to slice based system | 29 * - move all api to slice based system |
1850 typedef struct ConvertEntry { | 1850 typedef struct ConvertEntry { |
1851 void (*convert)(AVPicture *dst, | 1851 void (*convert)(AVPicture *dst, |
1852 const AVPicture *src, int width, int height); | 1852 const AVPicture *src, int width, int height); |
1853 } ConvertEntry; | 1853 } ConvertEntry; |
1854 | 1854 |
1855 /* Add each new convertion function in this table. In order to be able | 1855 /* Add each new conversion function in this table. In order to be able |
1856 to convert from any format to any format, the following constraints | 1856 to convert from any format to any format, the following constraints |
1857 must be satisfied: | 1857 must be satisfied: |
1858 | 1858 |
1859 - all FF_COLOR_RGB formats must convert to and from PIX_FMT_RGB24 | 1859 - all FF_COLOR_RGB formats must convert to and from PIX_FMT_RGB24 |
1860 | 1860 |