From patchwork Sat Feb 4 10:41:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 40247 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:5494:b0:bf:7b3a:fd32 with SMTP id i20csp1869951pzk; Sat, 4 Feb 2023 02:46:49 -0800 (PST) X-Google-Smtp-Source: AK7set+nELpxvy32FGt3Re5UAxYGg54gTZ3hifOqxawwoO3uCQnXS+HYc0i9jXf7HUpmaLK96eKd X-Received: by 2002:a17:907:6eab:b0:88d:ba89:182f with SMTP id sh43-20020a1709076eab00b0088dba89182fmr9684476ejc.0.1675507608979; Sat, 04 Feb 2023 02:46:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675507608; cv=none; d=google.com; s=arc-20160816; b=PCRalueVFbFdpk3rxNHPQvIkp3JGteBjHlxR0jwV7MY6C8G7guSHpd0cHr65EuQwq0 /9q7Ib07XUGgLYDwhX+2cJc3X8lp7XbzWCPqC3zjJS0kMn9gdHpqEgVH6aLdBStbmg83 PlPmfd+Yb28lafzplZ4K1z3o3fp8nXHt+aSRKv2E0e6ePdNyXiFBdxB2W1F42D8CfSqX HAkmgDNXrSSFMTrqnEhPmXKT2RoYmQ19fM7V1q8K+WbvGQUqQNYhmCaQ7Ht2/Sbd0DQi fnSiXAstFBQVs25vnet1Tjho8fXucSPZgNy8TPjKDQ56+DYGirwGlDjEaLFOspOouYd1 QB1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=kW/f7xudbl/V7rgLUXmuBVScPsJ5tO9H9QUURhJkrTQ=; b=MJFRG6oK3/9HfbDQwdxBd9BBsnxRUCtkt9NHQQnKQy78Qsp53SP//A86WDutduUA2p +gGSJd0pvkDhxn9UlEPkOaihbhNVl2O/YqHzCf8k2Yq1tFnNTAw+id67Aaq9RFeS2ilC pKLGfqWc6faDGLQ3BtwEtB5tp1Cnoy+yeGpBAVAo+7E8s1e2TmWNSBTcjKhLLDwOvpUl YmDB0UguRr24xsu6mvRNmayJCyX43qVYjQnApLRXtr1uwkcDyd01AuPB/bXXGt1eJBvq jugTOVVS9ZzcBmXTKlyX3zIrcCE0mni2Io87zPQTamYGzmXDcTqQspiqUepfwDuuwg/F SHNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id h14-20020a17090791ce00b008869f495216si5236357ejz.843.2023.02.04.02.46.48; Sat, 04 Feb 2023 02:46:48 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 440CB68BEC5; Sat, 4 Feb 2023 12:44:33 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DB6F468BEC8 for ; Sat, 4 Feb 2023 12:44:12 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 0DF502404F8 for ; Sat, 4 Feb 2023 11:44:10 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id gAw5NNMzTe2g for ; Sat, 4 Feb 2023 11:44:09 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id D3D472406CA for ; Sat, 4 Feb 2023 11:44:06 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 8EDE33A044E for ; Sat, 4 Feb 2023 11:44:05 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Sat, 4 Feb 2023 11:41:42 +0100 Message-Id: <20230204104204.20721-12-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230204104204.20721-1-anton@khirnov.net> References: <20230204104204.20721-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 11/33] avcodec: remove FF_API_DEBUG_MV 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: ks9JE87DFte8 From: James Almer Signed-off-by: James Almer --- libavcodec/avcodec.h | 11 ----------- libavcodec/version_major.h | 1 - 2 files changed, 12 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 6cf6031705b..25c4b4eacc3 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1812,17 +1812,6 @@ typedef struct AVCodecContext { */ int seek_preroll; -#if FF_API_DEBUG_MV - /** - * @deprecated unused - */ - attribute_deprecated - int debug_mv; -#define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames -#define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames -#define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames -#endif - /** * custom intra quantization matrix * - encoding: Set by user, can be NULL. diff --git a/libavcodec/version_major.h b/libavcodec/version_major.h index dbb5606c147..d5d55c6dad0 100644 --- a/libavcodec/version_major.h +++ b/libavcodec/version_major.h @@ -37,7 +37,6 @@ * at once through the bump. This improves the git bisect-ability of the change. */ -#define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 60) #define FF_API_GET_FRAME_CLASS (LIBAVCODEC_VERSION_MAJOR < 60) #define FF_API_AUTO_THREADS (LIBAVCODEC_VERSION_MAJOR < 60) #define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 60)