These originate from the Apple Vision Pro, and are documented here: https://developer.apple.com/documentation/coremedia/cmprojectiontype
Unified · Split
| @@ -2,6 +2,11 @@ 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-06-18 - xxxxxxxxxx - lavu 59.23.100 - spherical.h | |
| 6 | + Add AV_SPHERICAL_HALF_EQUIRECTANGULAR, AV_SPHERICAL_RECTILINEAR, and | |
| 7 | + AV_SPHERICAL_FISHEYE values to AVSphericalProjection, and initialize | |
| 8 | + to AV_SPHERICAL_RECTILINEAR on alloc. | |
| 9 | + | |
| 5 | 10 | 2024-06-13 - xxxxxxxxxx - lavu 59.22.100 - common.h |
| 6 | 11 | Deprecate av_mod_uintp2[_c]() and replace it with av_zero_extend[_c](). |
| 7 | 12 | |
| @@ -29,6 +29,8 @@ AVSphericalMapping *av_spherical_alloc(size_t *size) · 28 unmodified lines | ||
| 29 | 29 | if (!spherical) |
| 30 | 30 | return NULL; |
| 31 | 31 | |
| 32 | + spherical->projection = AV_SPHERICAL_RECTILINEAR; | |
| 33 | + | |
| 32 | 34 | if (size) |
| 33 | 35 | *size = sizeof(*spherical); |
| 34 | 36 | |
| @@ -57,6 +59,9 @@ static const char *const spherical_projection_names[] = { · 22 unmodified lines | ||
| 57 | 59 | [AV_SPHERICAL_EQUIRECTANGULAR] = "equirectangular", |
| 58 | 60 | [AV_SPHERICAL_CUBEMAP] = "cubemap", |
| 59 | 61 | [AV_SPHERICAL_EQUIRECTANGULAR_TILE] = "tiled equirectangular", |
| 62 | + [AV_SPHERICAL_HALF_EQUIRECTANGULAR] = "half equirectangular", | |
| 63 | + [AV_SPHERICAL_RECTILINEAR] = "rectilinear", | |
| 64 | + [AV_SPHERICAL_FISHEYE] = "fisheye", | |
| 60 | 65 | }; |
| 61 | 66 | |
| 62 | 67 | const char *av_spherical_projection_name(enum AVSphericalProjection projection) |
| @@ -66,6 +66,22 @@ enum AVSphericalProjection { · 65 unmodified lines | ||
| 66 | 66 | * the position of the current video in a larger surface. |
| 67 | 67 | */ |
| 68 | 68 | AV_SPHERICAL_EQUIRECTANGULAR_TILE, |
| 69 | + | |
| 70 | + /** | |
| 71 | + * Video frame displays as a 180 degree equirectangular projection. | |
| 72 | + */ | |
| 73 | + AV_SPHERICAL_HALF_EQUIRECTANGULAR, | |
| 74 | + | |
| 75 | + /** | |
| 76 | + * Video frame displays on a flat, rectangular 2D surface. | |
| 77 | + */ | |
| 78 | + AV_SPHERICAL_RECTILINEAR, | |
| 79 | + | |
| 80 | + /** | |
| 81 | + * Fisheye projection (Apple). | |
| 82 | + * See: https://developer.apple.com/documentation/coremedia/cmprojectiontype/fisheye | |
| 83 | + */ | |
| 84 | + AV_SPHERICAL_FISHEYE, | |
| 69 | 85 | }; |
| 70 | 86 | |
| 71 | 87 | /** |
| @@ -79,7 +79,7 @@ · 78 unmodified lines | ||
| 79 | 79 | */ |
| 80 | 80 | |
| 81 | 81 | #define LIBAVUTIL_VERSION_MAJOR 59 |
| 82 | −#define LIBAVUTIL_VERSION_MINOR 22 | |
| 82 | +#define LIBAVUTIL_VERSION_MINOR 23 | |
| 83 | 83 | #define LIBAVUTIL_VERSION_MICRO 100 |
| 84 | 84 | |
| 85 | 85 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |