[x265] [PATCH] encoder: disable rdoq when psyrd is enabled
sumalatha at multicorewareinc.com
sumalatha at multicorewareinc.com
Fri Jun 20 09:00:05 CEST 2014
# HG changeset patch
# User Sumalatha Polureddy<sumalatha at multicorewareinc.com>
# Date 1403247577 -19800
# Node ID 3ba3a6ab5df6e140ce1c829e091dc5b2386d122d
# Parent 57f26a8b7ecbf943ea54b656b2d868d51073a4db
encoder: disable rdoq when psyrd is enabled
diff -r 57f26a8b7ecb -r 3ba3a6ab5df6 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp Fri Jun 20 00:56:00 2014 -0500
+++ b/source/encoder/encoder.cpp Fri Jun 20 12:29:37 2014 +0530
@@ -1248,7 +1248,14 @@
p->bBPyramid = 0;
}
- m_bEnableRDOQ = p->rdLevel >= 4;
+ if (p->psyRd > 0)
+ {
+ m_bEnableRDOQ = 0;
+ }
+ else
+ {
+ m_bEnableRDOQ = p->rdLevel >= 4;
+ }
if (p->bLossless)
{
More information about the x265-devel
mailing list