Lines Matching refs:imgdiff
38 def compute_patch(src, tgt, imgdiff=False):
56 if imgdiff:
57 p = subprocess.call(["imgdiff", "-z", srcfile, tgtfile, patchfile],
465 # imgdiff patchstart patchlen <src rangeset> <tgt rangeset>
470 # imgdiff patchstart patchlen <tgt rangeset> <src_str>
475 # imgdiff patchstart patchlen srchash tgthash <tgt rangeset> <src_str>
511 elif xf.style in ("bsdiff", "imgdiff"):
731 # like to use imgdiff -z if possible (because it usually
735 # - imgdiff is not disabled, and
743 # which is what imgdiff needs to operate. (imgdiff is
745 imgdiff = (not self.disable_imgdiff and xf.intact and
748 xf.style = "imgdiff" if imgdiff else "bsdiff"
772 patch = compute_patch(src, tgt, imgdiff=(xf.style == "imgdiff"))