IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 16, 2010, 10:46:52 AM (16 years ago)
Author:
eugene
Message:

add bDrawBuffer to psImageJpeg options, allowing for future overlays (requires kapa.h to deal with BYTE_SWAP issues)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/psLib/src/jpeg/psImageJpeg.c

    r29355 r29442  
    208208
    209209// XXX need to update bDraw APIs to pass in/out structure and avoid the local static
    210 bool psImageJpeg(const psImageJpegOptions *options, const psImage *image, void *bdbuf, const char *filename)
     210bool psImageJpeg(const psImageJpegOptions *options, const psImage *image, bDrawBuffer *bdbuf, const char *filename)
    211211{
    212212  PS_ASSERT_PTR_NON_NULL(options, false);
     
    351351  if (bdbuf) {
    352352    offset = (options->showScale == PS_JPEG_SHOWSCALE_TOP) ? PS_JPEG_COLORPAD + PS_JPEG_LABELPAD : 0;
    353     psImageJpegOverlayDraw(jpegImage, (bDrawBuffer *) bdbuf, 0, offset);
     353    psImageJpegOverlayDraw(jpegImage, bdbuf, 0, offset);
    354354  }
    355355
Note: See TracChangeset for help on using the changeset viewer.