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 5E82346804 for ; Thu, 20 Jul 2023 11:40:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6942068C331; Thu, 20 Jul 2023 14:40:22 +0300 (EEST) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2F52F68C1EE for ; Thu, 20 Jul 2023 14:40:16 +0300 (EEST) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-3fbc5d5746cso5719735e9.2 for ; Thu, 20 Jul 2023 04:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kynesim-co-uk.20221208.gappssmtp.com; s=20221208; t=1689853215; x=1690458015; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fPlNqrlA59vIzgT/fCfW6ccV3TXrErwKNI54f7+3aVA=; b=2AC/ZGqV7h2fnAhb+83htdXHh4gGCkM/PfMRzeA0Vq6uQwI4lmm+Xu1DovoRTqmS2R QskXzE0CmiRJ15UnBXQmykzkPz8TqhXepfc2XRiJguLhOCJ7JUlLm0PWSC/Hjr26bMV6 rmvcNT2qNijXbWj6yqDY0ZYPkwg7Ec5ApR+wNpAaPM3A6AIEtax4uLHlO4Q1w0250W4x vtAItLK6ng5vGfXRDXHWVjzqSaSyKhyzv+hO/NOklCn25iLKRafWJ2J50kGntj/+1Gsl hUeZ3vZsIRQi2ixsuNWQDbYx4Wvv1mYgNS+0y8/xgRkV54U+70JkKYcf3NhvUujWK9PO U7zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689853215; x=1690458015; 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=fPlNqrlA59vIzgT/fCfW6ccV3TXrErwKNI54f7+3aVA=; b=BaLF+e4BXbzFpLFdJgFdL6kwqqvgaU8HALkFjdrOF69Txfgito+jhiPZOWYqGNlD1S hyJymacyHEWfqj34ywFow+uak+yAMRWcRAJcIyng2/UUiLvRVNoBSStQQDp3KERaVS/H rTM09vtzzTYbmOffNUSk0kYwOW1F79oS39gDSqGYG9d2/FuAmkERvSbHlIA2kyjt1J8B x1tLpdCNTO36CpJY8jkM60iD/415II0FTDBj9/UBYKyvwYKe7UMs9qJpzAbvv5pfbjcZ LTrhguByxyiqEyYbTIu+a0T9v6kxm7W8fZFuTWGcoONer6m+zawyQLkJG7jHjFBwjfSi sf4g== X-Gm-Message-State: ABy/qLa83gRb0tOuTy94WrrbPrqoU7K1C5gBXH0StiRWkdGo2PFXQ93m FRmr28d9W++TeaF8hMjZnZhsXdLP+mat13NnCro= X-Google-Smtp-Source: APBJJlGOjrtVFISNE79LbWiHyJIT/OdHYG7R2vA+uj9MOtTPWXBvTCzKkfPXd5T9Wj40JSPGgFcg0A== X-Received: by 2002:a1c:4b1a:0:b0:3f9:846:d892 with SMTP id y26-20020a1c4b1a000000b003f90846d892mr6714481wma.9.1689853215166; Thu, 20 Jul 2023 04:40:15 -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 24-20020a05600c025800b003fbfea1afffsm964048wmj.27.2023.07.20.04.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 04:40:14 -0700 (PDT) From: John Cox To: ffmpeg-devel@ffmpeg.org Date: Thu, 20 Jul 2023 11:39:54 +0000 Message-Id: <20230720113955.957942-1-jc@kynesim.co.uk> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 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. 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".