No BSD License
-
BmotionEstARPS(imgP, imgI, mb...
Computes motion vectors using Adaptive Rood Pattern Search method
-
BmotionEstARPS(imgP, imgI, mb...
Computes motion vectors using Adaptive Rood Pattern Search method
-
BmotionEstDS(imgP, imgI, mbSi...
Computes motion vectors using Diamond Search method
-
BmotionEstES(imgP, imgI, mbSi...
Computes motion vectors using exhaustive search method
-
BmotionEstTSS(imgP, imgI, mbS...
Computes motion vectors using Three Step Search method
-
Idecoder(c,array,MatAC,MatDC)
layer = inverseDCT(layer,DCT_trans,array);
-
JQ1=compensatedFrameB(Im,buff...
imgComp=double(imgComp);
-
JQ=forwardDCT(Im,array)
-
MC(xref,vx,vy,N);
Motion compensation/prediction for image coding.
-
[B2,B3,P4,B5,B6,P7,B8,B9,I10]...
-
[bufferImageP,streamP,motionV...
imageSubtract2=double(imageSubtract2);
-
[bufferImageP,subFrame]=pFram...
-
[motionVect, zeroMatrixCount]...
-
bDecoder(c,array,MatAC,MatDC,...
-
bFrameCal(ImB,bufferImageIP,a...
-
bFrameProc(B,I,P,array,mbSize...
-
chkcategory(valt,category)
-
costFuncMAD(currentBlk,refBlk...
Computes the Mean Absolute Difference (MAD) for the given two blocks
-
deZigZag(data)
-
decoder(c,motionVect,identifi...
-
imgPSNR(imgP, imgComp, n)
Computes motion compensated image's PSNR
-
inverseDCT(JQ,array)
-
m=deRunLength(c,array,MatAC,M...
-
makeLayers(c)
-
minCost(costs)
Finds the indices of the cell that holds the minimum cost
-
motionComp(imgI, motionVect, ...
Computes motion compensated image using the given motion vectors
-
motionEstDS(imgP, imgI, mbSiz...
Computes motion vectors using Diamond Search method
-
motionEstES(imgP, imgI, mbSiz...
Computes motion vectors using exhaustive search method
-
motionEstES(imgP, imgI, mbSiz...
Computes motion vectors using exhaustive search method
-
motionEstTSS(imgP, imgI, mbSi...
Computes motion vectors using Three Step Search method
-
pDecoder(c,array,MatAC,MatDC,...
-
zigzag(data)
-
main44.m
-
news.avi
-
View all files
from
mpeg compression
by Zahid Ali
Mpeg compression
|
| chkcategory(valt,category)
|
function valt = chkcategory(valt,category)
% if category==0
% if (valt 0= 2 & valt <=3)
% valt=valt;
% else
% valt=bitcmp(valt,category);
% end
% end
if category==1
if valt == 1
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
if category==2
if (valt >= 2 & valt <=3)
valt = valt;
else
valt = - bitcmp(valt,category);
end
end
if category==3
if (valt >= 4 & valt <=7)
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
if category==4
if (valt >= 8 & valt <=15)
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
if category==5
if (valt >= 16 & valt <=31)
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
if category==6
if (valt >= 32 & valt <=63)
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
if category==7
if (valt >= 64 & valt <=127)
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
if category==8
if (valt >= 128 & valt <=255)
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
if category==9
if (valt >= 256 & valt <=511)
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
if category==10
if (valt >= 512 & valt <=1023)
valt=valt;
else
valt = - bitcmp(valt,category);
end
end
|
|
Contact us at files@mathworks.com