| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Misc image conversion routines | 2 * Misc image conversion routines |
| 3 * most functionality is exported to the public API, see avcodec.h | 3 * most functionality is exported to the public API, see avcodec.h |
| 4 * | 4 * |
| 5 * Copyright (c) 2008 Vitor Sessak | 5 * Copyright (c) 2008 Vitor Sessak |
| 6 * | 6 * |
| 7 * This file is part of FFmpeg. | 7 * This file is part of FFmpeg. |
| 8 * | 8 * |
| 9 * FFmpeg is free software; you can redistribute it and/or | 9 * FFmpeg is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Lesser General Public | 10 * modify it under the terms of the GNU Lesser General Public |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #include <stdint.h> | 27 #include <stdint.h> |
| 28 #include "avcodec.h" | 28 #include "avcodec.h" |
| 29 | 29 |
| 30 #if LIBAVCODEC_VERSION_MAJOR < 53 | 30 #if LIBAVCODEC_VERSION_MAJOR < 53 |
| 31 attribute_deprecated | 31 attribute_deprecated |
| 32 int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width); | 32 int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width); |
| 33 | 33 |
| 34 attribute_deprecated | 34 attribute_deprecated |
| 35 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt,
int height); | 35 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt,
int height); |
| 36 |
| 37 attribute_deprecated |
| 38 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); |
| 36 #endif | 39 #endif |
| 37 | 40 |
| 38 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); | |
| 39 | |
| 40 int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt); | 41 int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt); |
| 41 | 42 |
| 42 #endif /* AVCODEC_IMGCONVERT_H */ | 43 #endif /* AVCODEC_IMGCONVERT_H */ |
| OLD | NEW |