/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @author Charlton Innovations, Inc.
*/
#ifndef _Included_ImageData
#define _Included_ImageData
#ifdef __cplusplus
extern "C" {
#endif
#include "colordata.h"
typedef struct ImageDataID {
} ImageDataID;
extern ImageDataID gImageData;
typedef struct ImageDataIntLockInfo {
unsigned int scanStride;
unsigned int bytePerChannel;
unsigned int pixelStride;
unsigned int pixelsPerData;
typedef struct ImageDataShortLockInfo {
unsigned int scanStride;
unsigned int bytePerChannel;
unsigned int pixelStride;
unsigned int pixelsPerData;
typedef struct ImageDataByteLockInfo {
unsigned int scanStride;
unsigned int bytePerChannel;
unsigned int pixelStride;
unsigned int pixelsPerData;
typedef struct ImageDataShortIndexedLockInfo {
unsigned int scanStride;
unsigned int bytePerChannel;
unsigned int pixelStride;
unsigned int pixelsPerData;
unsigned int *lockedLut;
unsigned int *arrayLockedLut;
unsigned int arrayLutSize;
typedef struct ImageDataByteIndexedLockInfo {
unsigned int scanStride;
unsigned int bytePerChannel;
unsigned int pixelStride;
unsigned int pixelsPerData;
unsigned int *lockedLut;
unsigned int *arrayLockedLut;
unsigned int arrayLutSize;
unsigned int lockedForWrite;
typedef struct ImageDataIndex8GrayLockInfo {
unsigned int scanStride;
unsigned int bytePerChannel;
unsigned int pixelStride;
unsigned int *lockedLut;
unsigned int *arrayLockedLut;
unsigned int arrayLutSize;
unsigned int lockedForWrite;
unsigned int *lockedInverseGrayLut;
typedef struct ImageDataIndex12GrayLockInfo {
unsigned int scanStride;
unsigned int bytePerChannel;
unsigned int pixelStride;
unsigned int *lockedLut;
unsigned int *arrayLockedLut;
unsigned int arrayLutSize;
pointer instead of an array */
unsigned int lockedForWrite;
unsigned int *lockedInverseGrayLut;
typedef struct ImageDataBitLockInfo {
unsigned int scanStride;
unsigned int bytePerChannel;
unsigned int pixelStride;
unsigned int pixelsPerData;
do { \
} while (0);
/*
* Integer component raster handlers
*/
/*
* Short component raster handlers
*/
/*
* Byte component raster handlers
*/
/*
* Short Indexed component raster handlers
*/
/*
* Byte Indexed component raster handlers
*/
/*
* Index 8 Gray component raster handlers
*/
/*
* Index 12 Gray component raster handlers
*/
/*
* Bit component raster handlers
*/
#ifdef __cplusplus
};
#endif
#endif