參數(shù)資料
型號: μSAP70732-B03
廠商: NEC Corp.
英文描述: 8 Bit Single Chip Microcontrollers(8位單片微控制器)
中文描述: 8位單片機微控制器(8位單片微控制器)
文件頁數(shù): 158/166頁
文件大?。?/td> 713K
代理商: ΜSAP70732-B03
μSAP705100-B03, μSAP70732-B03 USER'S MANUAL
158
/***** Compression sample program *****/
void
move_jpeg()
{
/* Save contents of jpegbuffer */
}
#ifdef TINY_VRAM
void
replace_vram()
{
/* Update VRAM */
}
int
compress()
{
int ret;
CJinfo.ErrorState = 0;
/* jpeg buffer start address */
CJinfo.JPEG_Buff_Bptr = jpegbuffer;
/* jpeg buffer terminate address */
CJinfo.JPEG_Buff_Eptr = (jpegbuffer + JPEGBUFFSIZE);
/* internal data RAM work area start address */
/* In this case, 0x200 to 0x5FF are used. */
CJinfo.IRAM_Buff_Bptr = (int *)0x200;
/* APPINFO structure */
CJinfo.APP_Info_Bptr = &cAppinfo;
(CJinfo.APP_Info_Bptr)->APP00_Buff_Bptr = str1;
(CJinfo.APP_Info_Bptr)->APP00_BuffSize = (short)(sizeof(str1) - 1);
(CJinfo.APP_Info_Bptr)->APP01_Buff_Bptr = str2;
(CJinfo.APP_Info_Bptr)->APP01_BuffSize = (short)(sizeof(str2) - 1);
/* work area for this library */
CJinfo.Work = (unsigned char *)WorkArea;
/* compress parameter */
CJinfo.Restart = 0;
CJinfo.Width = IMAGE_WIDTH;
CJinfo.Height = IMAGE_HEIGHT;
CJinfo.Quality = 75;
CJinfo.Sampling = SAMPLE22;
CJinfo.Mode = 1;
CJinfo.StartX = 0;
CJinfo.StartY = 0;
/* VRAM information */
CJinfo.VRAM_Bptr = (unsigned char *)VRAM_ADDR;
CJinfo.VRAM_W_Pixel = VRAM_WIDTH;
CJinfo.VRAM_H_Pixel = VRAM_HEIGHT;
CJinfo.VRAM_Line_Byte = VRAM_LINE;
CJinfo.VRAM_Pixel_Byte = VRAM_PIXEL;
/* initialize */
/* Don’t use restart marker */
/* 4:1:1 */
/* normal compress mode */
CJinfo.VRAM_Gap1_Byte = VRAM_GAP1;
CJinfo.VRAM_Gap2_Byte = VRAM_GAP2;
/* Quality table */
CJinfo.DQT_Y_Bptr = (char *)LuminanceQtbl;
CJinfo.DQT_C_Bptr = (char *)ChrominanceQtbl;
相關PDF資料
PDF描述
AADG812YRU 0.5 CMOS 1.65 V to 3.6 V Quad SPST Switches
AC1226 Micropower Thermocouple Cold Junction Compensator(微功耗熱電耦冷節(jié)點補償)
AC2626 General Purpose Temperture Probe(通用溫度探測器)
AC2626J General Purpose Temperature Probe
AC2626K General Purpose Temperature Probe
相關代理商/技術參數(shù)
參數(shù)描述
SAP-8511250B300 制造商:Seiko Instruments Inc (SII) 功能描述:
SAPM01N 制造商:SANKEN 制造商全稱:Sanken electric 功能描述:silicon power MOSFET
SAPPBU10 制造商:Panduit Corp 功能描述:ZONE CORD, CAT 6A FTP SOLID PLENUM BLUE - Cable Rools/Shrink Tubing
SAPPBU100 制造商:Panduit Corp 功能描述:ZONE CORD, CAT 6A FTP SOLID PLENUM BLUE - Cable Rools/Shrink Tubing
SAPPBU110 制造商:Panduit Corp 功能描述:ZONE CORD, CAT 6A FTP SOLID PL 制造商:Panduit Corp 功能描述:ZONE CORD, CAT 6A FTP SOLID PLENUM BLUE - Cable Rools/Shrink Tubing