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-at-gmail.com@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 1/7] avutil: add an API to handle 3D Reference Displays Information
Date: Mon, 16 Jun 2025 09:55:58 -0300
Message-ID: <ad6d5243-4cb0-42bf-813a-9e58d0ad0a43@gmail.com> (raw)
In-Reply-To: <b571541f-ec0f-415f-9b1d-0a80cf06ef28@rothenpieler.org>


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

On 6/16/2025 9:38 AM, Timo Rothenpieler wrote:
> On 13/06/2025 16:07, Timo Rothenpieler wrote:
>> On 10/06/2025 00:09, Andreas Rheinhardt wrote:
>>> James Almer:
>>>> On 6/9/2025 5:59 PM, Timo Rothenpieler wrote:
>>>>> On 08.06.2025 17:45, James Almer wrote:
>>>>>> On 6/8/2025 11:29 AM, Andreas Rheinhardt wrote:
>>>>>>> Timo Rothenpieler:
>>>>>>>> From: James Almer <jamrial@gmail.com>
>>>>>>>>
>>>>>>> I don't like that you add another allocator for this; instead we 
>>>>>>> should
>>>>>>> add a generic allocator for the frame side-data types.
>>>>>>
>>>>>> Wont work for packet side data. And i purposely didn't add yet
>>>>>> another allocator that inserts the result into a frame, like there's
>>>>>> in so many other modules, because eventually the generic one would be
>>>>>> introduced.
>>>>>>
>>>>>> You said you wanted to take over my work on the generic allocator,
>>>>>> but not sure if you did anything with it. The core issue was handling
>>>>>> more complex types that didn't just have an extra nb_blocks argument.
>>>>>
>>>>> So, what is the conclusion here?
>>>>> I'd like to push this set if you can come to an agreement.
>>>>>
>>>>> I haven't looked into it much, but implementing av_tdrdi_alloc() in a
>>>>> generic way does seem a bit hacky. And other types might need even
>>>>> more info for the allocation.
>>>>
>>>> The set LGTM. A custom frame side data allocator does not imply an
>>>> allocator is required for this struct. Frames are not the only user.
>>>>
>>>
>>> I was thinking about a generic side data allocator (for the
>>> AVFrameSideDataType stuff, but it is not meant to be AVFrame specific),
>>> so that it can be used by more than just AVFrames. Will write one 
>>> tomorrow.
>>
>> Would you be okay to for now pushing this with the API turned into an 
>> internal one, so the public API can then be decided and implemented 
>> later?
> 
> Will apply soon with the new public APIs turned into an ff_ symbol.
No, the allocator is required, and an internal function like you suggest 
would need a separate internal header, and will make the struct 
virtually unusable outside lavu for non frame side data users.


[-- 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-06-16 12:56 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-07 21:34 Timo Rothenpieler
2025-06-07 21:34 ` [FFmpeg-devel] [PATCH 2/7] avutil/frame: add a 3D Reference Displays Information side data type Timo Rothenpieler
2025-06-07 21:34 ` [FFmpeg-devel] [PATCH 3/7] avcodec/packet: " Timo Rothenpieler
2025-06-07 21:34 ` [FFmpeg-devel] [PATCH 4/7] avformat/dump: add support for 3D Reference Displays Information side data Timo Rothenpieler
2025-06-07 21:34 ` [FFmpeg-devel] [PATCH 5/7] avfilter/vf_showinfo: " Timo Rothenpieler
2025-06-07 21:34 ` [FFmpeg-devel] [PATCH 6/7] avcodec/hevc/hevcdec: export 3D Reference Displays " Timo Rothenpieler
2025-06-07 21:34 ` [FFmpeg-devel] [PATCH 7/7] avcodec/nvenc: add MV-HEVC encoding support Timo Rothenpieler
2025-06-08 12:25   ` Timo Rothenpieler
2025-06-08 14:17     ` Andreas Rheinhardt
2025-06-08 14:23       ` Timo Rothenpieler
2025-06-08 14:29 ` [FFmpeg-devel] [PATCH 1/7] avutil: add an API to handle 3D Reference Displays Information Andreas Rheinhardt
2025-06-08 15:45   ` James Almer
2025-06-09 20:59     ` Timo Rothenpieler
2025-06-09 21:08       ` James Almer
2025-06-09 22:09         ` Andreas Rheinhardt
2025-06-13 14:07           ` Timo Rothenpieler
2025-06-16 12:38             ` Timo Rothenpieler
2025-06-16 12:55               ` James Almer [this message]
2025-06-16 17:26                 ` Timo Rothenpieler
2025-06-16 17:31                   ` James Almer
2025-06-16 18:26                   ` Andreas Rheinhardt
2025-06-16 12:54           ` James Almer

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=ad6d5243-4cb0-42bf-813a-9e58d0ad0a43@gmail.com \
    --to=jamrial-at-gmail.com@ffmpeg.org \
    --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