From 2ee48c88e50ea5570da0c0e4a4c961728cf22fbc Mon Sep 17 00:00:00 2001 From: Daniel Charles Date: Wed, 14 Nov 2018 21:14:05 +0000 Subject: [PATCH] libyami: Autospec creation for update from version 1.3.0 to version 1.3.1 Anuj Mittal (1): Makefile.am: point to build dir for generated headers Gamester17 (1): Amendments to README.md Jay Sorg (1): use env var for device file to open U. Artie Eoff (4): encode/jpeg: allow encode quality to be configured encode/unittest: add simple quality set/get test for jpeg vaapi: VAEntrypointFEI not defined until libva-2.0 vpp/scaler: rotation not available until VAAPI 1.1.0 Xu Guangxin (16): travis: fix the build issue since we move from 01org to intel add Reporting a security issue Revert "com_unittest: modify over range resolution" common: fix guessResolutionOverflow fail common: fix typo for STATE_WDITH common: add RGB565 support unittest: common, add test for RGB16 unittest: common, add support for RGBA, BGRA, ARGB, ABGR unittest: common, add support for R210(RGB 10 bits) configure.ac: bump API version to 0.5.4 for RGB565 and RGB 10bits v4l2: fix compile warnning for V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE egl: protect YamiV4L2_UseEglImage with __ENABLE_EGL__ interface: remove extern C for decoder,encoder,vpp vp8enc: make some deconsturctor virtulized android: re-enable android build configure.ac: bump API version to 0.5.5 for VIDEO_DECODE_BUFFER_FLAG XuGuangxin (4): common: add XRGB, ARGB, XBGR, ABGR support common: add RGB 10 bits support h264dec: fix low lantecy mode h264, h265: add VIDEO_DECODE_BUFFER_FLAG_FRAME_END to inidicate frame end Yu, Linda (1): v4l2_decode:alloc 1 frame for generating thumbnail Zhanjun, Wang (6): fix bug https://github.com/intel/libyami/issues/830 fix non initialization and remove potential memory leak for decoding unit tests. Add flags for SDL signoff called SDL325 - Compile With Defenses Enabled unittest: decoder, enable lowlatency test fix bug https://github.com/intel/libyami/issues/833 libyami-1.3.1 release dongping wu (1): yamivpp: add rotation function for vpp jkyu (1): configure.ac: bump version to 1.3.0 root (1): fix memset issue when compile with enabling gtest Signed-off-by: Daniel Charles --- Makefile | 2 +- NEWS | 17 ++++++++++------- libyami.spec | 44 +++++++++++++++++++++++++++++++++----------- options.conf | 4 +++- release | 2 +- symbols | 27 ++++++++++++++++----------- upstream | 2 +- 7 files changed, 65 insertions(+), 33 deletions(-) diff --git a/Makefile b/Makefile index 99fce0e..8129d19 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := libyami -URL = https://github.com/01org/libyami/archive/1.3.0.tar.gz +URL = https://github.com/01org/libyami/archive/1.3.1.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/NEWS b/NEWS index 5f7901b..622b0f2 100644 --- a/NEWS +++ b/NEWS @@ -1,15 +1,18 @@ -libyami NEWS -- summary of changes. 2017-04-19 +libyami NEWS -- summary of changes. 2018-09-19 Copyright (c) 2010, The WebM Project authors. -Copyright (C) 2011-2017 Intel Corporation +Copyright (C) 2011-2018 Intel Corporation Copyright (C) 2015-2016 Alibaba -libyami 1.3.0 release +libyami 1.3.1(API:0.6.0) release, work with libva 2.2.1.pre1 release ===================== Major improvements: -+08146ab implement H.264 SVC-T new reference mode -+2975128 implement H.264 low latency mode -+a1f863c improve v4l2 interface,support dynamic resolution change -+ed74272 JPEG decoder fixes and Y800 support ++af43e95 h264dec: fix low lantecy mode ++160286a Add flags for SDL signoff called SDL325 - Compile With Defenses Enabled ++727db97 common: add RGB 10 bits support ++46c15b1 common: add RGB565 support ++946b7ac common: add XRGB, ARGB, XBGR, ABGR support ++9e1fc1d android: re-enable android build ++3745982 yamivpp: add rotation function for vpp libyami 1.2.0(API:0.5.0) release, work with libva 1.8.1 release ===================== diff --git a/libyami.spec b/libyami.spec index 099519f..c98f2e2 100644 --- a/libyami.spec +++ b/libyami.spec @@ -3,14 +3,15 @@ # Generated by: autospec.py # Name : libyami -Version : 1.3.0 -Release : 8 -URL : https://github.com/01org/libyami/archive/1.3.0.tar.gz -Source0 : https://github.com/01org/libyami/archive/1.3.0.tar.gz +Version : 1.3.1 +Release : 9 +URL : https://github.com/01org/libyami/archive/1.3.1.tar.gz +Source0 : https://github.com/01org/libyami/archive/1.3.1.tar.gz Summary : Intel open source media infrastructure base on libva. Group : Development/Tools License : Apache-2.0 BSD-3-Clause -Requires: libyami-lib +Requires: libyami-lib = %{version}-%{release} +Requires: libyami-license = %{version}-%{release} BuildRequires : pkgconfig(egl) BuildRequires : pkgconfig(glesv2) BuildRequires : pkgconfig(libdrm) @@ -26,8 +27,8 @@ and decodes them leverage hardware acceleration. %package dev Summary: dev components for the libyami package. Group: Development -Requires: libyami-lib -Provides: libyami-devel +Requires: libyami-lib = %{version}-%{release} +Provides: libyami-devel = %{version}-%{release} %description dev dev components for the libyami package. @@ -36,20 +37,29 @@ dev components for the libyami package. %package lib Summary: lib components for the libyami package. Group: Libraries +Requires: libyami-license = %{version}-%{release} %description lib lib components for the libyami package. +%package license +Summary: license components for the libyami package. +Group: Default + +%description license +license components for the libyami package. + + %prep -%setup -q -n libyami-1.3.0 +%setup -q -n libyami-1.3.1 %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C -export SOURCE_DATE_EPOCH=1525812963 +export SOURCE_DATE_EPOCH=1542229918 %autogen --disable-static --enable-vp9dec \ --enable-vp9enc \ --enable-h265enc \ @@ -67,8 +77,13 @@ export no_proxy=localhost,127.0.0.1,0.0.0.0 make VERBOSE=1 V=1 %{?_smp_mflags} check %install -export SOURCE_DATE_EPOCH=1525909840 +export SOURCE_DATE_EPOCH=1542229918 rm -rf %{buildroot} +mkdir -p %{buildroot}/usr/share/package-licenses/libyami +cp LICENSE.md %{buildroot}/usr/share/package-licenses/libyami/LICENSE.md +cp codecparsers/dboolhuff.LICENSE %{buildroot}/usr/share/package-licenses/libyami/codecparsers_dboolhuff.LICENSE +cp codecparsers/vp9quant.LICENSE %{buildroot}/usr/share/package-licenses/libyami/codecparsers_vp9quant.LICENSE +cp gtestsrc/gtest/LICENSE %{buildroot}/usr/share/package-licenses/libyami/gtestsrc_gtest_LICENSE %make_install %files @@ -97,4 +112,11 @@ rm -rf %{buildroot} %files lib %defattr(-,root,root,-) /usr/lib64/libyami.so.1 -/usr/lib64/libyami.so.1.3.0 +/usr/lib64/libyami.so.1.3.1 + +%files license +%defattr(-,root,root,-) +/usr/share/package-licenses/libyami/LICENSE.md +/usr/share/package-licenses/libyami/codecparsers_dboolhuff.LICENSE +/usr/share/package-licenses/libyami/codecparsers_vp9quant.LICENSE +/usr/share/package-licenses/libyami/gtestsrc_gtest_LICENSE diff --git a/options.conf b/options.conf index f7678ba..d8e97f5 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = libyami -url = https://github.com/01org/libyami/archive/1.3.0.tar.gz +url = https://github.com/01org/libyami/archive/1.3.1.tar.gz archives = giturl = https://github.com/01org/libyami.git @@ -21,6 +21,8 @@ broken_parallel_build = false compat = false # set conservative build flags conservative_flags = false +# dev package requires the extras to be installed +dev_requires_extras = false # pass -ffast-math to compiler fast-math = false # optimize build for speed over size diff --git a/release b/release index 45a4fb7..ec63514 100644 --- a/release +++ b/release @@ -1 +1 @@ -8 +9 diff --git a/symbols b/symbols index 2dfb023..5b97e8f 100644 --- a/symbols +++ b/symbols @@ -1,13 +1,22 @@ libyami.so.1:_Z13yamiTraceInitv -libyami.so.1:_Z15buildJpegHeaderRSt5arrayIhLm623EEii +libyami.so.1:_Z15buildJpegHeaderRSt5arrayIhLm623EEiij libyami.so.1:_Z15compare_and_setPaa libyami.so.1:_Z15generateScanHdrRKSt10shared_ptrIN10YamiParser4JPEG10ScanHeaderEE libyami.so.1:_Z16generateFrameHdrRKSt10shared_ptrIN10YamiParser4JPEG11FrameHeaderEEii libyami.so.1:_Z16init_dequantizerP10_Vp9Parser +libyami.so.1:_Z18createVideoDecoderPKc +libyami.so.1:_Z18createVideoEncoderPKc +libyami.so.1:_Z19releaseVideoDecoderPN14YamiMediaCodec13IVideoDecoderE +libyami.so.1:_Z19releaseVideoEncoderPN14YamiMediaCodec13IVideoEncoderE libyami.so.1:_Z19seg_get_base_qindexPK10_Vp9ParserPK12_Vp9FrameHdri libyami.so.1:_Z20get_max_lb_tile_colsj libyami.so.1:_Z20get_min_lb_tile_colsj libyami.so.1:_Z20seg_get_filter_levelPK10_Vp9ParserPK12_Vp9FrameHdri +libyami.so.1:_Z22createVideoPostProcessPKc +libyami.so.1:_Z23releaseVideoPostProcessPN14YamiMediaCodec17IVideoPostProcessE +libyami.so.1:_Z24getVideoDecoderMimeTypesB5cxx11v +libyami.so.1:_Z24getVideoEncoderMimeTypesB5cxx11v +libyami.so.1:_Z28getVideoPostProcessMimeTypesB5cxx11v libyami.so.1:_ZN10YamiParser11getHalfCeilEj libyami.so.1:_ZN10YamiParser14Vp8BoolDecoder10InitializeEPKhm libyami.so.1:_ZN10YamiParser14Vp8BoolDecoder11FillDecoderEv @@ -27,6 +36,10 @@ libyami.so.1:_ZN10YamiParser4H26411SliceHeader11parseHeaderEPNS0_6ParserEPNS0_7N libyami.so.1:_ZN10YamiParser4H26411SliceHeader15predWeightTableERNS_9NalReaderEh libyami.so.1:_ZN10YamiParser4H26411SliceHeader16decRefPicMarkingEPNS0_7NalUnitERNS_9NalReaderE libyami.so.1:_ZN10YamiParser4H26411SliceHeader22refPicListModificationERNS_9NalReaderEPNS0_22RefPicListModificationES5_b +libyami.so.1:_ZN10YamiParser4H26411SliceHeaderC1Ev +libyami.so.1:_ZN10YamiParser4H26411SliceHeaderC2Ev +libyami.so.1:_ZN10YamiParser4H2643PPSC1Ev +libyami.so.1:_ZN10YamiParser4H2643PPSC2Ev libyami.so.1:_ZN10YamiParser4H2643PPSD1Ev libyami.so.1:_ZN10YamiParser4H2643PPSD2Ev libyami.so.1:_ZN10YamiParser4H2646Parser13hrdParametersEPNS0_13HRDParametersERNS_9NalReaderE @@ -337,8 +350,8 @@ libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB13initBSliceRefERKSt10shar libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB13initPSliceRefERKSt10shared_ptrINS_19VaapiDecPictureH264EEPKN10YamiParser4H26411SliceHeaderE libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB13initReferenceERKSt10shared_ptrINS_19VaapiDecPictureH264EEPKN10YamiParser4H26411SliceHeaderE libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB13markReferenceERKSt10shared_ptrINS_19VaapiDecPictureH264EE +libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB16outputReadyFrameERKSt10shared_ptrINS_19VaapiDecPictureH264EE libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB17initReferenceListERKSt10shared_ptrINS_19VaapiDecPictureH264EEPKN10YamiParser4H26411SliceHeaderE -libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB17outputReadyFramesEv libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB19modifyReferenceListERKSt10shared_ptrINS_19VaapiDecPictureH264EEPKN10YamiParser4H26411SliceHeaderERSt6vectorIS4_SaIS4_EEh libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB21adaptiveMarkReferenceERKSt10shared_ptrINS_19VaapiDecPictureH264EE libyami.so.1:_ZN14YamiMediaCodec16VaapiDecoderH2643DPB23processFrameNumWithGapsERKSt10shared_ptrINS_19VaapiDecPictureH264EEPKN10YamiParser4H26411SliceHeaderE @@ -602,6 +615,7 @@ libyami.so.1:_ZN14YamiMediaCodec22VaapiPostProcessScaler13setParametersE12VppPar libyami.so.1:_ZN14YamiMediaCodec22VaapiPostProcessScaler13setProcParamsERNS0_10ProcParamsEiiii17_VAProcFilterType libyami.so.1:_ZN14YamiMediaCodec22VaapiPostProcessScaler14setParamToNoneERNS0_10ProcParamsEi libyami.so.1:_ZN14YamiMediaCodec22VaapiPostProcessScaler19setDeinterlaceParamERK24VPPDeinterlaceParameters +libyami.so.1:_ZN14YamiMediaCodec22VaapiPostProcessScaler20mapToVARotationStateE12VppTransform libyami.so.1:_ZN14YamiMediaCodec22VaapiPostProcessScaler20setColorBalanceParamERK24VPPColorBalanceParameter libyami.so.1:_ZN14YamiMediaCodec22VaapiPostProcessScaler23createDeinterlaceFilterERK24VPPDeinterlaceParameters libyami.so.1:_ZN14YamiMediaCodec22VaapiPostProcessScaler25createColorBalanceFiltersERNS0_17ColorBalanceParamERK24VPPColorBalanceParameter @@ -698,9 +712,6 @@ libyami.so.1:_ZNK14YamiMediaCodec16VaapiEncoderJpeg4fillEP33_VAHuffmanTableBuffe libyami.so.1:clamp libyami.so.1:createDecoder libyami.so.1:createEncoder -libyami.so.1:createVideoDecoder -libyami.so.1:createVideoEncoder -libyami.so.1:createVideoPostProcess libyami.so.1:decodeDecode libyami.so.1:decodeFlush libyami.so.1:decodeGetFormatInfo @@ -720,17 +731,11 @@ libyami.so.1:encodeStart libyami.so.1:encodeStop libyami.so.1:getConfig libyami.so.1:getStatistics -libyami.so.1:getVideoDecoderMimeTypes -libyami.so.1:getVideoEncoderMimeTypes -libyami.so.1:getVideoPostProcessMimeTypes libyami.so.1:libyami_vp8dx_bool_decoder_fill libyami.so.1:libyami_vp8dx_start_decode libyami.so.1:releaseDecoder libyami.so.1:releaseEncoder libyami.so.1:releaseLock -libyami.so.1:releaseVideoDecoder -libyami.so.1:releaseVideoEncoder -libyami.so.1:releaseVideoPostProcess libyami.so.1:setConfig libyami.so.1:vp9_ac_quant libyami.so.1:vp9_dc_quant diff --git a/upstream b/upstream index 4512ace..7373c15 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -bebaca52bee945be008fd75e0cb32fde24abd0be/1.3.0.tar.gz +c2757baf717cd236f203f58b14a0c14da7f07593/1.3.1.tar.gz