Lines Matching full:imgdiff
38 def compute_patch(srcfile, tgtfile, imgdiff=False):
41 cmd = ['imgdiff', '-z'] if imgdiff else ['bsdiff']
44 # Don't dump the bsdiff/imgdiff commands, which are not useful for the case
434 # imgdiff patchstart patchlen srchash tgthash <tgt rangeset> <src_str>
461 elif xf.style in ("bsdiff", "imgdiff"):
687 # like to use imgdiff -z if possible (because it usually
691 # - imgdiff is not disabled, and
699 # which is what imgdiff needs to operate. (imgdiff is
701 imgdiff = (not self.disable_imgdiff and xf.intact and
704 xf.style = "imgdiff" if imgdiff else "bsdiff"
705 diff_queue.append((index, imgdiff, patch_num))
737 xf_index, imgdiff, patch_index = diff_queue.pop()
754 patch = compute_patch(src_file, tgt_file, imgdiff)
759 "imgdiff" if imgdiff else "bsdiff",
1187 # We specialize diff transfers only (which covers bsdiff/imgdiff/move);
1205 # few blocks remain identical, we lose the opportunity to use imgdiff
1236 # Intentionally change the file extension to avoid being imgdiff'd as