Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 protected bool Equals(TransformParameters other)
 {
     return(RegionOfInterest.Equals(other.RegionOfInterest) &&
            TargetFrameSize.Equals(other.TargetFrameSize) &&
            TargetFormat == other.TargetFormat && ScaleQuality == other.ScaleQuality);
 }
Exemplo n.º 3
0
 protected bool Equals(PostVideoDecodingParameters other)
 {
     return(RegionOfInterest.Equals(other.RegionOfInterest) &&
            TargetFrameSize.Equals(other.TargetFrameSize) &&
            TargetFormat == other.TargetFormat && ScaleQuality == other.ScaleQuality);
 }