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 29C26481A1 for ; Thu, 11 Jan 2024 06:32:47 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 49B6568CF98; Thu, 11 Jan 2024 08:32:40 +0200 (EET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4E80268CF8A for ; Thu, 11 Jan 2024 08:32:33 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704954758; x=1736490758; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=phikMTgeITrXuSfcHjzTFOPNWSFb3lI/d1NAeiw1hAY=; b=etTOXpzpTZa6XY3bFHiP3lHoifH4PJxj7gYamKf2TJsjL84wnU7T8yWC vLO5VXh6nUgjS+jwrLZkizEgrG6zUrOST3hwkEih0y0b1ToS7ZdHI7Ie5 +Izd2/37yjduHzhT2WlvUlwi3CNBECHZKN3rt3Hj4iHkNVRx46u0DvcT2 1K14B5Y4xY1/IgIc5cidA618hSDKWcyZznWQDw4mQeuHUNCFLQDvfuwCO NzSAT5KQwnIFKllpS6Eq0jXtQebHM1HcxOGcfWzyrLPltost9ztGtHVf1 Adn6chMsjR/IEZ6r7+5OqfRaGEK8fX1djF6DaY7LZrmq+mt7F4XT5vSht A==; X-IronPort-AV: E=McAfee;i="6600,9927,10949"; a="389192331" X-IronPort-AV: E=Sophos;i="6.04,185,1695711600"; d="scan'208";a="389192331" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2024 22:32:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,185,1695711600"; d="scan'208";a="30891929" Received: from desktop-qn7n0nf.sh.intel.com (HELO localhost.localdomain) ([10.239.160.66]) by orviesa001.jf.intel.com with ESMTP; 10 Jan 2024 22:32:24 -0800 From: tong1.wu-at-intel.com@ffmpeg.org To: ffmpeg-devel@ffmpeg.org Date: Thu, 11 Jan 2024 14:31:21 +0800 Message-ID: <20240111063121.1467-2-tong1.wu@intel.com> X-Mailer: git-send-email 2.41.0.windows.1 In-Reply-To: <20240111063121.1467-1-tong1.wu@intel.com> References: <20240111063121.1467-1-tong1.wu@intel.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] avcodec/d3d12va_mpeg2|vc1: remove the unused macros 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: Tong Wu 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: From: Tong Wu These macros are no longer used. Remove them. Signed-off-by: Tong Wu --- libavcodec/d3d12va_mpeg2.c | 4 ---- libavcodec/d3d12va_vc1.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/libavcodec/d3d12va_mpeg2.c b/libavcodec/d3d12va_mpeg2.c index b964f8d2ff..936af5f86a 100644 --- a/libavcodec/d3d12va_mpeg2.c +++ b/libavcodec/d3d12va_mpeg2.c @@ -31,10 +31,6 @@ #define MAX_SLICES 1024 #define INVALID_REF 0xffff -#define REF_RESOURCE(index) if (index != INVALID_REF) { \ - ctx->ref_resources[index] = frames_hwctx->texture_infos[index].texture; \ -} - typedef struct D3D12DecodePictureContext { DXVA_PictureParameters pp; DXVA_QmatrixData qm; diff --git a/libavcodec/d3d12va_vc1.c b/libavcodec/d3d12va_vc1.c index 3d15abd1f1..4b89a65bb0 100644 --- a/libavcodec/d3d12va_vc1.c +++ b/libavcodec/d3d12va_vc1.c @@ -33,10 +33,6 @@ #define MAX_SLICES 1024 #define INVALID_REF 0xffff -#define REF_RESOURCE(index) if (index != INVALID_REF) { \ - ctx->ref_resources[index] = frames_hwctx->texture_infos[index].texture; \ -} - typedef struct D3D12DecodePictureContext { DXVA_PictureParameters pp; unsigned slice_count; -- 2.41.0.windows.1 _______________________________________________ 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".