ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Video-Capture-V4l/RTjpeg/codec/modules/RTquant.c
Revision: 1.1
Committed: Fri May 5 20:21:52 2000 UTC (26 years, 5 months ago) by pcg
Content type: text/plain
Branch: MAIN
CVS Tags: rel-0_9, rel-0_902, HEAD
Log Message:
Initial check-in

File Contents

# User Rev Content
1 pcg 1.1 void RTjpeg_quant_init(void)
2     {
3     }
4    
5     void RTjpeg_quant(s16 *block, s32 *qtbl)
6     {
7     int i;
8    
9     for(i=0; i<64; i++)
10     block[i]=(s16)((block[i]*qtbl[i]+32767)>>16);
11     }