This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://gist.github.com/antifuchs/e30d58a64988907f282c82231dde2cbc | |
{ config, lib, pkgs, ... }: | |
let | |
cfg = config.boot.initrd.network.tailscale; | |
# TODO: This uses old-style non-nftables iptables; ideally, we wouldn't have to opt out of that. | |
# Enabling nftables compat means having to shuffle the list of | |
# modules down in availableKernelModules; that's a bunch of work | |
# (deploying to a linux machine & rebooting to see what doesn't |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 06661cfa70b74b49cf6fd8ffe62045d327b118dd Mon Sep 17 00:00:00 2001 | |
From: noizuy <[email protected]> | |
Date: Fri, 18 Feb 2022 17:09:39 +0000 | |
Subject: [PATCH] add new AQ mode (#17) | |
add new AQ mode | |
This just adds AQ mode 3's dark bias to AQ mode 4. Because of normal AQ | |
strength values for mode 4 not really working well with the dark bias, | |
an additional bias-strength parameter has been added. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/source/common/param.cpp b/source/common/param.cpp | |
index 1a4df4cdc..e1505b29e 100755 | |
--- a/source/common/param.cpp | |
+++ b/source/common/param.cpp | |
@@ -1832,10 +1832,10 @@ int x265_check_params(x265_param* param) | |
"Invalid SAO tune level. Value must be between 0 and 4 (inclusive)"); | |
if (param->bEnableSceneCutAwareQp) | |
{ | |
- if (!param->rc.bStatRead) | |
+ if (param->bEnableSceneCutAwareQp != FORWARD && !param->rc.bStatRead) |