Unified · Split
| @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07 · 1 unmodified line | ||
| 2 | 2 | |
| 3 | 3 | API changes, most recent first: |
| 4 | 4 | |
| 5 | +2024-10-23 - xxxxxxxxxx - lavu 59.45.100 - pixfmt.h | |
| 6 | + Add AV_PIX_FMT_Y216. | |
| 7 | + | |
| 5 | 8 | 2024-10-15 - xxxxxxxxxx - lavu 59.44.100 - pixfmt.h |
| 6 | 9 | Add AV_PIX_FMT_RGB96 and AV_PIX_FMT_RGBA128. |
| 7 | 10 | |
| @@ -2948,6 +2948,29 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 2947 unmodified lines | ||
| 2948 | 2948 | }, |
| 2949 | 2949 | .flags = AV_PIX_FMT_FLAG_PLANAR, |
| 2950 | 2950 | }, |
| 2951 | + [AV_PIX_FMT_Y216LE] = { | |
| 2952 | + .name = "y216le", | |
| 2953 | + .nb_components = 3, | |
| 2954 | + .log2_chroma_w = 1, | |
| 2955 | + .log2_chroma_h = 0, | |
| 2956 | + .comp = { | |
| 2957 | + { 0, 4, 0, 0, 16 }, /* Y */ | |
| 2958 | + { 0, 8, 2, 0, 16 }, /* U */ | |
| 2959 | + { 0, 8, 6, 0, 16 }, /* V */ | |
| 2960 | + }, | |
| 2961 | + }, | |
| 2962 | + [AV_PIX_FMT_Y216BE] = { | |
| 2963 | + .name = "y216be", | |
| 2964 | + .nb_components = 3, | |
| 2965 | + .log2_chroma_w = 1, | |
| 2966 | + .log2_chroma_h = 0, | |
| 2967 | + .comp = { | |
| 2968 | + { 0, 4, 0, 0, 16 }, /* Y */ | |
| 2969 | + { 0, 8, 2, 0, 16 }, /* U */ | |
| 2970 | + { 0, 8, 6, 0, 16 }, /* V */ | |
| 2971 | + }, | |
| 2972 | + .flags = AV_PIX_FMT_FLAG_BE, | |
| 2973 | + }, | |
| 2951 | 2974 | }; |
| 2952 | 2975 | |
| 2953 | 2976 | static const char * const color_range_names[] = { |
| @@ -457,6 +457,9 @@ enum AVPixelFormat { · 456 unmodified lines | ||
| 457 | 457 | AV_PIX_FMT_RGB96BE, ///< packed RGBA 32:32:32, 96bpp, RGBRGB..., big-endian |
| 458 | 458 | AV_PIX_FMT_RGB96LE, ///< packed RGBA 32:32:32, 96bpp, RGBRGB..., little-endian |
| 459 | 459 | |
| 460 | + AV_PIX_FMT_Y216BE, ///< packed YUV 4:2:2 like YUYV422, 32bpp, big-endian | |
| 461 | + AV_PIX_FMT_Y216LE, ///< packed YUV 4:2:2 like YUYV422, 32bpp, little-endian | |
| 462 | + | |
| 460 | 463 | AV_PIX_FMT_NB ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions |
| 461 | 464 | }; |
| 462 | 465 | |
| @@ -549,6 +552,7 @@ enum AVPixelFormat { · 86 unmodified lines | ||
| 549 | 552 | |
| 550 | 553 | #define AV_PIX_FMT_Y210 AV_PIX_FMT_NE(Y210BE, Y210LE) |
| 551 | 554 | #define AV_PIX_FMT_Y212 AV_PIX_FMT_NE(Y212BE, Y212LE) |
| 555 | +#define AV_PIX_FMT_Y216 AV_PIX_FMT_NE(Y216BE, Y216LE) | |
| 552 | 556 | #define AV_PIX_FMT_XV30 AV_PIX_FMT_NE(XV30BE, XV30LE) |
| 553 | 557 | #define AV_PIX_FMT_XV36 AV_PIX_FMT_NE(XV36BE, XV36LE) |
| 554 | 558 | #define AV_PIX_FMT_V30X AV_PIX_FMT_NE(V30XBE, V30XLE) |
| @@ -50,6 +50,7 @@ static const enum AVPixelFormat packed_list[] = { · 49 unmodified lines | ||
| 50 | 50 | AV_PIX_FMT_XV36, |
| 51 | 51 | AV_PIX_FMT_XV30, |
| 52 | 52 | AV_PIX_FMT_VUYX, |
| 53 | + AV_PIX_FMT_Y216, | |
| 53 | 54 | AV_PIX_FMT_Y212, |
| 54 | 55 | AV_PIX_FMT_Y210, |
| 55 | 56 | AV_PIX_FMT_YUYV422, |
| @@ -210,6 +211,7 @@ int main(void) · 154 unmodified lines | ||
| 210 | 211 | TEST_PACKED(AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUYV422); |
| 211 | 212 | TEST_PACKED(AV_PIX_FMT_YUV422P10, AV_PIX_FMT_Y210); |
| 212 | 213 | TEST_PACKED(AV_PIX_FMT_YUV422P12, AV_PIX_FMT_Y212); |
| 214 | + TEST_PACKED(AV_PIX_FMT_YUV422P16, AV_PIX_FMT_Y216); | |
| 213 | 215 | |
| 214 | 216 | #define TEST_SUBSAMPLED(input, expected) \ |
| 215 | 217 | test(input, expected, &pass, &fail, find_best_subsampled) |
| @@ -79,7 +79,7 @@ · 78 unmodified lines | ||
| 79 | 79 | */ |
| 80 | 80 | |
| 81 | 81 | #define LIBAVUTIL_VERSION_MAJOR 59 |
| 82 | −#define LIBAVUTIL_VERSION_MINOR 44 | |
| 82 | +#define LIBAVUTIL_VERSION_MINOR 45 | |
| 83 | 83 | #define LIBAVUTIL_VERSION_MICRO 100 |
| 84 | 84 | |
| 85 | 85 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |
| @@ -280,6 +280,8 @@ rgba128be planes: 1, linesizes: 1024 0 0 0, plane_sizes: 49152 0 · 279 unmodified lines | ||
| 280 | 280 | rgba128le planes: 1, linesizes: 1024 0 0 0, plane_sizes: 49152 0 0 0, plane_offsets: 0 0 0, total_size: 49152 |
| 281 | 281 | rgb96be planes: 1, linesizes: 768 0 0 0, plane_sizes: 36864 0 0 0, plane_offsets: 0 0 0, total_size: 36864 |
| 282 | 282 | rgb96le planes: 1, linesizes: 768 0 0 0, plane_sizes: 36864 0 0 0, plane_offsets: 0 0 0, total_size: 36864 |
| 283 | +y216be planes: 1, linesizes: 256 0 0 0, plane_sizes: 12288 0 0 0, plane_offsets: 0 0 0, total_size: 12288 | |
| 284 | +y216le planes: 1, linesizes: 256 0 0 0, plane_sizes: 12288 0 0 0, plane_offsets: 0 0 0, total_size: 12288 | |
| 283 | 285 | |
| 284 | 286 | image_fill_black tests |
| 285 | 287 | yuv420p total_size: 4608, black_unknown_crc: 0xd00f6cc6, black_tv_crc: 0xd00f6cc6, black_pc_crc: 0x234969af |
| @@ -507,3 +509,5 @@ rgba128be total_size: 49152, black_unknown_crc: 0x59ef499b, black_tv_cr · 221 unmodified lines | ||
| 507 | 509 | rgba128le total_size: 49152, black_unknown_crc: 0x59ef499b, black_tv_crc: 0x59ef499b, black_pc_crc: 0x59ef499b |
| 508 | 510 | rgb96be total_size: 36864, black_unknown_crc: 0x00000000, black_tv_crc: 0x00000000, black_pc_crc: 0x00000000 |
| 509 | 511 | rgb96le total_size: 36864, black_unknown_crc: 0x00000000, black_tv_crc: 0x00000000, black_pc_crc: 0x00000000 |
| 512 | +y216be total_size: 12288, black_unknown_crc: 0x5483d935, black_tv_crc: 0x5483d935, black_pc_crc: 0x06397bf3 | |
| 513 | +y216le total_size: 12288, black_unknown_crc: 0x5d8e1cf6, black_tv_crc: 0x5d8e1cf6, black_pc_crc: 0x8fceec45 | |
| @@ -1 +1 @@ | ||
| 1 | −109 tests passed, 0 tests failed. | |
| 1 | +111 tests passed, 0 tests failed. | |
| @@ -25,6 +25,8 @@ is16BPS: · 24 unmodified lines | ||
| 25 | 25 | rgbaf16le |
| 26 | 26 | rgbf16be |
| 27 | 27 | rgbf16le |
| 28 | + y216be | |
| 29 | + y216le | |
| 28 | 30 | ya16be |
| 29 | 31 | ya16le |
| 30 | 32 | yuv420p16be |
| @@ -195,6 +197,7 @@ isBE: · 164 unmodified lines | ||
| 195 | 197 | xyz12be |
| 196 | 198 | y210be |
| 197 | 199 | y212be |
| 200 | + y216be | |
| 198 | 201 | ya16be |
| 199 | 202 | yuv420p10be |
| 200 | 203 | yuv420p12be |
| @@ -272,6 +275,8 @@ isYUV: · 71 unmodified lines | ||
| 272 | 275 | y210le |
| 273 | 276 | y212be |
| 274 | 277 | y212le |
| 278 | + y216be | |
| 279 | + y216le | |
| 275 | 280 | ya16be |
| 276 | 281 | ya16le |
| 277 | 282 | ya8 |
| @@ -876,6 +881,8 @@ Packed: · 598 unmodified lines | ||
| 876 | 881 | y210le |
| 877 | 882 | y212be |
| 878 | 883 | y212le |
| 884 | + y216be | |
| 885 | + y216le | |
| 879 | 886 | ya16be |
| 880 | 887 | ya16le |
| 881 | 888 | ya8 |