X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftags%2Fstable%2Fsrc%2Fmodules%2Fmod_jpeg%2Ftrgt_jpeg.h;fp=synfig-core%2Ftags%2Fstable%2Fsrc%2Fmodules%2Fmod_jpeg%2Ftrgt_jpeg.h;h=0000000000000000000000000000000000000000;hb=c5bd5e71f365fe9d1aa42b844f403d3ffc408bec;hp=3b5fa5831477f7d30f7d07086565cc44950c4645;hpb=842d1c156ee50dc0045a0b0272d090c01965b2f0;p=synfig.git diff --git a/synfig-core/tags/stable/src/modules/mod_jpeg/trgt_jpeg.h b/synfig-core/tags/stable/src/modules/mod_jpeg/trgt_jpeg.h deleted file mode 100644 index 3b5fa58..0000000 --- a/synfig-core/tags/stable/src/modules/mod_jpeg/trgt_jpeg.h +++ /dev/null @@ -1,72 +0,0 @@ -/*! ======================================================================== -** Sinfg -** Template Header File -** $Id: trgt_jpeg.h,v 1.1.1.1 2005/01/04 01:23:11 darco Exp $ -** -** Copyright (c) 2002 Robert B. Quattlebaum Jr. -** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. -** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. -** -** === N O T E S =========================================================== -** -** ========================================================================= */ - -/* === S T A R T =========================================================== */ - -#ifndef __SINFG_TRGT_JPEG_H -#define __SINFG_TRGT_JPEG_H - -/* === H E A D E R S ======================================================= */ - -#define NOMINMAX -#include -#include -#include -_ETL_BEGIN_CDECLS -#include -_ETL_END_CDECLS -#include - -/* === M A C R O S ========================================================= */ - -/* === T Y P E D E F S ===================================================== */ - -/* === C L A S S E S & S T R U C T S ======================================= */ - -class jpeg_trgt : public sinfg::Target_Scanline -{ - SINFG_TARGET_MODULE_EXT -private: - FILE *file; - int w,h,quality; - struct jpeg_compress_struct cinfo; - struct jpeg_error_mgr jerr; - - - bool multi_image,ready; - int imagecount; - sinfg::String filename; - unsigned char *buffer; - sinfg::Color *color_buffer; -public: - jpeg_trgt(const char *filename); - virtual ~jpeg_trgt(); - - virtual bool set_rend_desc(sinfg::RendDesc *desc); - virtual bool start_frame(sinfg::ProgressCallback *cb); - virtual void end_frame(); - - virtual sinfg::Color * start_scanline(int scanline); - virtual bool end_scanline(); -}; - -/* === E N D =============================================================== */ - -#endif