Lines Matching refs:imgdiff
38 def compute_patch(src, tgt, imgdiff=False):
56 if imgdiff:
57 p = subprocess.call(["imgdiff", "-z", srcfile, tgtfile, patchfile],
464 # imgdiff patchstart patchlen <src rangeset> <tgt rangeset>
469 # imgdiff patchstart patchlen <tgt rangeset> <src_str>
474 # imgdiff patchstart patchlen srchash tgthash <tgt rangeset> <src_str>
510 elif xf.style in ("bsdiff", "imgdiff"):
730 # like to use imgdiff -z if possible (because it usually
734 # - imgdiff is not disabled, and
742 # which is what imgdiff needs to operate. (imgdiff is
744 imgdiff = (not self.disable_imgdiff and xf.intact and
747 xf.style = "imgdiff" if imgdiff else "bsdiff"
771 patch = compute_patch(src, tgt, imgdiff=(xf.style == "imgdiff"))