15ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* 25ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * transupp.h 35ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * 45033f3e19a31e8ad40c1a79700365aefe5664494DRC * This file was part of the Independent JPEG Group's software: 55829cb23983cd241c48abd8ed70ff3627560c453Guido Vollbeding * Copyright (C) 1997-2011, Thomas G. Lane, Guido Vollbeding. 65033f3e19a31e8ad40c1a79700365aefe5664494DRC * It was modified by The libjpeg-turbo Project to include only code relevant 75033f3e19a31e8ad40c1a79700365aefe5664494DRC * to libjpeg-turbo. 85ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * For conditions of distribution and use, see the accompanying README file. 95ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * 105ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * This file contains declarations for image transformation routines and 115ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * other utility code used by the jpegtran sample application. These are 125ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * NOT part of the core JPEG library. But we keep these routines separate 135ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * from jpegtran.c to ease the task of maintaining jpegtran-like programs 145ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * that have other user interfaces. 155ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * 165ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * NOTE: all the routines declared here have very specific requirements 175ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * about when they are to be executed during the reading and writing of the 185ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * source and destination files. See the comments in transupp.c, or see 195ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * jpegtran.c for an example of correct usage. 205ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane */ 215ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 225ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* If you happen not to want the image transform support, disable it here */ 235ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane#ifndef TRANSFORMS_SUPPORTED 24b775351012af176720429ac21d11682a0b75b4b7DRC#define TRANSFORMS_SUPPORTED 1 /* 0 disables transform code */ 255ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane#endif 265ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 275ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* 285ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * Although rotating and flipping data expressed as DCT coefficients is not 295ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * hard, there is an asymmetry in the JPEG format specification for images 305ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * whose dimensions aren't multiples of the iMCU size. The right and bottom 315ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * image edges are padded out to the next iMCU boundary with junk data; but 325ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * no padding is possible at the top and left edges. If we were to flip 335ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * the whole image including the pad data, then pad garbage would become 345ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * visible at the top and/or left, and real pixels would disappear into the 355ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * pad margins --- perhaps permanently, since encoders & decoders may not 365ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * bother to preserve DCT blocks that appear to be completely outside the 375ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * nominal image area. So, we have to exclude any partial iMCUs from the 385ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * basic transformation. 395ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * 405ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * Transpose is the only transformation that can handle partial iMCUs at the 415ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * right and bottom edges completely cleanly. flip_h can flip partial iMCUs 425ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * at the bottom, but leaves any partial iMCUs at the right edge untouched. 435ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * Similarly flip_v leaves any partial iMCUs at the bottom edge untouched. 445ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * The other transforms are defined as combinations of these basic transforms 455ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * and process edge blocks in a way that preserves the equivalence. 465ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * 475ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * The "trim" option causes untransformable partial iMCUs to be dropped; 485ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * this is not strictly lossless, but it usually gives the best-looking 495ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * result for odd-size images. Note that when this option is active, 505ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * the expected mathematical equivalences between the transforms may not hold. 515ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * (For example, -rot 270 -trim trims only the bottom edge, but -rot 90 -trim 525ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * followed by -rot 180 -trim trims both edges.) 535ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * 545996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * We also offer a lossless-crop option, which discards data outside a given 555996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * image region but losslessly preserves what is inside. Like the rotate and 565996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * flip transforms, lossless crop is restricted by the JPEG format: the upper 575996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * left corner of the selected region must fall on an iMCU boundary. If this 585996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * does not hold for the given crop parameters, we silently move the upper left 595996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * corner up and/or left to make it so, simultaneously increasing the region 605996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * dimensions to keep the lower right crop corner unchanged. (Thus, the 615996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * output image covers at least the requested region, but may cover more.) 625829cb23983cd241c48abd8ed70ff3627560c453Guido Vollbeding * The adjustment of the region dimensions may be optionally disabled. 635996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * 64989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding * We also provide a lossless-resize option, which is kind of a lossless-crop 65989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding * operation in the DCT coefficient block domain - it discards higher-order 66989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding * coefficients and losslessly preserves lower-order coefficients of a 67989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding * sub-block. 68989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding * 69989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding * Rotate/flip transform, resize, and crop can be requested together in a 70989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding * single invocation. The crop is applied last --- that is, the crop region 71989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding * is specified in terms of the destination image after transform/resize. 725996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * 735ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * We also offer a "force to grayscale" option, which simply discards the 745ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * chrominance channels of a YCbCr image. This is lossless in the sense that 755ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * the luminance channel is preserved exactly. It's not the same kind of 765ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * thing as the rotate/flip transformations, but it's convenient to handle it 775ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * as part of this package, mainly because the transformation routines have to 785ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * be aware of the option to know how many components to work on. 795ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane */ 805ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 815996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding 825996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding/* 835996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * Codes for supported types of image transformations. 845996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding */ 855996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding 865996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbedingtypedef enum { 87333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JXFORM_NONE, /* no transformation */ 88333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JXFORM_FLIP_H, /* horizontal flip */ 89333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JXFORM_FLIP_V, /* vertical flip */ 90333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JXFORM_TRANSPOSE, /* transpose across UL-to-LR axis */ 91333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JXFORM_TRANSVERSE, /* transpose across UR-to-LL axis */ 92333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JXFORM_ROT_90, /* 90-degree clockwise rotation */ 93333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JXFORM_ROT_180, /* 180-degree rotation */ 94333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JXFORM_ROT_270 /* 270-degree clockwise (or 90 ccw) */ 955996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding} JXFORM_CODE; 965996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding 975996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding/* 985996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * Codes for crop parameters, which can individually be unspecified, 995829cb23983cd241c48abd8ed70ff3627560c453Guido Vollbeding * positive or negative for xoffset or yoffset, 1005829cb23983cd241c48abd8ed70ff3627560c453Guido Vollbeding * positive or forced for width or height. 1015996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding */ 1025996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding 1035996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbedingtypedef enum { 104333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JCROP_UNSET, 105333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JCROP_POS, 106333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JCROP_NEG, 107333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JCROP_FORCE 1085996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding} JCROP_CODE; 1095996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding 1105996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding/* 1115996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * Transform parameters struct. 1125996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * NB: application must not change any elements of this struct after 1135996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * calling jtransform_request_workspace. 1145996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding */ 1155996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding 1165ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lanetypedef struct { 1175ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane /* Options: set by caller */ 118b775351012af176720429ac21d11682a0b75b4b7DRC JXFORM_CODE transform; /* image transform operator */ 119b775351012af176720429ac21d11682a0b75b4b7DRC boolean perfect; /* if TRUE, fail if partial MCUs are requested */ 120b775351012af176720429ac21d11682a0b75b4b7DRC boolean trim; /* if TRUE, trim partial MCUs as needed */ 121b775351012af176720429ac21d11682a0b75b4b7DRC boolean force_grayscale; /* if TRUE, convert color image to grayscale */ 122b775351012af176720429ac21d11682a0b75b4b7DRC boolean crop; /* if TRUE, crop source image */ 123ba5ea5143e48b71234414139e3b4cb244599e875DRC boolean slow_hflip; /* For best performance, the JXFORM_FLIP_H transform 124ba5ea5143e48b71234414139e3b4cb244599e875DRC normally modifies the source coefficients in place. 125ba5ea5143e48b71234414139e3b4cb244599e875DRC Setting this to TRUE will instead use a slower, 126ba5ea5143e48b71234414139e3b4cb244599e875DRC double-buffered algorithm, which leaves the source 127ba5ea5143e48b71234414139e3b4cb244599e875DRC coefficients in tact (necessary if other transformed 128ba5ea5143e48b71234414139e3b4cb244599e875DRC images must be generated from the same set of 129ba5ea5143e48b71234414139e3b4cb244599e875DRC coefficients. */ 1305996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding 1315996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding /* Crop parameters: application need not set these unless crop is TRUE. 1325996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * These can be filled in by jtransform_parse_crop_spec(). 1335996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding */ 134b775351012af176720429ac21d11682a0b75b4b7DRC JDIMENSION crop_width; /* Width of selected region */ 135b775351012af176720429ac21d11682a0b75b4b7DRC JCROP_CODE crop_width_set; /* (forced disables adjustment) */ 136b775351012af176720429ac21d11682a0b75b4b7DRC JDIMENSION crop_height; /* Height of selected region */ 137b775351012af176720429ac21d11682a0b75b4b7DRC JCROP_CODE crop_height_set; /* (forced disables adjustment) */ 138b775351012af176720429ac21d11682a0b75b4b7DRC JDIMENSION crop_xoffset; /* X offset of selected region */ 139b775351012af176720429ac21d11682a0b75b4b7DRC JCROP_CODE crop_xoffset_set; /* (negative measures from right edge) */ 140b775351012af176720429ac21d11682a0b75b4b7DRC JDIMENSION crop_yoffset; /* Y offset of selected region */ 141b775351012af176720429ac21d11682a0b75b4b7DRC JCROP_CODE crop_yoffset_set; /* (negative measures from bottom edge) */ 1425ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 1435ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane /* Internal workspace: caller should not touch these */ 144b775351012af176720429ac21d11682a0b75b4b7DRC int num_components; /* # of components in workspace */ 1455ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane jvirt_barray_ptr * workspace_coef_arrays; /* workspace for transformations */ 146b775351012af176720429ac21d11682a0b75b4b7DRC JDIMENSION output_width; /* cropped destination dimensions */ 1475996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding JDIMENSION output_height; 148b775351012af176720429ac21d11682a0b75b4b7DRC JDIMENSION x_crop_offset; /* destination crop offsets measured in iMCUs */ 1495996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding JDIMENSION y_crop_offset; 150b775351012af176720429ac21d11682a0b75b4b7DRC int iMCU_sample_width; /* destination iMCU size */ 151989630f70cf1af69ebfefca8910d1647bf189712Guido Vollbeding int iMCU_sample_height; 1525ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane} jpeg_transform_info; 1535ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 1545ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 1555ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane#if TRANSFORMS_SUPPORTED 1565ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 1575996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding/* Parse a crop specification (written in X11 geometry style) */ 1585996a25e2f50d20d6a8f09830724035b49c3927bGuido VollbedingEXTERN(boolean) jtransform_parse_crop_spec 159bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC (jpeg_transform_info *info, const char *spec); 1605ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* Request any required workspace */ 161989630f70cf1af69ebfefca8910d1647bf189712Guido VollbedingEXTERN(boolean) jtransform_request_workspace 162bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC (j_decompress_ptr srcinfo, jpeg_transform_info *info); 1635ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* Adjust output image parameters */ 1645ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. LaneEXTERN(jvirt_barray_ptr *) jtransform_adjust_parameters 165bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 166bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC jvirt_barray_ptr *src_coef_arrays, jpeg_transform_info *info); 1675ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* Execute the actual transformation, if any */ 1685996a25e2f50d20d6a8f09830724035b49c3927bGuido VollbedingEXTERN(void) jtransform_execute_transform 169bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 170bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC jvirt_barray_ptr *src_coef_arrays, jpeg_transform_info *info); 1715996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding/* Determine whether lossless transformation is perfectly 1725996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * possible for a specified image and transformation. 1735996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding */ 1745996a25e2f50d20d6a8f09830724035b49c3927bGuido VollbedingEXTERN(boolean) jtransform_perfect_transform 175bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC (JDIMENSION image_width, JDIMENSION image_height, int MCU_width, 176bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC int MCU_height, JXFORM_CODE transform); 1775996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding 1785996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding/* jtransform_execute_transform used to be called 1795996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * jtransform_execute_transformation, but some compilers complain about 1805996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * routine names that long. This macro is here to avoid breaking any 1815996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding * old source code that uses the original name... 1825996a25e2f50d20d6a8f09830724035b49c3927bGuido Vollbeding */ 183b775351012af176720429ac21d11682a0b75b4b7DRC#define jtransform_execute_transformation jtransform_execute_transform 1845ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 1855ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane#endif /* TRANSFORMS_SUPPORTED */ 1865ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 1875ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 1885ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* 1895ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane * Support for copying optional markers from source to destination file. 1905ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane */ 1915ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 1925ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lanetypedef enum { 193333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JCOPYOPT_NONE, /* copy no optional markers */ 194333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JCOPYOPT_COMMENTS, /* copy only comment (COM) markers */ 195333e9187c8a6f69833baaee51ccd802b0e093cc1DRC JCOPYOPT_ALL /* copy all optional markers */ 1965ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane} JCOPY_OPTION; 1975ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 198b775351012af176720429ac21d11682a0b75b4b7DRC#define JCOPYOPT_DEFAULT JCOPYOPT_COMMENTS /* recommended default */ 1995ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane 2005ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* Setup decompression object to save desired markers in memory */ 2015ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. LaneEXTERN(void) jcopy_markers_setup 202bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC (j_decompress_ptr srcinfo, JCOPY_OPTION option); 2035ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. Lane/* Copy markers saved in the given source object to the destination object */ 2045ead57a34a398aa798f35bd7a6abad19b2e453e2Thomas G. LaneEXTERN(void) jcopy_markers_execute 205bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 206bc56b754e1a6a1db9ccadf64d6dda8a74140e1a3DRC JCOPY_OPTION option); 207