Searched refs:nextScale (Results 1 – 2 of 2) sorted by relevance
47 int nextScale = 8; in write() local49 if (nextScale != 0) { in write()63 int nextScale = 8; in read() local65 if (nextScale != 0) { in read()67 nextScale = (lastScale + deltaScale + 256) % 256; in read()68 sl.useDefaultScalingMatrixFlag = (j == 0 && nextScale == 0); in read()70 sl.scalingList[j] = nextScale == 0 ? lastScale : nextScale; in read()
223 unsigned lastScale = 8, nextScale = 8; in scaling_list() local237 if (nextScale != 0) { in scaling_list()239 nextScale = (lastScale + delta_scale + 256) % 256; in scaling_list()240 if (i == 0 && nextScale == 0) { in scaling_list()245 scalingList[list[i]] = nextScale == 0 ? lastScale : nextScale; in scaling_list()