From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 8856346D11 for ; Sun, 9 Jul 2023 13:11:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A088268C646; Sun, 9 Jul 2023 16:11:05 +0300 (EEST) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7C04E68C5C8 for ; Sun, 9 Jul 2023 16:10:59 +0300 (EEST) Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id 610721060148 for ; Sun, 9 Jul 2023 13:10:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1688908258; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=X3QiG2bs8W6onZWd1suNA2kTknknlPTPlUHmBWR4RG0=; b=hz6yocAoeVhwMC+gHGBLkrCZeVfpRx2xRBH6e9cun3prZqmilK7t5pCgNiEDvcwm oyMNDiqVR/GVtfEPa2GcS0CtJv7UMko9LdynjgCndhcQ33Js97uDDfIduq5HyYQEini EAXFDsaCinb1yGViSQjxIGUBmBAarQXMzIPysJ5NZw1tofext3LYe3lvlFlGbr37oh/ 3y0nC4j9MWLXc4xy9zLx4AnF1/LQ3Pu/4SJfbgsrJ5by4LrXY3C/l1oRLBEHKSEKB1y DEYI2pFdcc98iwyeiNdBjvXtToVD0b70b8K9u0fGBCdGDvcKas0X6hW58FyhWFYPveA 84h2rBe4QQ== Date: Sun, 9 Jul 2023 15:10:58 +0200 (CEST) From: Lynne To: FFmpeg development discussions and patches Message-ID: In-Reply-To: <20230709110529.29490-1-anton@khirnov.net> References: <168742346237.21886.2119907118968452752@lain.khirnov.net> <168760449144.21886.5224052304919615682@lain.khirnov.net> <2fe8e0027d33c25e2de01e57ea1dd7b0cef300bf.camel@amazon.it> <168795695865.21886.2879227621245771333@lain.khirnov.net> <168820043273.21886.17648463695363628461@lain.khirnov.net> <20230709110529.29490-1-anton@khirnov.net> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] lavu: add AVVideoHint API X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Jul 9, 2023, 13:05 by anton@khirnov.net: > From: Elias Carotti > > Add side data type to provide hint to the video encoders about unchanged > portions of each frame. > > Signed-off-by: Anton Khirnov > --- > 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. _______________________________________________ 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".