Searched refs:lastScale (Results 1 – 2 of 2) sorted by relevance
46 int lastScale = 8; in write() local50 int deltaScale = scalingList[j] - lastScale - 256; in write()53 lastScale = scalingList[j]; in write()62 int lastScale = 8; in read() local67 nextScale = (lastScale + deltaScale + 256) % 256; in read()70 sl.scalingList[j] = nextScale == 0 ? lastScale : nextScale; in read()71 lastScale = sl.scalingList[j]; in read()
223 unsigned lastScale = 8, nextScale = 8; in scaling_list() local239 nextScale = (lastScale + delta_scale + 256) % 256; in scaling_list()245 scalingList[list[i]] = nextScale == 0 ? lastScale : nextScale; in scaling_list()246 lastScale = scalingList[list[i]]; in scaling_list()