100 likes | 200 Views
MPEG: Zigzag Order. 9. 8. 0. 0. 0. 0. 0. 0. 0. 0. 6. 0. 0. 0. 0. 0. 7. 0. 0. 5. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 9. 8. 0. 0. 0.
E N D
MPEG: Zigzag Order 9 8 0 0 0 0 0 0 0 0 6 0 0 0 0 0 7 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 8 0 0 0 0 0 0 0 0 6 0 0 0 0 0 7 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MPEG: Zigzag Order Transmit: 9 <run0> 8 <run1> 7 <run3> 6 <run9> 5 <eob> 59 zeros NOT transmitted
Cu Cv 4 MPEG: IDCT Algorithm • Direct form IDCT 7 u=0 7 v=0 (2y + 1)v (2x + 1)u f(x,y) = F(u,v) cos cos 16 16
0 0 7 0 9 0 0 0 0 8 0 0 0 0 0 6 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Cu Cv 4 0 0 0 0 0 0 0 0 MPEG: IDCT Algorithm • Direct form IDCT most natural with row order processing all zeros: 7 u=0 7 v=0 (2y + 1)v (2x + 1)u f(x,y) = F(u,v) cos cos 16 16
0 0 9 7 0 0 0 8 0 0 0 0 0 0 6 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Cu Cv 4 0 0 0 0 0 0 0 0 MPEG: IDCT Algorithm • Direct form IDCT most natural with row order processing all zeros: 7 u=0 7 v=0 (2y + 1)v (2x + 1)u f(x,y) = F(u,v) cos cos 16 16 • Implies a buffer filled with zeros prior to RL decoding. • Commutativity of addition permits reordering.
RL Decoder #< 64 8x8 buffer #= 64 MPEG: IDCT Algorithms that Process/Skip Zeros Direct Use 0 IDCT row
#< 64 8x8 buffer IDCT row #= 64 RL Decoder Direct Skip 0 #< 64 8x8 buffer #= 64 #< 64 IDCT row RL Decoder Skip Zero MPEG: IDCT Algorithms that Process/Skip Zeros Direct Use 0
MPEG: IDCT Algorithms that Process/Skip Zeros Direct Use 0 RL Decoder #< 64 8x8 buffer IDCT row #= 64 Direct Skip 0 RL Decoder #< 64 8x8 buffer #= 64 #< 64 IDCT row Skip Zero Zigzag Skip 0 #< 64 RL Decoder #< 64 8x8 buffer IDCT zigzag