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
15 15
16API changes, most recent first:16API changes, most recent first:
17 17
182012-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
182012-05-07 - xxxxxxx - lavf 54.5.100222012-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
libavcodec/avcodec.h+0−3
@@ -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
3136enum AVSubtitleType {3133enum AVSubtitleType {
3137 SUBTITLE_NONE,3134 SUBTITLE_NONE,
3138 3135
libavutil/avutil.h+1−1
@@ -153,7 +153,7 @@ · 152 unmodified lines
153 */153 */
154 154
155#define LIBAVUTIL_VERSION_MAJOR 51155#define LIBAVUTIL_VERSION_MAJOR 51
156#define LIBAVUTIL_VERSION_MINOR 53156#define LIBAVUTIL_VERSION_MINOR 54
157#define LIBAVUTIL_VERSION_MICRO 100157#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, \
libavutil/pixfmt.h+3−0
@@ -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 *

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