Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Carotti, Elias" <eliascrt@amazon.it>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] lavu: add AVVideoHint API
Date: Mon, 10 Jul 2023 08:13:31 +0000
Message-ID: <bbd2c3fb1b3a495b95db6abfd6d6e67d@amazon.it> (raw)
In-Reply-To: <NZulhgE--3-9@lynne.ee>



-----Original Message-----
From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Lynne
Sent: Sunday, July 9, 2023 3:11 PM
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: RE: [EXTERNAL][FFmpeg-devel] [PATCH] lavu: add AVVideoHint API

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Jul 9, 2023, 13:05 by anton@khirnov.net:

> From: Elias Carotti <eliascrt _at_ amazon _dot_ it>
>
> Add side data type to provide hint to the video encoders about 
> unchanged portions of each frame.
>
> Signed-off-by: Anton Khirnov <anton@khirnov.net>
> ---
> I've made couple small changes:
> * rebased against current master
> * consistently refer to rectangles or AVVideoRect, not blocks
> * use size_t instead of int for AVVideoHint.nb_rects
> * build unconditionally -- this is public API, it must always be  
> available regardless of what encoders are or are not available
> * tweaked documentation
>
> If you have no objections to the changes, I'll push this in a few days.
> ---
>  doc/APIchanges         |   3 ++
>  libavutil/Makefile     |   2 +
>  libavutil/frame.h      |  10 ++++
>  libavutil/version.h    |   2 +-
>  libavutil/video_hint.c |  82 +++++++++++++++++++++++++++++++  
> libavutil/video_hint.h | 108 +++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 206 insertions(+), 1 deletion(-)  create mode 100644 
> libavutil/video_hint.c  create mode 100644 libavutil/video_hint.h
>

AVVideoHint is a bad name for something like this.
Could you borrow some wording from graphics and call it AVVideoDamagedHint or maybe AVVideoChangedAreaHint or a combination of both?
I'd prefer the former, damage is standard language in graphics circles about what has changed since the last frame.

Hi,
I have no strong objections on this. Personally I also like the AVVideoDamagedHint name best, my only concern is that it is strictly related to the current use/implementation 
(it's true right now that's the only kind of hint) while it may turn out to be a bad naming decision should other forms of hinting for the encoder be added in the future.
That said, I am fine with the change too.
Elias

_______________________________________________
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".



NICE SRL, viale Monte Grappa 3/5, 20124 Milano, Italia, Registro delle Imprese di Milano Monza Brianza Lodi REA n. 2096882, Capitale Sociale: 10.329,14 EUR i.v., Cod. Fisc. e P.IVA 01133050052, Societa con Socio Unico



_______________________________________________
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:[~2023-07-10  8:13 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19 10:19 [FFmpeg-devel] [PATCH] Optimization: support for libx264's mb_info Carotti, Elias
2023-05-21 23:17 ` Stefano Sabatini
2023-05-22  9:19   ` Carotti, Elias
2023-05-29 17:56     ` Carotti, Elias
2023-06-04 15:29       ` Stefano Sabatini
2023-06-05 15:32         ` Carotti, Elias
2023-06-11 17:15           ` Stefano Sabatini
2023-06-12  8:23             ` Kieran Kunhya
2023-06-12 17:38               ` Carotti, Elias
2023-06-18 10:04                 ` Stefano Sabatini
2023-06-12 17:28             ` Carotti, Elias
2023-06-18 10:18               ` Stefano Sabatini
2023-06-21 15:53                 ` Carotti, Elias
2023-06-22  8:44                   ` Anton Khirnov
2023-06-22 17:23                     ` Carotti, Elias
2023-06-24 11:01                       ` Anton Khirnov
2023-06-26  9:50                         ` Carotti, Elias
2023-06-28 12:55                           ` Anton Khirnov
2023-06-30 17:40                             ` Carotti, Elias
2023-07-01  8:33                               ` Anton Khirnov
2023-07-03 15:51                                 ` Carotti, Elias
2023-07-07 16:27                                   ` Carotti, Elias
2023-07-09 11:05                                     ` [FFmpeg-devel] [PATCH] lavu: add AVVideoHint API Anton Khirnov
2023-07-09 13:10                                       ` Lynne
2023-07-10  8:13                                         ` Carotti, Elias [this message]
2023-07-10 12:51                                           ` Carotti, Elias
2023-07-17 22:19                                             ` Stefano Sabatini
2023-07-23 23:27                                               ` Stefano Sabatini
2023-07-26 10:52                                                 ` Carotti, Elias
2023-07-28  7:44                                                   ` Stefano Sabatini
2023-08-02  5:36                                                     ` Stefano Sabatini
2023-08-08  8:16                                                       ` Stefano Sabatini
2023-07-10  8:09                                       ` Carotti, Elias

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=bbd2c3fb1b3a495b95db6abfd6d6e67d@amazon.it \
    --to=eliascrt@amazon.it \
    --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