Browse Source

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.
tags/n0.11
Stefano Sabatini 14 years ago
parent
commit
f2ee065638
4 changed files with 8 additions and 4 deletions
  1. +4
    -0
      doc/APIchanges
  2. +0
    -3
      libavcodec/avcodec.h
  3. +1
    -1
      libavutil/avutil.h
  4. +3
    -0
      libavutil/pixfmt.h

+ 4
- 0
doc/APIchanges View File

@@ -15,6 +15,10 @@ libavutil: 2011-04-18

API changes, most recent first:

2012-05-24 - xxxxxxx - lavu 51.54.100
Move AVPALETTE_SIZE and AVPALETTE_COUNT macros from
libavcodec/avcodec.h to libavutil/pixfmt.h.

2012-05-07 - xxxxxxx - lavf 54.5.100
Add av_guess_sample_aspect_ratio() function.



+ 0
- 3
libavcodec/avcodec.h View File

@@ -3130,9 +3130,6 @@ typedef struct AVPicture {
* @}
*/

#define AVPALETTE_SIZE 1024
#define AVPALETTE_COUNT 256

enum AVSubtitleType {
SUBTITLE_NONE,



+ 1
- 1
libavutil/avutil.h View File

@@ -153,7 +153,7 @@
*/

#define LIBAVUTIL_VERSION_MAJOR 51
#define LIBAVUTIL_VERSION_MINOR 53
#define LIBAVUTIL_VERSION_MINOR 54
#define LIBAVUTIL_VERSION_MICRO 100

#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \


+ 3
- 0
libavutil/pixfmt.h View File

@@ -29,6 +29,9 @@

#include "libavutil/avconfig.h"

#define AVPALETTE_SIZE 1024
#define AVPALETTE_COUNT 256

/**
* Pixel format.
*


Loading…
Cancel
Save