History

avutil/pixfmt: Add AV_VIDEO_MAX_PLANES

It seems we do not have a named identifier for the maximum planes of pixel formats

Michael Niedermayer committed 2 years ago

Commit eea9bd81 parent 66b50443 files · +11 −1Browse files

Unified · Split

3 files
  1. doc/APIchanges +3 −0
  2. libavutil/pixfmt.h +7 −0
  3. libavutil/version.h +1 −1
doc/APIchanges+3−0
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line
2 2
3API changes, most recent first:3API changes, most recent first:
4 4
52024-02-16 - xxxxxxxxxx - lavu 58.39.100 - pixfmt.h
6 Add AV_VIDEO_MAX_PLANES
7
52024-02-13 - xxxxxxxxxx - lavf 60.21.100 - avformat.h82024-02-13 - xxxxxxxxxx - lavf 60.21.100 - avformat.h
6 Add AVStreamGroup.disposition.9 Add AVStreamGroup.disposition.
7 10
libavutil/pixfmt.h+7−0
@@ -32,6 +32,13 @@ · 31 unmodified lines
32#define AVPALETTE_SIZE 102432#define AVPALETTE_SIZE 1024
33#define AVPALETTE_COUNT 25633#define AVPALETTE_COUNT 256
34 34
35/**
36 * Maximum number of planes in any pixel format.
37 * This should be used when a maximum is needed, but code should not
38 * be written to require a maximum for no good reason.
39 */
40#define AV_VIDEO_MAX_PLANES 4
41
35/**42/**
36 * Pixel format.43 * Pixel format.
37 *44 *
libavutil/version.h+1−1
@@ -79,7 +79,7 @@ · 78 unmodified lines
79 */79 */
80 80
81#define LIBAVUTIL_VERSION_MAJOR 5881#define LIBAVUTIL_VERSION_MAJOR 58
82#define LIBAVUTIL_VERSION_MINOR 3882#define LIBAVUTIL_VERSION_MINOR 39
83#define LIBAVUTIL_VERSION_MICRO 10083#define LIBAVUTIL_VERSION_MICRO 100
84 84
85#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \85#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \

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