Operation Structures > SCAN_PARM |
SCAN_PARM: OP_D2J, OP_S2P, OP_P2S
SCAN_PARM specifies the parameters defining one progressive JPEG scan. Each progressive JPEG scan contains some fraction of the color information for each pixel in the image. See JPEG.DOC for additional information. SCAN_PARM is used in the TRANS2P operation structure and in the DIB_INPUT operation structure when used for the OP_D2P opcode.
Copy Code | |
---|---|
typedef struct {
LONG Co;
LONG Ss;
LONG Se;
LONG Ah;
LONG Al;
} SCAN_PARM; |
Name | Description |
Co |
Component indicator. The following values are allowed: 0=y, 1=Cb, 2=Cr, 3=interleaved YCbCr. |
Ss |
DCT Coefficient index of start of scan. |
Se |
DCT Coefficient index of end of scan. |
Ah |
See the JPEG spec. |
Al |
See the JPEG spec. |