Move AVPALETTE_SIZE and AVPALETTE_COUNT definition from libavcodec/avcodec.h to libavutil/pixfmt.h. The definition is more useful in libavutil, where it can be shared for example by libavfilter and libswscale.
Unified · Split
| @@ -15,6 +15,10 @@ libavutil: 2011-04-18 · 14 unmodified lines | |||
| 15 | 15 | ||
| 16 | API changes, most recent first: | 16 | API changes, most recent first: |
| 17 | 17 | ||
| 18 | 2012-05-24 - xxxxxxx - lavu 51.54.100 | ||
| 19 | Move AVPALETTE_SIZE and AVPALETTE_COUNT macros from | ||
| 20 | libavcodec/avcodec.h to libavutil/pixfmt.h. | ||
| 21 | |||
| 18 | 2012-05-07 - xxxxxxx - lavf 54.5.100 | 22 | 2012-05-07 - xxxxxxx - lavf 54.5.100 |
| 19 | Add av_guess_sample_aspect_ratio() function. | 23 | Add av_guess_sample_aspect_ratio() function. |
| 20 | 24 | ||
| @@ -3130,9 +3130,6 @@ typedef struct AVPicture { · 3129 unmodified lines | |||
| 3130 | * @} | 3130 | * @} |
| 3131 | */ | 3131 | */ |
| 3132 | 3132 | ||
| 3133 | #define AVPALETTE_SIZE 1024 | ||
| 3134 | #define AVPALETTE_COUNT 256 | ||
| 3135 | |||
| 3136 | enum AVSubtitleType { | 3133 | enum AVSubtitleType { |
| 3137 | SUBTITLE_NONE, | 3134 | SUBTITLE_NONE, |
| 3138 | 3135 | ||
| @@ -153,7 +153,7 @@ · 152 unmodified lines | |||
| 153 | */ | 153 | */ |
| 154 | 154 | ||
| 155 | #define LIBAVUTIL_VERSION_MAJOR 51 | 155 | #define LIBAVUTIL_VERSION_MAJOR 51 |
| 156 | #define LIBAVUTIL_VERSION_MINOR 53 | 156 | #define LIBAVUTIL_VERSION_MINOR 54 |
| 157 | #define LIBAVUTIL_VERSION_MICRO 100 | 157 | #define LIBAVUTIL_VERSION_MICRO 100 |
| 158 | 158 | ||
| 159 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ | 159 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |
| @@ -29,6 +29,9 @@ · 28 unmodified lines | |||
| 29 | 29 | ||
| 30 | #include "libavutil/avconfig.h" | 30 | #include "libavutil/avconfig.h" |
| 31 | 31 | ||
| 32 | #define AVPALETTE_SIZE 1024 | ||
| 33 | #define AVPALETTE_COUNT 256 | ||
| 34 | |||
| 32 | /** | 35 | /** |
| 33 | * Pixel format. | 36 | * Pixel format. |
| 34 | * | 37 | * |