From patchwork Thu Nov 9 05:17:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kaustubh.raste@imgtec.com X-Patchwork-Id: 5990 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.161.90 with SMTP id m26csp1612408jah; Wed, 8 Nov 2017 21:17:42 -0800 (PST) X-Google-Smtp-Source: ABhQp+RbgFteZpGevMo9V5rlRH27c3ZwqXockRqJ72UmPImcNKMtnl/jdLbsJ0yaD9fcv0pIRnj/ X-Received: by 10.28.197.65 with SMTP id v62mr646847wmf.9.1510204662763; Wed, 08 Nov 2017 21:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510204662; cv=none; d=google.com; s=arc-20160816; b=ncnR3e8cEmAGZ1JblnQfxZwrlDsfSbYPPjR7rrUEv7VOwc2I1i5wIO+uvScREwQohP yuFw7s+Zu0+iIwWTb6rwuN1jzH4GMWOlO/fn2XpPcWOzoUg6lBIjrU19w565IBfqfEyT xyCiykxUeYF1RuagwZra2jTjoPrSxLMLrREd8xGHsq0b1TzV1zUTi1pE6r79cfm+yirB vIi8Sa5SVvVv2zDsb2TJ4nzM1yxmOFc2lHvdWcINr5Yg0IP3zrT2VLcNh34xpucJuHqy UyhxQ33YL94MLxLdkrkFy+om362mYlUDFW/VcvlLyqjb/NsNtTK56jmRoJ/D+2MceaI9 O4Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :delivered-to:arc-authentication-results; bh=x2WhHikmaLB98s4VWn2Q+xyyaSfdxPZeFIDvP6NH4zs=; b=G2sjXkAxNiVHUwSVQ2vBYA+XA82nVbPE8PF2biJWd8+Tauo5XaUS916fdLhm+Qwkg7 DpyZJaXHBhlI5VgHS1TZqPQtMRSbcJJfAe/Cgtqu3lOysdGxRbkwbsIHys0F5bz9LY07 qzxPs5AM39IfCfRPidWIfDnILZiYO7bgZPgXuTi6S0iaR5H3D0qyg7IrB99kDkLZMVor 5yC0gAHj9jKP8wm/ac1XpvrHbfhDerEBzOpsrFAPzH//qzAx3fJr3SY3XrMUiNpRFfiQ Srrqpf45V9MRB6Ojq3GvgGol/PVDi3POOXwWFvEBR+G8z2qkyZNfMapPMEP41VwNfSTR arqw== 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 m76si4548793wmi.31.2017.11.08.21.17.42; Wed, 08 Nov 2017 21:17:42 -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 41B4068825C; Thu, 9 Nov 2017 07:17:28 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 39A7C6882C8 for ; Thu, 9 Nov 2017 07:17:22 +0200 (EET) Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Forcepoint Email with ESMTPS id E01267EF07F89 for ; Thu, 9 Nov 2017 05:17:31 +0000 (GMT) Received: from pudesk204.pu.imgtec.org (192.168.91.13) by hhmail02.hh.imgtec.org (10.100.10.20) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 9 Nov 2017 05:17:33 +0000 From: To: Date: Thu, 9 Nov 2017 10:47:28 +0530 Message-ID: <1510204648-31557-1-git-send-email-kaustubh.raste@imgtec.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Originating-IP: [192.168.91.13] Subject: [FFmpeg-devel] [PATCH] avcodec/mips: cleanup unused macros X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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: Kaustubh Raste Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Kaustubh Raste Signed-off-by: Kaustubh Raste --- libavcodec/mips/hevc_macros_msa.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/libavcodec/mips/hevc_macros_msa.h b/libavcodec/mips/hevc_macros_msa.h index 27c69ff..ea53812 100644 --- a/libavcodec/mips/hevc_macros_msa.h +++ b/libavcodec/mips/hevc_macros_msa.h @@ -21,43 +21,6 @@ #ifndef AVCODEC_MIPS_HEVC_MACROS_MSA_H #define AVCODEC_MIPS_HEVC_MACROS_MSA_H -#define HEVC_PCK_SW_SB2(in0, in1, out) \ -{ \ - v8i16 tmp0_m; \ - \ - tmp0_m = __msa_pckev_h((v8i16) in0, (v8i16) in1); \ - out = (v4i32) __msa_pckev_b((v16i8) tmp0_m, (v16i8) tmp0_m); \ -} - -#define HEVC_PCK_SW_SB4(in0, in1, in2, in3, out) \ -{ \ - v8i16 tmp0_m, tmp1_m; \ - \ - PCKEV_H2_SH(in0, in1, in2, in3, tmp0_m, tmp1_m); \ - out = (v4i32) __msa_pckev_b((v16i8) tmp1_m, (v16i8) tmp0_m); \ -} - -#define HEVC_PCK_SW_SB8(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1) \ -{ \ - v8i16 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \ - \ - PCKEV_H4_SH(in0, in1, in2, in3, in4, in5, in6, in7, \ - tmp0_m, tmp1_m, tmp2_m, tmp3_m); \ - PCKEV_B2_SW(tmp1_m, tmp0_m, tmp3_m, tmp2_m, out0, out1); \ -} - -#define HEVC_PCK_SW_SB12(in0, in1, in2, in3, in4, in5, in6, in7, \ - in8, in9, in10, in11, out0, out1, out2) \ -{ \ - v8i16 tmp0_m, tmp1_m, tmp2_m, tmp3_m, tmp4_m, tmp5_m; \ - \ - PCKEV_H4_SH(in0, in1, in2, in3, in4, in5, in6, in7, \ - tmp0_m, tmp1_m, tmp2_m, tmp3_m); \ - PCKEV_H2_SH(in8, in9, in10, in11, tmp4_m, tmp5_m); \ - PCKEV_B2_SW(tmp1_m, tmp0_m, tmp3_m, tmp2_m, out0, out1); \ - out2 = (v4i32) __msa_pckev_b((v16i8) tmp5_m, (v16i8) tmp4_m); \ -} - #define HEVC_FILT_8TAP_SH(in0, in1, in2, in3, \ filt0, filt1, filt2, filt3) \ ( { \