Kaydet (Commit) 4d687aec authored tarafından David Tardon's avatar David Tardon

just use ANSI C declarations

Change-Id: Iec50f3474b97497c50522eabb4435795b3ba3b56
üst c838ce2f
...@@ -164,27 +164,27 @@ typedef struct { ...@@ -164,27 +164,27 @@ typedef struct {
/* Parse a crop specification (written in X11 geometry style) */ /* Parse a crop specification (written in X11 geometry style) */
EXTERN(boolean) jtransform_parse_crop_spec EXTERN(boolean) jtransform_parse_crop_spec
JPP((jpeg_transform_info *info, const char *spec)); (jpeg_transform_info *info, const char *spec);
/* Request any required workspace */ /* Request any required workspace */
EXTERN(boolean) jtransform_request_workspace EXTERN(boolean) jtransform_request_workspace
JPP((j_decompress_ptr srcinfo, jpeg_transform_info *info)); (j_decompress_ptr srcinfo, jpeg_transform_info *info);
/* Adjust output image parameters */ /* Adjust output image parameters */
EXTERN(jvirt_barray_ptr *) jtransform_adjust_parameters EXTERN(jvirt_barray_ptr *) jtransform_adjust_parameters
JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays, jvirt_barray_ptr *src_coef_arrays,
jpeg_transform_info *info)); jpeg_transform_info *info);
/* Execute the actual transformation, if any */ /* Execute the actual transformation, if any */
EXTERN(void) jtransform_execute_transform EXTERN(void) jtransform_execute_transform
JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
jvirt_barray_ptr *src_coef_arrays, jvirt_barray_ptr *src_coef_arrays,
jpeg_transform_info *info)); jpeg_transform_info *info);
/* Determine whether lossless transformation is perfectly /* Determine whether lossless transformation is perfectly
* possible for a specified image and transformation. * possible for a specified image and transformation.
*/ */
EXTERN(boolean) jtransform_perfect_transform EXTERN(boolean) jtransform_perfect_transform
JPP((JDIMENSION image_width, JDIMENSION image_height, (JDIMENSION image_width, JDIMENSION image_height,
int MCU_width, int MCU_height, int MCU_width, int MCU_height,
JXFORM_CODE transform)); JXFORM_CODE transform);
/* jtransform_execute_transform used to be called /* jtransform_execute_transform used to be called
* jtransform_execute_transformation, but some compilers complain about * jtransform_execute_transformation, but some compilers complain about
...@@ -209,8 +209,8 @@ typedef enum { ...@@ -209,8 +209,8 @@ typedef enum {
/* Setup decompression object to save desired markers in memory */ /* Setup decompression object to save desired markers in memory */
EXTERN(void) jcopy_markers_setup EXTERN(void) jcopy_markers_setup
JPP((j_decompress_ptr srcinfo, JCOPY_OPTION option)); (j_decompress_ptr srcinfo, JCOPY_OPTION option);
/* Copy markers saved in the given source object to the destination object */ /* Copy markers saved in the given source object to the destination object */
EXTERN(void) jcopy_markers_execute EXTERN(void) jcopy_markers_execute
JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
JCOPY_OPTION option)); JCOPY_OPTION option);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment