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 F2290465F8 for ; Sat, 22 Jul 2023 16:42:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3E40768C5D7; Sat, 22 Jul 2023 19:42:27 +0300 (EEST) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8CDCC68C418 for ; Sat, 22 Jul 2023 19:42:21 +0300 (EEST) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-317009c0f9aso2573206f8f.0 for ; Sat, 22 Jul 2023 09:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kynesim-co-uk.20221208.gappssmtp.com; s=20221208; t=1690044141; x=1690648941; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Dg6pCTu16HACYfy+jAVlbVH9ZJWCJw4c0K7jEr8UCAE=; b=tvXfVXmMk+HQN6rtwFD5OWEpYZLnP/9gjDpSGYsB8FoREtxhP1t/TglSq9oHkn4UCk 2g5JMxyFueuzGmfBKiQ2cScRajnQT0vE7bVvqb/XQrwon8mefvFjk3iCPcKmXdHby5bU vOHBTdg3T9/m7eM+Ts3wVuUpd8UqSbF+QKA6OMwaASLY2sO83m9d3ffj8imFg03iiOET qeL4m065CuxGyh+fyI6c4kZwRJfHkYlDGIFDTFtvL0+yrrBRwQqScwf26EVSfrCGA+jB rTzrsXH0zG+WZ5rT9HscvtrAQfryaO9azvfEutjHyClxBwH6dUFFcD29+aUdCwxISdoN AwRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690044141; x=1690648941; 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=Dg6pCTu16HACYfy+jAVlbVH9ZJWCJw4c0K7jEr8UCAE=; b=Ns7EmH2efz/Utyejr6zpafGLaZrI5E19+j/ki41iyAE6S+SLrVmjAbqjY+0D6BReTa f6oT+Q6WdnainXIpicLdeS9kqnKONAITXclZGb4B0YHDl1y1uE+mieLJan4KOrDi+KGK JWg/T0dm0jyG2R5Zkqecq10mB27DMqD6fJRNxF3QTCEAMu/QZbjZ+bISEM6JtxdKktnT 0H2AJ/ksKXbwrlb6c048jJl+pMlYtDvKLWfZEmRV689YYHbEKkE9npOANJk7nkWgHSop Jzpsf/H2woTrpp3i6spT+jJ96HxsIg1J1XQE0BihMuJU3BvAywcDOC05CZSANB0RC34c uB0Q== X-Gm-Message-State: ABy/qLZ8y2iy/9ccK354ybUWVyocdkw31uDgQgxVvFCUg5BzUIgw3efD kUk8w8o55FkgLOV9EikoJcNtRmV5jyZbMjvtRKs= X-Google-Smtp-Source: APBJJlE9V1497QANJHa/LGdcdI6Bx+O2Jb+vDHQUN/o6qurvPsCZnoWyuVEVdGNHqc0KpsxEP7ARwg== X-Received: by 2002:adf:f0d1:0:b0:315:a74c:f627 with SMTP id x17-20020adff0d1000000b00315a74cf627mr4200051wro.16.1690044140594; Sat, 22 Jul 2023 09:42:20 -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 cr18-20020a05600004f200b003141a3c4353sm7298555wrb.30.2023.07.22.09.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jul 2023 09:42:20 -0700 (PDT) From: John Cox To: ffmpeg-devel@ffmpeg.org Date: Sat, 22 Jul 2023 16:41:56 +0000 Message-Id: <20230722164157.964161-1-jc@kynesim.co.uk> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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, george@nsup.org, 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 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".