!11 Upgrade to 2.20.0
From: @starlet-dx Reviewed-by: @wang--ge Signed-off-by: @wang--ge
This commit is contained in:
commit
ac89904f33
@ -1,34 +0,0 @@
|
||||
From cab05fcf1c28838cbc9e59b41061024dd6e01928 Mon Sep 17 00:00:00 2001
|
||||
From: He Junyan <junyan.he@intel.com>
|
||||
Date: Sat, 18 Sep 2021 18:20:41 +0800
|
||||
Subject: [PATCH] Add the missing trace log for the VA encoder API.
|
||||
|
||||
Signed-off-by: He Junyan <junyan.he@intel.com>
|
||||
---
|
||||
va/va_trace.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/va/va_trace.c b/va/va_trace.c
|
||||
index da62221..6426ca8 100644
|
||||
--- a/va/va_trace.c
|
||||
+++ b/va/va_trace.c
|
||||
@@ -3315,6 +3315,7 @@ static void va_TraceVAEncSliceParameterBufferH264(
|
||||
va_TraceMsg(trace_ctx, "\tdelta_pic_order_cnt[1] = %d\n", p->delta_pic_order_cnt[1]);
|
||||
va_TraceMsg(trace_ctx, "\tdirect_spatial_mv_pred_flag = %d\n", p->direct_spatial_mv_pred_flag);
|
||||
va_TraceMsg(trace_ctx, "\tnum_ref_idx_active_override_flag = %d\n", p->num_ref_idx_active_override_flag);
|
||||
+ va_TraceMsg(trace_ctx, "\tnum_ref_idx_l0_active_minus1 = %d\n", p->num_ref_idx_l0_active_minus1);
|
||||
va_TraceMsg(trace_ctx, "\tnum_ref_idx_l1_active_minus1 = %d\n", p->num_ref_idx_l1_active_minus1);
|
||||
va_TraceMsg(trace_ctx, "\tslice_beta_offset_div2 = %d\n", p->slice_beta_offset_div2);
|
||||
|
||||
@@ -3468,6 +3469,8 @@ static void va_TraceVAEncMiscParameterBuffer(
|
||||
va_TraceMsg(trace_ctx, "\trc_flags.frame_tolerance_mode = %d\n", p->rc_flags.bits.frame_tolerance_mode);
|
||||
va_TraceMsg(trace_ctx, "\tICQ_quality_factor = %d\n", p->ICQ_quality_factor);
|
||||
va_TraceMsg(trace_ctx, "\tmax_qp = %d\n", p->max_qp);
|
||||
+ va_TraceMsg(trace_ctx, "\tquality_factor = %d\n", p->quality_factor);
|
||||
+ va_TraceMsg(trace_ctx, "\ttarget_frame_size = %d\n", p->target_frame_size);
|
||||
break;
|
||||
}
|
||||
case VAEncMiscParameterTypeMaxSliceSize: {
|
||||
--
|
||||
2.37.3.windows.1
|
||||
|
||||
Binary file not shown.
BIN
libva-2.20.0.tar.gz
Normal file
BIN
libva-2.20.0.tar.gz
Normal file
Binary file not shown.
35
libva.spec
35
libva.spec
@ -1,19 +1,26 @@
|
||||
Name: libva
|
||||
Version: 2.13.0
|
||||
Release: 2
|
||||
Version: 2.20.0
|
||||
Release: 1
|
||||
Summary: Libva is an implementation for VA-API (Video Acceleration API)
|
||||
License: MIT
|
||||
URL: https://github.com/intel/libva
|
||||
Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: libtool libudev-devel libXext-devel libXfixes-devel libdrm-devel
|
||||
BuildRequires: libtool libudev-devel libdrm-devel
|
||||
%{!?_without_xorg:
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXfixes-devel
|
||||
}
|
||||
BuildRequires: libpciaccess-devel mesa-libEGL-devel mesa-libGL-devel mesa-libGLES-devel
|
||||
BuildRequires: wayland-devel pkgconfig(wayland-client) pkgconfig(wayland-scanner)
|
||||
%{!?_without_wayland:
|
||||
BuildRequires: wayland-devel
|
||||
BuildRequires: pkgconfig(wayland-client) >= 1
|
||||
BuildRequires: pkgconfig(wayland-scanner) >= 1
|
||||
}
|
||||
BuildRequires: meson gcc
|
||||
|
||||
Requires: mesa-dri-filesystem
|
||||
|
||||
Patch6000: backport-0001-Add-the-missing-trace-log-for-the-VA-encoder-API.patch
|
||||
|
||||
%description
|
||||
Libva is an implementation for VA-API, which is an open-source library and API
|
||||
specification, provides access to graphics hardware acceleration capabilities
|
||||
@ -34,19 +41,16 @@ developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
autoreconf -vif
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-glx
|
||||
|
||||
%disable_rpath
|
||||
|
||||
%make_build
|
||||
%meson \
|
||||
%{?_without_xorg: -Dwith_glx=no -Dwith_x11=no} \
|
||||
%{?_without_wayland: -Dwith_wayland=no}
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL="install -p"
|
||||
%meson_install
|
||||
%delete_la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
@ -68,6 +72,9 @@ autoreconf -vif
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 12 2023 yaoxin <yao_xin001@hoperun.com> - 2.20.0-1
|
||||
- Upgrade to 2.20.0
|
||||
|
||||
* Mon Jan 9 2023 mengwenhua<mengwenhua@xfusion.com> - 2.13.0-2
|
||||
- Add the missing trace log for the VA encoder API.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user