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 C70C846F70 for ; Sun, 23 Jul 2023 19:16:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DB5E068C707; Sun, 23 Jul 2023 22:16:37 +0300 (EEST) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 85DA568BD00 for ; Sun, 23 Jul 2023 22:16:31 +0300 (EEST) Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6b9ed0831bcso2810101a34.0 for ; Sun, 23 Jul 2023 12:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690139789; x=1690744589; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Uc5S9lJm8cx1ejqOhst/kwO80y6+VZTin121hwYZf0c=; b=gTI+kuipB7QZ40H24PfQWIr8zKZZEBzDszRAxRivr/3h34i4cB07leCMVxxq2E9bYy wYrWLDLbXEmFjO1cvFJBXTPR2FgN6Sue4oZSi01EaLllfY30FkyYukgyqEvL8GjMTIpT 3swNsWM8lfLaNjxjWLeotSDdxzVo78EUNJ8ESqczC4RzQjAMyakgLiICo58mJF9xXXQC JdJCmpe+sjwkZ9Q7i+AD8G89KHeFebI68ethsSRyJK6u5B5iiuYLZHn8esCbnuOCxCsn i4QbPv5QITMXhUuwvKMzrVG6WUhASEa0AGmmE/ZpLQvjkf7veu6EtvlLF81jEWb7YCbk 279w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690139789; x=1690744589; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Uc5S9lJm8cx1ejqOhst/kwO80y6+VZTin121hwYZf0c=; b=PdTrBKMsqJGk59CC1lAkweuz1KVIc4WFU7T7jynJAgWfVO9DEr5uGjW7UZXoi5lAug DYTfdUj6y4JvVxVc6zqplfL+V+Q8KGBSA42OzyEqdGJW00rG3MMWujPEuFg/oBhwOYYb IllqV/70mi2QVbWsFkQB8tWrvwlmiRphoNyFIov3ztwUbPxSzhbNqazz0m3rmbSy5xQS AcZuw0WK8R+ydbSmfKyOYNSeomeg8tqcf18ct3xOxiBM78IgWBHsNDE92l4+1tgBDho0 QL/RejwKVXKcC1DessEAa2UbnZCtPee5xeBW/PZVkz3LNLzIdXSQm+DjxIUS1S93eSYE S5Zw== X-Gm-Message-State: ABy/qLanpaKxUzZ9FKjnQ4Oi19ABrGSq4IOC7T7W6IOBxQ9uyXwyXxm8 eW/mZfaY9tgoLFeYIxvmYqVZC2shTJw= X-Google-Smtp-Source: APBJJlEPPZpiKP28GY9OxRpWDbAOYEM6vvXt0oTzqUUEHv8DfSczVy6M6mlkf635iXwxxpWqZVrq3Q== X-Received: by 2002:a05:6870:6124:b0:1b4:685d:55e4 with SMTP id s36-20020a056870612400b001b4685d55e4mr10040479oae.39.1690139789252; Sun, 23 Jul 2023 12:16:29 -0700 (PDT) Received: from [192.168.0.16] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id w44-20020a4a97af000000b0051134f333d3sm3694285ooi.16.2023.07.23.12.16.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Jul 2023 12:16:28 -0700 (PDT) Message-ID: <6288c203-38eb-7135-10d7-7f893545b8fd@gmail.com> Date: Sun, 23 Jul 2023 16:16:41 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230722170357.964313-1-jc@kynesim.co.uk> <20230722170357.964313-2-jc@kynesim.co.uk> <48dc91a8-5da0-d074-386d-4a095651afaa@gmail.com> From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH v3 1/1] avfilter/buffersink: Add video frame allocation callback 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 7/23/2023 4:06 PM, Nicolas George wrote: > James Almer (12023-07-23): >> Does the AVBuffersinkAllocVideoFrameFunc function have access to the >> AVFilterLink ff_default_get_video_buffer() gets? I assume it'd be needed to >> get values like pixel format. If so, it should be documented how, but maybe >> it's easier to just pass link here instead of the AVFilterContext, and let >> the caller access link->dst if needed. > > The API of buffersink already exposes all the necessary format > information. What about when FF_FILTER_FLAG_HWFRAME_AWARE filters are present in the graph? hw_frames_ctx from AVFilterLink can't be accessed from outside lavfi. Is vf_hwdownload meant to be added to the graph before buffersink? _______________________________________________ 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".