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 A375246F1B for ; Sat, 22 Jul 2023 17:04:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4534468C624; Sat, 22 Jul 2023 20:04:20 +0300 (EEST) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 136EB68C02D for ; Sat, 22 Jul 2023 20:04:13 +0300 (EEST) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3143ccb0f75so2540439f8f.0 for ; Sat, 22 Jul 2023 10:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kynesim-co-uk.20221208.gappssmtp.com; s=20221208; t=1690045453; x=1690650253; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UCB6l19upbRvTwdeHQdya5bH4g6rAO2cpXSeydPSPKA=; b=mr/23lD/zI+vVlysD4dE6mrHG6a7xutoDMPEiNBg1ULPkVpG/DNx15dSULyCUrs60U HLRTo/GA0/ElibffX2+cdrG0gcKIIeUpC5On9ImkCM415OLS54RxhVu/Nwf0bXoj5QAM DPZOjKGL8RdSavQkhR9EXEgYEtCF2FyH9qDUkku/8Cxb8n/fjxkA1/ovpZq1z/YXCV6k gzD7+1zNnVUO/q9pJK0Y4URR5re05F5kaI8oshZzbJfV0tOXRjMed+CZ9M9TtD9GiH/M 2eFgtaftrapGFpsfh5rMVVizNwLMeDJuTnNNBtnRhKQ389s5eD64KbG09PpAGC6c1mVj fuNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690045453; x=1690650253; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UCB6l19upbRvTwdeHQdya5bH4g6rAO2cpXSeydPSPKA=; b=HHlIhLp9u3t83XztOxShEE1HWU+f82xzOEWPpiSODUgN8MFuoNQBHh3aAdabr1XGwp P3iFfDuzSCNq8t/PSGnkeQUOJoBc16RMuDfe++GXGL3VRyT1BlubUhyCNCWEBs7RbV/T ltNkzBloWr0HQBB8UVdGGBeD1tNHyuU5SahQX/FxMG2nLbQqVvqT8PK6HyMFiPGfxoMC Qn3Zxxj2cOa64UPvOT0cHLgcz1rYlu3jOjHRB/r397RF4icflzfEW0SElyKZxwEEwq0s PJsjyOiQdSNKCAaWQdQzrC0zgsvbMH6qEg4qEBIMATbHLm0R69Z7lV2t6PAUcL1qwZNH k/nQ== X-Gm-Message-State: ABy/qLbJvX3SVHYLT4WJtf4vO4xrdC2jFbFqa9kP9xR7T3IGYK6rhkio RAF28qdXrVbsZGr9HjLR+58woyn5LIz4sg1KJxk= X-Google-Smtp-Source: APBJJlEtqUMmnDaH3H4yA0bfp9f9giAXQ66UjnI9IBYgL28iXIAE3WSX6mjqRQFRDVBxIP4ZmxKnAA== X-Received: by 2002:a5d:67c4:0:b0:315:92ce:e218 with SMTP id n4-20020a5d67c4000000b0031592cee218mr4239138wrw.41.1690045453175; Sat, 22 Jul 2023 10:04:13 -0700 (PDT) Received: from sucnaath.outer.uphall.net (cpc1-cmbg20-2-0-cust759.5-4.cable.virginm.net. [86.21.218.248]) by smtp.gmail.com with ESMTPSA id y13-20020a05600c364d00b003fbb25da65bsm5726449wmq.30.2023.07.22.10.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jul 2023 10:04:12 -0700 (PDT) From: John Cox To: ffmpeg-devel@ffmpeg.org Date: Sat, 22 Jul 2023 17:03:56 +0000 Message-Id: <20230722170357.964313-1-jc@kynesim.co.uk> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 0/1] avfilter/buffersink: Add user video frame allocation 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 Cc: stefasab@gmail.com, John Cox 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: This patch adds the ability for the user to allocate frames rather than being forced to use avfilters default allocator. This useful for applications like Kodi that wish to be able to control how the final filter stage frame is allocated so that it is compatible with whatever it wishes to do next e.g. allocate a dmabuf backed frame for direct display via DRM. This is similar to the facility provided by get_buffer2 in avcodec. Changes from v1: Style fixes - but for real this time John Cox (1): avfilter/buffersink: Add video frame allocation callback libavfilter/buffersink.c | 21 +++++++++++++++++++++ libavfilter/buffersink.h | 27 +++++++++++++++++++++++++++ libavfilter/version.h | 2 +- 3 files changed, 49 insertions(+), 1 deletion(-) -- 2.39.2 _______________________________________________ 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".