From patchwork Wed Sep 16 06:44:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xiang, Haihao" X-Patchwork-Id: 22427 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id A3903449470 for ; Wed, 16 Sep 2020 09:49:34 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8DE3A68B91F; Wed, 16 Sep 2020 09:49:34 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5B90268B933 for ; Wed, 16 Sep 2020 09:49:26 +0300 (EEST) IronPort-SDR: ibVfsr3kx5M0CWWUXnenNFw6SYod+INOUN3mpV3eCYNbhX6iUhdaDYWIHXSM8KGop+cXtE7cGn eEyYWcNhBsMg== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="158693654" X-IronPort-AV: E=Sophos;i="5.76,431,1592895600"; d="scan'208";a="158693654" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 23:49:25 -0700 IronPort-SDR: hQJoaOf1MEkBfTuB3HJd2MONn1EgheBK/jP3nHYy3bBV2ZVkExfHhLGFXaDcwTDOtHeRCVyr2R P2nGQWXANrig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,431,1592895600"; d="scan'208";a="331551208" Received: from xhh-tgl64.sh.intel.com ([10.239.159.152]) by fmsmga004.fm.intel.com with ESMTP; 15 Sep 2020 23:49:24 -0700 From: Haihao Xiang To: ffmpeg-devel@ffmpeg.org Date: Wed, 16 Sep 2020 14:44:51 +0800 Message-Id: <20200916064457.181230-1-haihao.xiang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/6] qsv: Fix compiler errors when using libmfx 2.0 (oneVPL) 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: Haihao Xiang Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The oneAPI Video Processing Library (oneVPL) is a single interface for encode, decode and video processing, the obsolete features in Intel Media Software Development Kit are removed from oneVPL. The oneVPL specification: https://spec.oneapi.com/versions/latest/elements/oneVPL/source/index.html The oneVPL source code: https://github.com/oneapi-src/oneVPL This patchset fixes compiler errors when building FFmpeg against oneVPL Note this patchset includes some patches in the FFmpeg archives: http://ffmpeg.org/pipermail/ffmpeg-devel/2020-August/268141.html http://ffmpeg.org/pipermail/ffmpeg-devel/2020-September/269334.html Haihao Xiang (6): qsv: add ${includedir}/mfx to the search path for old versions of libmfx qsv: libmfx no longer supports user plugin since version 2.0 (oneVPL) qsv: libmfx no longer supports audio since version 2.0 (oneVPL) qsvenc: libmfx no longer supports multi-frame encode since version 2.0 (oneVPL) qsvenc: libmfx no longer supports MFX_RATECONTROL_LA_EXT since version 2.0 (oneVPL) qsv: libmfx no longer supports OPAQUE memory since version 2.0 (oneVPL) configure | 15 +++++-- fftools/ffmpeg_qsv.c | 2 +- libavcodec/qsv.c | 21 +++++++-- libavcodec/qsv.h | 4 +- libavcodec/qsv_internal.h | 4 +- libavcodec/qsvdec.c | 11 ++++- libavcodec/qsvdec.h | 2 +- libavcodec/qsvdec_h2645.c | 2 +- libavcodec/qsvdec_other.c | 2 +- libavcodec/qsvenc.c | 25 ++++++++++- libavcodec/qsvenc.h | 6 ++- libavcodec/qsvenc_h264.c | 2 +- libavcodec/qsvenc_hevc.c | 2 +- libavcodec/qsvenc_jpeg.c | 2 +- libavcodec/qsvenc_mpeg2.c | 2 +- libavcodec/qsvenc_vp9.c | 2 +- libavfilter/qsvvpp.c | 24 +++++++++- libavfilter/qsvvpp.h | 4 +- libavfilter/vf_deinterlace_qsv.c | 58 +++++++++++++----------- libavfilter/vf_scale_qsv.c | 76 ++++++++++++++++++-------------- libavutil/hwcontext_opencl.c | 2 +- libavutil/hwcontext_qsv.c | 58 +++++++++++++++++------- libavutil/hwcontext_qsv.h | 2 +- 23 files changed, 225 insertions(+), 103 deletions(-)