Changeset 29442
- Timestamp:
- Oct 16, 2010, 10:46:52 AM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100823/psLib/src
- Files:
-
- 3 edited
-
jpeg/psImageJpeg.c (modified) (2 diffs)
-
jpeg/psImageJpeg.h (modified) (1 diff)
-
pslib.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100823/psLib/src/jpeg/psImageJpeg.c
r29355 r29442 208 208 209 209 // 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)210 bool psImageJpeg(const psImageJpegOptions *options, const psImage *image, bDrawBuffer *bdbuf, const char *filename) 211 211 { 212 212 PS_ASSERT_PTR_NON_NULL(options, false); … … 351 351 if (bdbuf) { 352 352 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); 354 354 } 355 355 -
branches/eam_branches/ipp-20100823/psLib/src/jpeg/psImageJpeg.h
r29355 r29442 53 53 bool psImageJpeg(const psImageJpegOptions *options, // Color map 54 54 const psImage *image, // Image to write 55 void*bdbuf,55 bDrawBuffer *bdbuf, 56 56 const char *filename // Filename of JPEG 57 57 ); 58 58 59 //bDrawBuffer *psImageJpegOverlayInit (const psImage *image);59 bDrawBuffer *psImageJpegOverlayInit (const psImage *image); 60 60 61 61 /// @} -
branches/eam_branches/ipp-20100823/psLib/src/pslib.h
r29355 r29442 17 17 #define PS_LIB_H 18 18 19 #include <kapa.h> 19 20 #include "pslib_strict.h" 20 21
Note:
See TracChangeset
for help on using the changeset viewer.
