No BSD License  

Highlights from
Scalable MPEG compression based on DCT coefficients

Scalable MPEG compression based on DCT coefficients

by

 

15 Nov 2006 (Updated )

This application makes 2 layers base Layer and enhancement layer from quantized coefficients

zigzag(data)
 function result = zigzag(data)


result=[data(1,1) data(1,2) data(2,1) data(3,1) data(2,2)...
data(1,3) data(1,4) data(2,3) data(3,2) data(4,1)...
data(5,1) data(4,2) data(3,3) data(2,4) data(1,5) ...
data(1,6) data(2,5) data(3,4) data(4,3) data(5,2) ...
data(6,1) data(7,1) data(6,2) data(5,3) data(4,4) ...
data(3,5) data(2,6) data(1,7) data(1,8) data(2,7) ...
data(3,6) data(4,5) data(5,4) data(6,3) data(7,2) ...
data(8,1) data(8,2) data(7,3) data(6,4) data(5,5) ...
data(4,6) data(3,7) data(2,8) data(3,8) data(4,7) ...
data(5,6) data(6,5) data(7,4) data(8,3) data(8,4) ...
data(7,5) data(6,6) data(5,7) data(4,8) data(5,8) ...
data(6,7) data(7,6) data(8,5) data(8,6) data(7,7) ...
data(6,8) data(7,8) data(8,7) data(8,8)];


% result=[data(1,1); data(1,2); data(2,1); data(3,1); data(2,2);
% data(1,3); data(1,4); data(2,3); data(3,2); data(4,1);
% data(5,1); data(4,2); data(3,3); data(2,4); data(1,5);
% data(1,6); data(2,5); data(3,4); data(4,3); data(5,2);
% data(6,1); data(7,1); data(6,2); data(5,3); data(4,4);
% data(3,5); data(2,6); data(1,7); data(1,8); data(2,7);
% data(3,6); data(4,5); data(5,4); data(6,3); data(7,2);
% data(8,1); data(8,2); data(7,3); data(6,4); data(5,5);
% data(4,6); data(3,7); data(2,8); data(3,8); data(4,7);
% data(5,6); data(6,5); data(7,4); data(8,3); data(8,4);
% data(7,5); data(6,6); data(5,7); data(4,8); data(5,8);
% data(6,7); data(7,6); data(8,5); data(8,6); data(7,7);
% data(6,8); data(7,8); data(8,7); data(8,8)];

Contact us