Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: James Almer <jamrial@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 0/2] Support the new APMP boxes and spherical metadata
Date: Mon, 28 Jul 2025 22:58:56 -0300
Message-ID: <4910d8ba-71c4-43d2-8b63-430d467f296e@gmail.com> (raw)
In-Reply-To: <CABLWnS8ttLE9vQXM=miobiaNzRiErT3NW+D6HzxTq23diLb0Cw@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 2404 bytes --]

On 7/28/2025 10:50 PM, Vittorio Giovara wrote:
> From a244d96e045439f9e3a4db99e2f479e8686221da Mon Sep 17 00:00:00 2001
> From: Vittorio Giovara <vittorio.giovara@gmail.com>
> Date: Wed, 23 Jul 2025 23:42:14 +0200
> Subject: [PATCH 2/2] lavu/spherical: Add support for Spherical Immersive type
> 
> ---
>  libavformat/mov.c     | 3 +++
>  libavutil/spherical.c | 1 +
>  libavutil/spherical.h | 6 ++++++
>  3 files changed, 10 insertions(+)
> 
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index 7c91322027..eeb406609c 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -6860,6 +6860,9 @@ static int mov_read_vexu_proj(MOVContext *c, AVIOContext *pb, MOVAtom atom)
>      case MKTAG('f','i','s','h'):
>          projection = AV_SPHERICAL_FISHEYE;
>          break;
> +    case MKTAG('p','r','i','m'):
> +        projection = AV_SPHERICAL_PARAMETRIC_IMMERSIVE;
> +        break;
>      default:
>          av_log(c->fc, AV_LOG_ERROR, "Invalid projection type in prji box: 0x%08X\n", tag);
>          return AVERROR_INVALIDDATA;

This should be its own separate commit.

> diff --git a/libavutil/spherical.c b/libavutil/spherical.c
> index 64ade1d0ec..71342faea9 100644
> --- a/libavutil/spherical.c
> +++ b/libavutil/spherical.c
> @@ -62,6 +62,7 @@ static const char *const spherical_projection_names[] = {
>      [AV_SPHERICAL_HALF_EQUIRECTANGULAR] = "half equirectangular",
>      [AV_SPHERICAL_RECTILINEAR]          = "rectilinear",
>      [AV_SPHERICAL_FISHEYE]              = "fisheye",
> +    [AV_SPHERICAL_PARAMETRIC_IMMERSIVE] = "parametric immersive",
>  };
>  
>  const char *av_spherical_projection_name(enum AVSphericalProjection projection)
> diff --git a/libavutil/spherical.h b/libavutil/spherical.h
> index 2e90f7752d..4b78978eb9 100644
> --- a/libavutil/spherical.h
> +++ b/libavutil/spherical.h
> @@ -82,6 +82,12 @@ enum AVSphericalProjection {
>       * See: https://developer.apple.com/documentation/coremedia/cmprojectiontype/fisheye
>       */
>      AV_SPHERICAL_FISHEYE,
> +
> +    /**
> +     * Parametric Immersive projection (Apple).
> +     * See: https://developer.apple.com/documentation/coremedia/cmprojectiontype/parametricimmersive
> +     */
> +    AV_SPHERICAL_PARAMETRIC_IMMERSIVE,

Missing minor version bump and APIChanges entry, LGTM otherwise.

>  };
>  
>  /**
> -- 
> 2.50.0
> 

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

      reply	other threads:[~2025-07-29  1:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-23 22:13 Vittorio Giovara
2025-07-29  1:50 ` Vittorio Giovara
2025-07-29  1:58   ` James Almer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4910d8ba-71c4-43d2-8b63-430d467f296e@gmail.com \
    --to=jamrial@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git