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
22
33 API changes, most recent first:
44
5+2024-02-16 - xxxxxxxxxx - lavu 58.39.100 - pixfmt.h
6+ Add AV_VIDEO_MAX_PLANES
7+
58 2024-02-13 - xxxxxxxxxx - lavf 60.21.100 - avformat.h
69 Add AVStreamGroup.disposition.
710
libavutil/pixfmt.h+7−0
@@ -32,6 +32,13 @@ · 31 unmodified lines
3232 #define AVPALETTE_SIZE 1024
3333 #define AVPALETTE_COUNT 256
3434
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+
3542 /**
3643 * Pixel format.
3744 *
libavutil/version.h+1−1
@@ -79,7 +79,7 @@ · 78 unmodified lines
7979 */
8080
8181 #define LIBAVUTIL_VERSION_MAJOR 58
82−#define LIBAVUTIL_VERSION_MINOR 38
82+#define LIBAVUTIL_VERSION_MINOR 39
8383 #define LIBAVUTIL_VERSION_MICRO 100
8484
8585 #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