h.263 is now compiled in this Makefile, not h.263/Makefile.
[swftools.git] / lib / rfxswf.h
index 4b6e3b3..ac17e90 100644 (file)
@@ -6,9 +6,20 @@
 
    Copyright (c) 2000, 2001 Rainer Böhme <rfxswf@reflex-studio.de>
  
-   This file is distributed under the GPL, see file COPYING for details 
-
-*/
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program 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 for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
 #ifndef __RFX_SWF_INCLUDED__
 #define __RFX_SWF_INCLUDED__
@@ -338,10 +349,11 @@ typedef struct _LINESTYLE
 } LINESTYLE, * LPLINESTYLE;
 
 typedef struct _FILLSTYLE
-{ U8     type;
-  RGBA   color;
-  MATRIX         m; 
-  U16    id_bitmap;
+{ U8       type;
+  RGBA     color;
+  MATRIX    m; 
+  U16      id_bitmap;
+  GRADIENT* gradient;
 } FILLSTYLE, * LPFILLSTYLE;
      
 typedef struct _SHAPE           // NEVER access a Shape-Struct directly !
@@ -419,9 +431,9 @@ void  swf_ShapeSetBitmapRect(TAG * t, U16 gfxid, int width, int height);
 
 SHAPELINE* swf_ParseShapeData(U8*data, int bits, int fillbits, int linebits);
 SHAPE2*           swf_ShapeToShape2(SHAPE*shape);
-SHAPE*    swf_Shape2ToShape(SHAPE2*shape);
-SRECT     swf_GetShapeBoundingBox(SHAPELINE*shape);
-int       swf_SetShape2(TAG*tag, SHAPE2*shape);
+void      swf_Shape2ToShape(SHAPE2*shape2, SHAPE*shape);
+SRECT     swf_GetShapeBoundingBox(SHAPE2*shape);
+void       swf_SetShape2(TAG*tag, SHAPE2*shape);
 void      swf_Shape2Free(SHAPE2 * s);
 
 // swffont.c
@@ -849,14 +861,20 @@ typedef struct _VIDEOSTREAM
 {
     int width;
     int height;
-    int frame;
     int linex;
+
+    int owidth;
+    int oheight;
     int olinex;
+
+    int frame;
     YUV*oldpic;
     YUV*current;
-    int bbx,bby;
+    int bbx;
+    int bby;
     int*mvdx;
     int*mvdy;
+    int quant;
 
     /* modifyable: */
     int do_motion; //enable motion compensation (slow!)