Mercurial > libavcodec.hg
comparison avcodec.h @ 5266:91fa81e4d14d libavcodec
avoid deprecation warnings for ImgReSampleContext from avcodec.h
| author | mru |
|---|---|
| date | Mon, 09 Jul 2007 22:15:07 +0000 |
| parents | 2b72f9bc4f06 |
| children | 7dcea5ee1d51 |
comparison
equal
deleted
inserted
replaced
| 5265:a5e1cc69033d | 5266:91fa81e4d14d |
|---|---|
| 2221 /* YUV420 format is assumed ! */ | 2221 /* YUV420 format is assumed ! */ |
| 2222 | 2222 |
| 2223 /** | 2223 /** |
| 2224 * @deprecated Use the software scaler (swscale) instead. | 2224 * @deprecated Use the software scaler (swscale) instead. |
| 2225 */ | 2225 */ |
| 2226 struct ImgReSampleContext attribute_deprecated; | |
| 2227 | |
| 2228 /** | |
| 2229 * @deprecated Use the software scaler (swscale) instead. | |
| 2230 */ | |
| 2231 typedef struct ImgReSampleContext ImgReSampleContext attribute_deprecated; | 2226 typedef struct ImgReSampleContext ImgReSampleContext attribute_deprecated; |
| 2232 | 2227 |
| 2233 /** | 2228 /** |
| 2234 * @deprecated Use the software scaler (swscale) instead. | 2229 * @deprecated Use the software scaler (swscale) instead. |
| 2235 */ | 2230 */ |
| 2247 int padleft, int padright); | 2242 int padleft, int padright); |
| 2248 | 2243 |
| 2249 /** | 2244 /** |
| 2250 * @deprecated Use the software scaler (swscale) instead. | 2245 * @deprecated Use the software scaler (swscale) instead. |
| 2251 */ | 2246 */ |
| 2252 attribute_deprecated void img_resample(ImgReSampleContext *s, | 2247 attribute_deprecated void img_resample(struct ImgReSampleContext *s, |
| 2253 AVPicture *output, const AVPicture *input); | 2248 AVPicture *output, const AVPicture *input); |
| 2254 | 2249 |
| 2255 /** | 2250 /** |
| 2256 * @deprecated Use the software scaler (swscale) instead. | 2251 * @deprecated Use the software scaler (swscale) instead. |
| 2257 */ | 2252 */ |
| 2258 attribute_deprecated void img_resample_close(ImgReSampleContext *s); | 2253 attribute_deprecated void img_resample_close(struct ImgReSampleContext *s); |
| 2259 | 2254 |
| 2260 #endif | 2255 #endif |
| 2261 | 2256 |
| 2262 /** | 2257 /** |
| 2263 * Allocate memory for a picture. Call avpicture_free to free it. | 2258 * Allocate memory for a picture. Call avpicture_free to free it. |
