Libjpeg

From DaphneWiki

(Difference between revisions)
Jump to: navigation, search
m
 
Line 1: Line 1:
JCOEF is a short, it can be changed to an int for a speed increase.
JCOEF is a short, it can be changed to an int for a speed increase.
 +
JCOEFPTR is "JCOEF FAR *" (currently a short *).
JCOEFPTR is "JCOEF FAR *" (currently a short *).
 +
JSAMPLE is unsigned char
JSAMPLE is unsigned char
 +
JSAMPROW is "JSAMPLE FAR *"  (pointer to one image row of pixel samples)
JSAMPROW is "JSAMPLE FAR *"  (pointer to one image row of pixel samples)
 +
 +
 +
 +
inptr is is JCOEFPTR, but it would probably be faster as an int ptr.
 +
 +
quantptr is an int32* or a uint32* (probably an int32* since imul is used)
 +
 +
DEQUANTIZE appears to do nothing more than multiply.

Latest revision as of 03:56, 15 August 2009

JCOEF is a short, it can be changed to an int for a speed increase.

JCOEFPTR is "JCOEF FAR *" (currently a short *).

JSAMPLE is unsigned char

JSAMPROW is "JSAMPLE FAR *" (pointer to one image row of pixel samples)


inptr is is JCOEFPTR, but it would probably be faster as an int ptr.

quantptr is an int32* or a uint32* (probably an int32* since imul is used)

DEQUANTIZE appears to do nothing more than multiply.

Personal tools