!7 Add the missing trace log for the VA encoder API.
From: @meng-wenhua Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
918291f200
@ -0,0 +1,34 @@
|
||||
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
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: libva
|
||||
Version: 2.13.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Libva is an implementation for VA-API (Video Acceleration API)
|
||||
License: MIT
|
||||
URL: https://github.com/intel/libva
|
||||
@ -12,6 +12,7 @@ BuildRequires: wayland-devel pkgconfig(wayland-client) pkgconfig(wayland-scanne
|
||||
|
||||
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
|
||||
@ -67,6 +68,9 @@ autoreconf -vif
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 9 2023 mengwenhua<mengwenhua@xfusion.com> - 2.13.0-2
|
||||
- Add the missing trace log for the VA encoder API.
|
||||
|
||||
* Tue Sep 14 2021 hanhui<hanhui15@huawei> - 2.13.0-1
|
||||
- upgrade to libva-2.13.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user