VNC-151 Update H264 encoder configurations

This commit is contained in:
El 2026-01-13 10:00:36 +00:00
parent 6a3c6eb53c
commit 8c1d0eaf0d
No known key found for this signature in database
GPG Key ID: 205388FEB607950A
2 changed files with 35 additions and 2 deletions

View File

@ -1,3 +1,20 @@
/* Copyright (C) 2025 Kasm. All Rights Reserved.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#include "EncoderConfiguration.h"
namespace rfb {
@ -31,7 +48,7 @@ namespace rfb {
// h264_nvenc
EncoderConfiguration{0, 51, {18, 23, 28, 39, 51}},
// h264_software
EncoderConfiguration{0, 51, {9, 18, 25, 39, 51}},
EncoderConfiguration{1, 51, {9, 18, 25, 39, 51}},
EncoderConfiguration{}
};

View File

@ -1,3 +1,20 @@
/* Copyright (C) 2025 Kasm. All Rights Reserved.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#include "ScreenEncoderManager.h"
#include <cassert>
#include <rfb/LogWriter.h>
@ -5,7 +22,6 @@
#include <rfb/SMsgWriter.h>
#include <rfb/encodings.h>
#include <sys/stat.h>
#include <mutex>
#include <tbb/parallel_for_each.h>
#include "VideoEncoder.h"
#include "VideoEncoderFactory.h"