mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
173 lines
9.1 KiB
C
173 lines
9.1 KiB
C
/* ************************************************************************** */
|
|
/* * For conditions of distribution and use, * */
|
|
/* * see copyright notice in libmng.h * */
|
|
/* ************************************************************************** */
|
|
/* * * */
|
|
/* * project : libmng * */
|
|
/* * file : libmng_display.h copyright (c) 2000 G.Juyn * */
|
|
/* * version : 0.9.2 * */
|
|
/* * * */
|
|
/* * purpose : Display management (definition) * */
|
|
/* * * */
|
|
/* * author : G.Juyn * */
|
|
/* * web : http://www.3-t.com * */
|
|
/* * email : mailto:info@3-t.com * */
|
|
/* * * */
|
|
/* * comment : Definition of the display managament routines * */
|
|
/* * * */
|
|
/* * changes : 0.5.1 - 05/08/2000 - G.Juyn * */
|
|
/* * - changed strict-ANSI stuff * */
|
|
/* * * */
|
|
/* * 0.5.2 - 05/20/2000 - G.Juyn * */
|
|
/* * - added JNG support stuff * */
|
|
/* * * */
|
|
/* * 0.5.3 - 06/16/2000 - G.Juyn * */
|
|
/* * - changed progressive-display processing * */
|
|
/* * 0.5.3 - 06/22/2000 - G.Juyn * */
|
|
/* * - added support for delta-image processing * */
|
|
/* * - added support for PPLT chunk processing * */
|
|
/* * * */
|
|
/* * 0.9.2 - 08/05/2000 - G.Juyn * */
|
|
/* * - changed file-prefixes * */
|
|
/* * 0.9.3 - 08/07/2000 - G.Juyn * */
|
|
/* * - B111300 - fixup for improved portability * */
|
|
/* * * */
|
|
/* ************************************************************************** */
|
|
|
|
#if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
|
|
#pragma option -A /* force ANSI-C */
|
|
#endif
|
|
|
|
#ifndef _libmng_display_h_
|
|
#define _libmng_display_h_
|
|
|
|
#include "libmng.h"
|
|
#include "libmng_data.h"
|
|
|
|
/* ************************************************************************** */
|
|
|
|
mng_retcode display_progressive_refresh (mng_datap pData,
|
|
mng_uint32 iInterval);
|
|
|
|
/* ************************************************************************** */
|
|
|
|
mng_retcode display_image (mng_datap pData,
|
|
mng_imagep pImage,
|
|
mng_bool bLayeradvanced);
|
|
|
|
mng_retcode execute_delta_image (mng_datap pData,
|
|
mng_imagep pTarget,
|
|
mng_imagep pDelta);
|
|
|
|
/* ************************************************************************** */
|
|
|
|
mng_retcode process_display (mng_datap pData);
|
|
|
|
/* ************************************************************************** */
|
|
|
|
mng_retcode process_display_ihdr (mng_datap pData);
|
|
|
|
mng_retcode process_display_idat (mng_datap pData,
|
|
mng_uint32 iRawlen,
|
|
mng_uint8p pRawdata);
|
|
|
|
mng_retcode process_display_iend (mng_datap pData);
|
|
mng_retcode process_display_mend (mng_datap pData);
|
|
mng_retcode process_display_defi (mng_datap pData);
|
|
|
|
mng_retcode process_display_basi (mng_datap pData,
|
|
mng_uint16 iRed,
|
|
mng_uint16 iGreen,
|
|
mng_uint16 iBlue,
|
|
mng_bool bHasalpha,
|
|
mng_uint16 iAlpha,
|
|
mng_uint8 iViewable);
|
|
|
|
mng_retcode process_display_clon (mng_datap pData,
|
|
mng_uint16 iSourceid,
|
|
mng_uint16 iCloneid,
|
|
mng_uint8 iClonetype,
|
|
mng_bool bHasdonotshow,
|
|
mng_uint8 iDonotshow,
|
|
mng_uint8 iConcrete,
|
|
mng_bool bHasloca,
|
|
mng_uint8 iLocationtype,
|
|
mng_int32 iLocationx,
|
|
mng_int32 iLocationy);
|
|
mng_retcode process_display_clon2 (mng_datap pData);
|
|
|
|
mng_retcode process_display_disc (mng_datap pData,
|
|
mng_uint32 iCount,
|
|
mng_uint16p pIds);
|
|
|
|
mng_retcode process_display_fram (mng_datap pData,
|
|
mng_uint8 iFramemode,
|
|
mng_uint8 iChangedelay,
|
|
mng_uint32 iDelay,
|
|
mng_uint8 iChangetimeout,
|
|
mng_uint32 iTimeout,
|
|
mng_uint8 iChangeclipping,
|
|
mng_uint8 iCliptype,
|
|
mng_int32 iClipl,
|
|
mng_int32 iClipr,
|
|
mng_int32 iClipt,
|
|
mng_int32 iClipb);
|
|
mng_retcode process_display_fram2 (mng_datap pData);
|
|
|
|
mng_retcode process_display_move (mng_datap pData,
|
|
mng_uint16 iFromid,
|
|
mng_uint16 iToid,
|
|
mng_uint8 iMovetype,
|
|
mng_int32 iMovex,
|
|
mng_int32 iMovey);
|
|
|
|
mng_retcode process_display_clip (mng_datap pData,
|
|
mng_uint16 iFromid,
|
|
mng_uint16 iToid,
|
|
mng_uint8 iCliptype,
|
|
mng_int32 iClipl,
|
|
mng_int32 iClipr,
|
|
mng_int32 iClipt,
|
|
mng_int32 iClipb);
|
|
|
|
mng_retcode process_display_show (mng_datap pData);
|
|
mng_retcode process_display_save (mng_datap pData);
|
|
mng_retcode process_display_seek (mng_datap pData);
|
|
mng_retcode process_display_jhdr (mng_datap pData);
|
|
|
|
mng_retcode process_display_jdat (mng_datap pData,
|
|
mng_uint32 iRawlen,
|
|
mng_uint8p pRawdata);
|
|
|
|
mng_retcode process_display_dhdr (mng_datap pData,
|
|
mng_uint16 iObjectid,
|
|
mng_uint8 iImagetype,
|
|
mng_uint8 iDeltatype,
|
|
mng_uint32 iBlockwidth,
|
|
mng_uint32 iBlockheight,
|
|
mng_uint32 iBlockx,
|
|
mng_uint32 iBlocky);
|
|
|
|
mng_retcode process_display_prom (mng_datap pData,
|
|
mng_uint8 iBitdepth,
|
|
mng_uint8 iColortype,
|
|
mng_uint8 iFilltype);
|
|
|
|
mng_retcode process_display_ipng (mng_datap pData);
|
|
mng_retcode process_display_ijng (mng_datap pData);
|
|
|
|
mng_retcode process_display_pplt (mng_datap pData,
|
|
mng_uint8 iType,
|
|
mng_uint32 iCount,
|
|
mng_palette8ep paIndexentries,
|
|
mng_uint8p paAlphaentries,
|
|
mng_uint8p paUsedentries);
|
|
|
|
/* ************************************************************************** */
|
|
|
|
#endif /* _libmng_display_h_ */
|
|
|
|
/* ************************************************************************** */
|
|
/* * end of file * */
|
|
/* ************************************************************************** */
|