?? ijpegenc.c
字號(hào):
/*
* ======== ijpegenc.c ========
* This file defines the default parameter structure for ijpegenc.h
*/
#include <std.h>
#include "ijpegenc.h"
/*
* ======== JPEGENC_PARAMS ========
* This constant structure defines the default parameters for JPEGENC objects
*/
/*------------------------------------------------------------------*/
/* If one wants to grab a 320x240 window out of a 720x480 image, */
/* then: */
/* */
/* #define HC 720 */
/* #define VC 480 */
/* */
/* #define H 320 */
/* #define V 240 */
/* */
/* Remember H the horizontal number of samples needs to be a */
/* multiple of 16. */
/*------------------------------------------------------------------*/
#define HC 720
#define VC 576
#define H 720
#define V 576
IJPEGENC_Params IJPEGENC_PARAMS =
{
sizeof(IJPEGENC_Params),
8, /* unsigned int sample_prec; */
3, /* unsigned int num_comps; */
2, /* unsigned int num_qtables; */
0, /* unsigned int interleaved; */
0x01120112, /* unsigned int formatflag for 4:2:0; */
100, /* unsigned int quality; */
V, (V/2), (V/2), /* unsigned int num_lines 4:2:0; */
H, (H/2), (H/2), /* unsigned int num_samples; */
HC,(HC/2),(HC/2) /*unsigned int pitch;*/
};
/*------------------------------------------------------------------*/
/* Texas Instruments Incorporated 1997-2003. */
/*==================================================================*/
/* */
/*------------------------------------------------------------------*/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -