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 C5F644B182 for ; Thu, 30 May 2024 14:33:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A886868D377; Thu, 30 May 2024 17:33:42 +0300 (EEST) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6A75968C402 for ; Thu, 30 May 2024 17:33:36 +0300 (EEST) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-6c1a359ee2bso321797a12.3 for ; Thu, 30 May 2024 07:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717079614; x=1717684414; darn=ffmpeg.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=DeGr1yHTNh0NKGg63DYAhuDmt1o9/1gVCqnQKTGX/Nk=; b=AXt1XBeP6JOrH+5JUATMSzPwxpYoay0QvBbMFbZ7YB2RBzBo7HnC5ZvOwcFr3hVTHT b8O4BCrBsN9xasLfHyFZQ7ndnhnI9ZoBk19Kahddej9QYXMDf3pATYjILvnt7H9Y22eK 2w+k0uOGBnJmxyN42mABO0LuUnL85EtjXH+sAgFjF9P++AwPuz9LAGbcbl98bqzJbQ6T MCHoq1d0pON4iabJcJEdQiBe8FhKarz+Cr8ALpt9ntcc9NR2FSBAnoC7XxvIsu2ygxZh 8f21SQirOYPc5HOD/Cz5OiaMGAN4d4rtgL46GB3g7f14e60e4LU9XS78nUtMqt4jdPmo 66Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717079614; x=1717684414; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DeGr1yHTNh0NKGg63DYAhuDmt1o9/1gVCqnQKTGX/Nk=; b=AwTMCYTvkOSbLn7e8QtPrBgCR1ey3aUpTIref6DZETczcsGM4jd+3Wtua7yMFa4oCt JF94NhjuAHf8wVAgYnnkB7MYgJskgybZiZHthW6rRl0qZ2hMd0MW5bdVTuvBTy8a9J+R iwQe9J38HfgoUv/VMdHxjpO1r+EE/6zr73m37MuBbWHjs8qxY+XLjJ32dqmjfcoE6nFC V2Lov5ITdxBeI74erSjkwy3I6SRMeEyTccctmDhR+CecxhD692EYpmZ6X9IKn+DHkKxj OgHYv8ts7zO/ttbT4ackQeYZt4wTsNn5zpPBr9W92wngIHAcKPCnpZlFuE6Z1L8yDmTY WSqg== X-Gm-Message-State: AOJu0YyDWC+4upDGGyMbyE+MNfu42ezMFxliQ6IGquFmxLEym4d2Ev1V yO9wUBuywZFyfHygCu9aMsnheTnYKjK9Lx3OzPbsDwhmOcag7IcUHS/SA49sjlOnD4V+MOiVrQY 5RWjZQeMi8t2lruZXaJJQb8uvgPKtk+WOzWpjbyT/ X-Google-Smtp-Source: AGHT+IG5f7zRpXxeziIBMuR1BzA4ZNLBD7R5lvYzU8qqa2XbXOvpx66VUnt0jDuFXXna10MZIaZPBt1usr4GFQaaqWc= X-Received: by 2002:a17:90a:4586:b0:2c1:961c:790 with SMTP id 98e67ed59e1d1-2c1abc42ffamr2180411a91.30.1717079614317; Thu, 30 May 2024 07:33:34 -0700 (PDT) MIME-Version: 1.0 References: <20240501183809.1060-1-ovchinnikov.dmitrii@gmail.com> <8520efd4-70d1-4f07-99d1-29e18471aa2c@jkqxz.net> In-Reply-To: <8520efd4-70d1-4f07-99d1-29e18471aa2c@jkqxz.net> From: Dmitrii Ovchinnikov Date: Thu, 30 May 2024 16:33:23 +0200 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH 01/10, v2] avutil: add hwcontext_amf. 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: >>This seems to have forgotten to actually allocate anything? I made an empty allocation here, since in fact all allocation takes place in the decoder. >>This makes it look like you really wanted to implement map_from, not transfer_data_from. These functions were conceived specifically for transferring data to and from the host memory. Memory mapping functions will probably be added in the future. >>libavutil cannot depend on libavformat, that would be circular. In the new version, I have removed this and some other unnecessary includes. (https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=11968) >>Some of these details look like they should be in the public hwcontext so that a user can create one. In the new version, I removed the additional class and put the functions that the user might need in the header. I hope everything is better now. _______________________________________________ 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".