From 0496616bbf6e68b56e10d1dc8849b9dca3ec198f Mon Sep 17 00:00:00 2001 From: Tomasz Janczak Date: Wed, 6 Dec 2023 09:23:01 +0100 Subject: [PATCH] Run scale filters on EU instead fixed-function (5ms -> 0.5ms filter time) (#3) --- test_scripts/docker_multiviewer.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_scripts/docker_multiviewer.sh b/test_scripts/docker_multiviewer.sh index 1a65ed4..0f142f3 100755 --- a/test_scripts/docker_multiviewer.sh +++ b/test_scripts/docker_multiviewer.sh @@ -28,10 +28,10 @@ docker run -it \ -framerate 50 -pixel_format yuv422p10le -width 3840 -height 2160 -port $NIC_PORT -local_addr $LOCAL_IP_ADDRESS -src_addr $SOURCE_IP_ADDRESS -udp_port 20002 -total_sessions 4 -ext_frames_mode 1 -f kahawai -i "2" \ -framerate 50 -pixel_format yuv422p10le -width 3840 -height 2160 -port $NIC_PORT -local_addr $LOCAL_IP_ADDRESS -src_addr $SOURCE_IP_ADDRESS -udp_port 20003 -total_sessions 4 -ext_frames_mode 1 -f kahawai -i "3" \ -filter_complex "\ - [0:v]hwupload=extra_hw_frames=4,scale_qsv=w=iw/2:h=ih/2[tile0];\ - [1:v]hwupload,scale_qsv=w=iw/2:h=ih/2[tile1];\ - [2:v]hwupload,scale_qsv=w=iw/2:h=ih/2[tile2];\ - [3:v]hwupload,scale_qsv=w=iw/2:h=ih/2[tile3];\ + [0:v]hwupload=extra_hw_frames=4,scale_qsv=w=iw/2:h=ih/2:mode=compute[tile0];\ + [1:v]hwupload,scale_qsv=w=iw/2:h=ih/2:mode=compute[tile1];\ + [2:v]hwupload,scale_qsv=w=iw/2:h=ih/2:mode=compute[tile2];\ + [3:v]hwupload,scale_qsv=w=iw/2:h=ih/2:mode=compute[tile3];\ [tile0][tile1][tile2][tile3]xstack_qsv=inputs=4:layout=0_0|0_h0|w0_0|w0_h0[out];\ [out]hwdownload,format=y210[multiview]" \ -map "[multiview]" -f rawvideo -pix_fmt y210le /config/out_y210le.yuv