Mercurial > projects > dwt2
comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/internal/image/JPEGDecoder.d @ 113:fb3aa8075988
D2 support for the linux port.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 06 Apr 2011 21:57:23 +0200 |
parents | c01d033c633a |
children | 536e43f63c81 |
comparison
equal
deleted
inserted
replaced
112:9f4c18c268b2 | 113:fb3aa8075988 |
---|---|
2351 // #else | 2351 // #else |
2352 // ERREXIT(cinfo, JERR_NOT_COMPILED); | 2352 // ERREXIT(cinfo, JERR_NOT_COMPILED); |
2353 // #endif | 2353 // #endif |
2354 } else { | 2354 } else { |
2355 /* We only need a single-MCU buffer. */ | 2355 /* We only need a single-MCU buffer. */ |
2356 foreach( inout el; coef.MCU_buffer ){ | 2356 foreach( ref el; coef.MCU_buffer ){ |
2357 el = new short[](DCTSIZE2); | 2357 el = new short[](DCTSIZE2); |
2358 } | 2358 } |
2359 // coef.consume_data = dummy_consume_data; | 2359 // coef.consume_data = dummy_consume_data; |
2360 coef.decompress_data = DECOMPRESS_ONEPASS; | 2360 coef.decompress_data = DECOMPRESS_ONEPASS; |
2361 coef.coef_arrays = null; /* flag for no virtual arrays */ | 2361 coef.coef_arrays = null; /* flag for no virtual arrays */ |