the me sub process and p 2 performs the dct q sc sub process as described above before performing dct in p 2 with the m th mb in a frame vop video object plane n me is the number of mbs which have completed me n dct is the number of mbs which have completed dct q sc and n dct u2266 n me p is the number of mbs which have completed me but not yet completed dct q sc i e p n me u2212 n dct and p 0 1 2 n n is the total number of mbs in a frame vop t w gt 0 is the idle time interval in p 2 while p 0 and is measured simply by counting the number of u201c no operations u201d while p 2 is waiting for the completion of me in p 1 and t dct min u2266 t dct lt t dct max in fig2 n 99 n me 19 n dct 12 and p 7 when p 2 is idle p 0 and t w gt 0 t dct m t dct m u2212 1 u2212 t w q 1 where q 1 is an integer to control the decrease rate of t dct t dct is clamped at t dct min since t dct is reduced more mbs are likely to undertake dct idct quantisation dequantisation so that the idct q sc sub process is slowed down when the progress in p 1 is faster p u2267 1 and t w 0 t dct m t dct m u2212 1 t w q 3 if n 0 u2266 p u2266 n 1 and p m u2267 p.