Wednesday, May 25, 2005

 

PSNR

The Matlab code to measure PSNR is


Q = 255;
MSE = sum(sum((double(OutputImage)-double(Orig_I)) .^ 2)) / nRow / nCol;
psnr = 10*log10(Q*Q/MSE);

Tuesday, May 10, 2005

 

PL1RAMInfo

PalPL1RAMGetMaxAddressWidthCT() = 20
PalPL1RAMGetMaxDataWidthCT() = 36

(They are the same as PalPL1RAMGetAddressWidthCT() and PalPL1RAMGetDataWidthCT)

Wednesday, May 04, 2005

 

Pal_FrameBuffer16 Functions

Pal_FrameBuffer16 functions
extern macro proc PalFrameBuffer16Run       (FrameBuffer16PtrPtr, 
PL1RAMHandleCT,
VideoOutHandleCT,
ClockRate);
extern macro proc PalFrameBuffer16Reset (FrameBuffer16Ptr);
extern macro proc PalFrameBuffer16Enable (FrameBuffer16Ptr);
extern macro proc PalFrameBuffer16Disable (FrameBuffer16Ptr);
extern macro proc PalFrameBuffer16ReadPair (FrameBuffer16Ptr, X, Y,
PixelPairPtr);
extern macro proc PalFrameBuffer16WritePair (FrameBuffer16Ptr, X, Y,
LeftPixel, RightPixel);
extern macro proc PalFrameBuffer16Read (FrameBuffer16Ptr, X, Y, PixelPtr);
extern macro proc PalFrameBuffer16Write (FrameBuffer16Ptr, X, Y, Pixel);

This page is powered by Blogger. Isn't yours?