From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 28C824E85B for ; Wed, 11 Jun 2025 23:28:37 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 9DC3268B3FA; Thu, 12 Jun 2025 02:28:34 +0300 (EEST) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 0C23468B118 for ; Thu, 12 Jun 2025 02:28:28 +0300 (EEST) Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-311a6236effso356227a91.2 for ; Wed, 11 Jun 2025 16:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749684506; x=1750289306; darn=ffmpeg.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rfRygztjokOxDq9dPRZeyQncGTxE1v/6jQ5VAijeyi4=; b=MUlgdM1o3n8jG3Trj3M5GjfT71s2Ob9x5Prxf+MLZQe4e0j5gHykroj5+YDWmjzYcf i0PdFJikLjTbL8obnuY7r+bl6xjHZ7vt3hp9ZCsa0AsnSlE4EZE/gjWDu3r9imrKL63t eIQ+sXUbhEXQZH2zpUR0ogF8SruNCd+S2gDRlu+E4q7iSqIqQ+ft59pqG5woE3T0nN84 bCnVesDt+ujdpMFQP+1e4ioKOK66dcVakJut20El/6OjjbCHlgmnWJgOr3MDQeWrl7VC Z4NPcb8Btmqpez73R+jG1mgMg7YsSw+c64UC/H9Tpc49g3/7h6t8k++oGXVkFm09A4BD 35MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749684506; x=1750289306; h=cc: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=rfRygztjokOxDq9dPRZeyQncGTxE1v/6jQ5VAijeyi4=; b=fgI/ZhGs8tHooXhh7mmC5PaES71YiYWmILSS7rqwL+wj2ral6k1Pr3Rw0Zv7Zg2bS8 OF8M8IvdU13p3K7D3x9VKcqsKZPYMWLczO3zM1x1bu7OHKugVb1eSi1lqo1kE0on8Yfj 33MIZKpyFhvTiW2q1QuDsj08+1y5s+i+qqvZ+SGF6Q/1yTW+qdCsQDz7F5QuxrBt2x/l d1qF0Zvr5PFdplLe5yLA3SdEAvbo+KrvOtA1tSHTmJFy5HxfC/5+oICGJdVah2dBCWhP +jaXf0WvVW0FNKiTuE36KD1Zp92g3ernt0x7+B8z1YamfdNHY6d2YwRFbh5d5Yf7mDQ9 W7xQ== X-Gm-Message-State: AOJu0Yx85g6DcYShp3Sb7k6urRJiWR+eCM6dzr4+Kx6j8ybAyZQgwrOk 7HioGI6axaMJ44PCNPYPdsXPkpi6RTRbySudCRR/a0Y/mWp/N15F3IyY4MZOJjY1pwDvP/N7Xq/ CE4VwL08I7TspWWKcFnTb+dT+PyJ2AfQ= X-Gm-Gg: ASbGncvms12IOLrE8mYZ5f9A92HgeYEfQNZXSp9UFEjNVLzO4Omdvv4mmp9W00UuL3p 2KO1vrFt5mHAoOGqvl+ed3B07Qp0VIZb7ED/2K0bYT8pqgHe+po02sWZHVXwON4OnFdPa9u2C2O TD/C6VL8bEWvK78/9YmS3G5oG4o4PnC2vMMek4am6e0hyS X-Google-Smtp-Source: AGHT+IFrX4MZaKZPlaJtTL9Es4HZPqY4FmvDrThkWowpy9HuL5bS/5cSJIN8Bd1NJA+APirW5o+ORjsizItnugms5x4= X-Received: by 2002:a17:90b:2dcc:b0:313:33ca:3b8b with SMTP id 98e67ed59e1d1-313bfbb3a9cmr2025909a91.9.1749684505883; Wed, 11 Jun 2025 16:28:25 -0700 (PDT) MIME-Version: 1.0 References: <20250528143153.1784-1-ovchinnikov.dmitrii@gmail.com> <20250528143153.1784-2-ovchinnikov.dmitrii@gmail.com> In-Reply-To: From: Dmitrii Ovchinnikov Date: Thu, 12 Jun 2025 01:28:13 +0200 X-Gm-Features: AX0GCFsdoGjLxzOKqXxRv7mGX6R_vgNARn0GridyfT8tz5EQWRivNWbCRSvB5Ow Message-ID: To: Wu Jianhua X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH 2/2] avutil/hwcontext_d3d12va: added resource Flags support to command line 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: "ffmpeg-devel@ffmpeg.org" 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: >> We should set these flags in d3d12va_frames_init >> instead of referencing device->flags directly Sorry, I didn't fully understand this part. Is it actually possible to pass the required flags to the frames context without using the device context? Or perhaps you meant something like this: 1) Add a D3D12_HEAP_FLAGS heap_flags field to AVD3D12VAFramesContext 2) Set both heap_flags and flags inside d3d12va_frames_init, after validating the format, while still passing the property through the device context? >> it seemed that the options uav_resource=1,render_target_resource=1, >> shared_resource=1 are too long. Maybe we could shorten the word resource to res? Something like this: uav_res shared_res render_targ_res(rt_res) Sincerely, Ovchinnikov D.A. _______________________________________________ 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".