History

lavu/pixfmt: move AVPALETTE_SIZE and _COUNT to pixfmt.h

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.

Stefano Sabatini committed 14 years ago

Commit f2ee0651 parent d0ad91c4 files · +8 −4Browse files

Unified · Split

4 files
  1. doc/APIchanges +4 −0
  2. libavcodec/avcodec.h +0 −3
  3. libavutil/avutil.h +1 −1
  4. libavutil/pixfmt.h +3 −0
doc/APIchanges+4−0
@@ -15,6 +15,10 @@ libavutil: 2011-04-18 · 14 unmodified lines
1515
1616 API changes, most recent first:
1717
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+
1822 2012-05-07 - xxxxxxx - lavf 54.5.100
1923 Add av_guess_sample_aspect_ratio() function.
2024
libavcodec/avcodec.h+0−3
@@ -3130,9 +3130,6 @@ typedef struct AVPicture { · 3129 unmodified lines
31303130 * @}
31313131 */
31323132
3133−#define AVPALETTE_SIZE 1024
3134−#define AVPALETTE_COUNT 256
3135−
31363133 enum AVSubtitleType {
31373134 SUBTITLE_NONE,
31383135
libavutil/avutil.h+1−1
@@ -153,7 +153,7 @@ · 152 unmodified lines
153153 */
154154
155155 #define LIBAVUTIL_VERSION_MAJOR 51
156−#define LIBAVUTIL_VERSION_MINOR 53
156+#define LIBAVUTIL_VERSION_MINOR 54
157157 #define LIBAVUTIL_VERSION_MICRO 100
158158
159159 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
libavutil/pixfmt.h+3−0
@@ -29,6 +29,9 @@ · 28 unmodified lines
2929
3030 #include "libavutil/avconfig.h"
3131
32+#define AVPALETTE_SIZE 1024
33+#define AVPALETTE_COUNT 256
34+
3235 /**
3336 * Pixel format.
3437 *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t