I think there is no contribution from the third parameter which is const PredMode predmode in ModeCost calculation under libdirac_motionest\me_mode_decn.cpp
Yes, you're right - that looks like a mistake. It seems to me that the predictor should be xor-ed with the candidate value, and this difference used to calculate the cost.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.