[x265] [PATCH 1 of 4] Enable cli parameters for unidirectional weighted prediction

shazeb at multicorewareinc.com shazeb at multicorewareinc.com
Tue Oct 1 09:51:44 CEST 2013


# HG changeset patch
# User Shazeb Nawaz Khan <shazeb at multicorewareinc.com>
# Date 1380606602 -19800
#      Tue Oct 01 11:20:02 2013 +0530
# Node ID b089a7ff0d73efa6b9da3ee98ba6c8191ff3652b
# Parent  a03659cfa9574a2639292e427b2cb3d080c648ad
Enable cli parameters for unidirectional weighted prediction...

As part of enabling unidirectional weighted prediction after introduction of frame parallelism

diff -r a03659cfa957 -r b089a7ff0d73 source/x265opts.h
--- a/source/x265opts.h	Mon Sep 30 21:26:49 2013 -0500
+++ b/source/x265opts.h	Tue Oct 01 11:20:02 2013 +0530
@@ -69,8 +69,8 @@
 OPT("ref",             param->maxNumReferences,       required_argument, 0, "max number of L0 references to be allowed  (1 .. 16)")
 // Disabled because weighted uni-prediction was busted by not using
 // pre-generated planes in motion compensation
-//OPT("no-weightp",      param->bEnableWeightedPred,          no_argument, 0, "Disable weighted prediction in P slices")
-//OPT("weightp",         param->bEnableWeightedPred,          no_argument, 'w', "Enable weighted prediction in P slices")
+OPT("no-weightp",      param->bEnableWeightedPred,          no_argument, 0, "Disable weighted prediction in P slices")
+OPT("weightp",         param->bEnableWeightedPred,          no_argument, 'w', "Enable weighted prediction in P slices")
 // Disabled because weighted bi prediction is busted
 //OPT("no-weightbp",     param->bEnableWeightedBiPred,        no_argument, 0, "Disable weighted (bidirectional) prediction in B slices")
 //OPT("weightbp",        param->bEnableWeightedBiPred,        no_argument, 0, "Enable weighted (bidirectional) prediction in B slices")


More information about the x265-devel mailing list