public override int GetHashCode() { unchecked { var hashCode = RegionOfInterest.GetHashCode(); hashCode = (hashCode * 397) ^ TargetFrameSize.GetHashCode(); hashCode = (hashCode * 397) ^ (int)TargetFormat; hashCode = (hashCode * 397) ^ (int)ScaleQuality; return(hashCode); } }
protected bool Equals(TransformParameters other) { return(RegionOfInterest.Equals(other.RegionOfInterest) && TargetFrameSize.Equals(other.TargetFrameSize) && TargetFormat == other.TargetFormat && ScaleQuality == other.ScaleQuality); }
protected bool Equals(PostVideoDecodingParameters other) { return(RegionOfInterest.Equals(other.RegionOfInterest) && TargetFrameSize.Equals(other.TargetFrameSize) && TargetFormat == other.TargetFormat && ScaleQuality == other.ScaleQuality); }