code cleanup: header cleanup

This commit is contained in:
Campbell Barton 2012-04-30 14:24:11 +00:00
parent 99c29814f0
commit 112162e09e
108 changed files with 393 additions and 436 deletions

@ -1,7 +1,4 @@
/*
*
* This is external code.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -31,6 +28,8 @@
/** \file blender/avi/intern/avi.c
* \ingroup avi
*
* This is external code.
*/

@ -1,7 +1,4 @@
/*
*
* This is external code. Converts rgb-type avi-s.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -31,6 +28,8 @@
/** \file blender/avi/intern/avirgb.c
* \ingroup avi
*
* This is external code. Converts rgb-type avi-s.
*/

@ -1,7 +1,4 @@
/*
*
* This is external code. Identify and convert different avi-files.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -30,6 +27,8 @@
/** \file blender/avi/intern/codecs.c
* \ingroup avi
*
* This is external code. Identify and convert different avi-files.
*/

@ -1,8 +1,4 @@
/*
*
* This is external code. Streams bytes to output depending on the
* endianness of the system.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -32,6 +28,9 @@
/** \file blender/avi/intern/endian.c
* \ingroup avi
*
* This is external code. Streams bytes to output depending on the
* endianness of the system.
*/

@ -1,7 +1,4 @@
/*
*
* This is external code.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -26,14 +23,14 @@
* Contributor(s): none yet.
*
* ***** END GPL LICENSE BLOCK *****
*
*/
/** \file blender/avi/intern/endian.h
* \ingroup avi
*
* This is external code.
*/
#ifndef __ENDIAN_H__
#define __ENDIAN_H__

@ -1,7 +1,4 @@
/*
*
* This is external code. Converts between avi and mpeg/jpeg.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -31,6 +28,8 @@
/** \file blender/avi/intern/mjpeg.c
* \ingroup avi
*
* This is external code. Converts between avi and mpeg/jpeg.
*/

@ -1,8 +1,4 @@
/*
*
* This is external code. Sets some compression related options
* (width, height quality, framerate).
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -32,6 +28,9 @@
/** \file blender/avi/intern/options.c
* \ingroup avi
*
* This is external code. Sets some compression related options
* (width, height quality, framerate).
*/
#include "AVI_avi.h"

@ -1,7 +1,4 @@
/*
*
* This is external code. Converts between rgb32 and avi.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -31,6 +28,8 @@
/** \file blender/avi/intern/rgb32.c
* \ingroup avi
*
* This is external code. Converts between rgb32 and avi.
*/

@ -69,13 +69,13 @@ void defvert_flip_merged(struct MDeformVert *dvert, const int *flip_map, const i
void defvert_normalize(struct MDeformVert *dvert);
void defvert_normalize_lock(struct MDeformVert *dvert, const int def_nr_lock);
/* utility function, note that 32 chars is the maximum string length since its only
/* utility function, note that MAX_VGROUP_NAME chars is the maximum string length since its only
* used with defgroups currently */
void BKE_deform_split_suffix(const char string[MAX_VGROUP_NAME], char base[MAX_VGROUP_NAME], char ext[MAX_VGROUP_NAME]);
void BKE_deform_split_prefix(const char string[MAX_VGROUP_NAME], char base[MAX_VGROUP_NAME], char ext[MAX_VGROUP_NAME]);
void flip_side_name(char name[64], const char from_name[64], int strip_number);
void flip_side_name(char name[MAX_VGROUP_NAME], const char from_name[MAX_VGROUP_NAME], int strip_number);
#endif

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -24,7 +23,6 @@
* Contributor(s): none yet.
*
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __BKE_DISPLIST_H__

@ -1,4 +1,4 @@
/**
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -6,6 +6,15 @@
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Contributor(s): Miika Hämäläinen
*
* ***** END GPL LICENSE BLOCK *****
@ -14,6 +23,10 @@
#ifndef __BKE_DYNAMICPAINT_H__
#define __BKE_DYNAMICPAINT_H__
/** \file BKE_dynamicpaint.h
* \ingroup bke
*/
struct bContext;
struct wmOperator;

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,7 +1,5 @@
#if 0
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,11 +1,20 @@
/**
***** BEGIN GPL LICENSE BLOCK *****
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Contributor(s): Miika Hämäläinen
*
* ***** END GPL LICENSE BLOCK *****

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,19 +1,25 @@
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* ffmpeg-write support
*
* Partial Copyright (c) 2006 Peter Schlaile
*
* 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 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Contributor(s):
*
* Partial Copyright (c) 2006 Peter Schlaile
*
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/blenkernel/intern/writeffmpeg.c

@ -1,25 +1,33 @@
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* Frameserver
* Makes Blender accessible from TMPGenc directly using VFAPI (you can
* use firefox too ;-)
*
* Copyright (c) 2006 Peter Schlaile
*
* 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 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2006 Peter Schlaile
*
* Contributor(s):
*
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/blenkernel/intern/writeframeserver.c
* \ingroup bke
*
* Frameserver
* Makes Blender accessible from TMPGenc directly using VFAPI (you can
* use firefox too ;-)
*/
#ifdef WITH_FRAMESERVER

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,6 +1,4 @@
/*
* Platform independent time functions.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -29,6 +27,7 @@
/** \file blender/blenlib/PIL_time.h
* \ingroup bli
* \brief Platform independent time functions.
*/

@ -1,7 +1,4 @@
/*
* A general argument parsing module
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -30,9 +27,9 @@
/** \file blender/blenlib/intern/BLI_args.c
* \ingroup bli
* \brief A general argument parsing module
*/
#include <ctype.h> /* for tolower */
#include <string.h>

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,7 +1,4 @@
/*
* Jitter offset table
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -30,9 +27,9 @@
/** \file blender/blenlib/intern/jitter.c
* \ingroup bli
* \brief Jitter offset table
*/
#include <math.h>
#include <string.h>
#include "MEM_guardedalloc.h"

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -23,8 +23,13 @@
* Contributor(s): none yet.
*
* ***** END GPL LICENSE BLOCK *****
*/
/**
* \file blender/blenpluginapi/documentation.h
* \ingroup blpluginapi
*
* @mainpage plugin API - the access point for texture and sequence
* \mainpage plugin API - the access point for texture and sequence
* plugins
*
* \section about About the plugin API
@ -63,10 +68,4 @@
*
* The plugins wraps functions from IMB and BLI. In addition, they
* define some useful variables.
* */
/** \file blender/blenpluginapi/documentation.h
* \ingroup blpluginapi
*/

@ -1,6 +1,3 @@
/** \file blender/blenpluginapi/externdef.h
* \ingroup blpluginapi
*/
/* Copyright (c) 1999, Not a Number / NeoGeo b.v.
*
* All rights reserved.
@ -33,6 +30,10 @@
#ifndef __EXTERNDEF_H__
#define __EXTERNDEF_H__
/** \file blender/blenpluginapi/externdef.h
* \ingroup blpluginapi
*/
#ifdef WIN32
#ifdef PLUGIN_INTERN
#define LIBEXPORT __declspec(dllexport)

@ -1,6 +1,3 @@
/** \file blender/blenpluginapi/floatpatch.h
* \ingroup blpluginapi
*/
/* Copyright (c) 1999, Not a Number / NeoGeo b.v.
*
* All rights reserved.
@ -33,6 +30,10 @@
#ifndef __FLOATPATCH_H__
#define __FLOATPATCH_H__
/** \file blender/blenpluginapi/floatpatch.h
* \ingroup blpluginapi
*/
/* floating point libs differ at systems... with these defines it comilies at all! */
#ifdef MIPS1

@ -1,6 +1,3 @@
/** \file blender/blenpluginapi/iff.h
* \ingroup blpluginapi
*/
/* Copyright (c) 1999, Not a Number / NeoGeo b.v.
*
* All rights reserved.
@ -33,6 +30,10 @@
#ifndef __IFF_H__
#define __IFF_H__
/** \file blender/blenpluginapi/iff.h
* \ingroup blpluginapi
*/
#include <sys/types.h>
#include "util.h"
#include "externdef.h"

@ -1,6 +1,3 @@
/** \file blender/blenpluginapi/plugin.h
* \ingroup blpluginapi
*/
/* Copyright (c) 1999, Not a Number / NeoGeo b.v.
*
* All rights reserved.
@ -33,6 +30,10 @@
#ifndef __PLUGIN_H__
#define __PLUGIN_H__
/** \file blender/blenpluginapi/plugin.h
* \ingroup blpluginapi
*/
#include "externdef.h"
#include "iff.h"
#include "util.h"

@ -1,6 +1,3 @@
/** \file blender/blenpluginapi/util.h
* \ingroup blpluginapi
*/
/* Copyright (c) 1999, Not a Number / NeoGeo b.v.
*
* All rights reserved.
@ -30,6 +27,10 @@
* SUCH DAMAGE.
*/
/** \file blender/blenpluginapi/util.h
* \ingroup blpluginapi
*/
#ifndef __UTIL_H__
#define __UTIL_H__

@ -1,6 +1,4 @@
/* DataToC output of file <Bfont> */
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -29,10 +27,9 @@
/** \file blender/editors/datafiles/Bfont.c
* \ingroup eddatafiles
* \brief DataToC output of file <Bfont>
*/
int datatoc_Bfont_size= 25181;
char datatoc_Bfont[25181]= {
128, 1, 228, 1, 0, 0, 37, 33, 80, 83, 45, 65, 100, 111, 98, 101,

@ -1,7 +1,4 @@
/*
* BKE_fluidsim.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,5 @@
/*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License

@ -1,7 +1,4 @@
/*
* fluidsim.c
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -32,9 +29,6 @@
* \ingroup edphys
*/
#include <math.h>
#include <stdlib.h>
#include <string.h>

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,6 +1,4 @@
/*
* $Id$
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,8 +1,4 @@
/*
* imagepaint.c
*
* Functions to paint images in 2D and 3D.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -30,9 +26,9 @@
/** \file blender/editors/sculpt_paint/paint_image.c
* \ingroup edsculpt
* \brief Functions to paint images in 2D and 3D.
*/
#include <float.h>
#include <string.h>
#include <stdio.h>

@ -1,7 +1,4 @@
/*
*
* Undo system for painting and sculpting.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -23,6 +20,7 @@
/** \file blender/editors/sculpt_paint/paint_undo.c
* \ingroup edsculpt
* \brief Undo system for painting and sculpting.
*/

@ -1,3 +1,25 @@
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Contributor(s):
*
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/editors/uvedit/uvedit_parametrizer.c
* \ingroup eduv
*/

@ -1,10 +1,32 @@
/** \file blender/editors/uvedit/uvedit_parametrizer.h
* \ingroup eduv
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Contributor(s):
*
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __UVEDIT_PARAMETRIZER_H__
#define __UVEDIT_PARAMETRIZER_H__
/** \file blender/editors/uvedit/uvedit_parametrizer.h
* \ingroup eduv
*/
#ifdef __cplusplus
extern "C" {
#endif

@ -1,17 +1,4 @@
/*
* IMB_imbuf_types.h (mar-2001 nzc)
*
* Types needed for using the image buffer.
*
* Imbuf is external code, slightly adapted to live in the Blender
* context. It requires an external jpeg module, and the avi-module
* (also external code) in order to function correctly.
*
* This file contains types and some constants that go with them. Most
* are self-explanatory (e.g. IS_amiga tests whether the buffer
* contains an Amiga-format file).
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -37,16 +24,27 @@
*
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __IMB_IMBUF_TYPES_H__
#define __IMB_IMBUF_TYPES_H__
/**
* \file IMB_imbuf_types.h
* \ingroup imbuf
* \brief Contains defines and structs used throughout the imbuf module.
* \todo Clean up includes.
*
* Types needed for using the image buffer.
*
* Imbuf is external code, slightly adapted to live in the Blender
* context. It requires an external jpeg module, and the avi-module
* (also external code) in order to function correctly.
*
* This file contains types and some constants that go with them. Most
* are self-explanatory (e.g. IS_amiga tests whether the buffer
* contains an Amiga-format file).
*/
#ifndef __IMB_IMBUF_TYPES_H__
#define __IMB_IMBUF_TYPES_H__
struct ImMetaData;
#define IB_MIPMAP_LEVELS 20

@ -1,7 +1,4 @@
/*
* allocimbuf.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,7 +1,4 @@
/*
* allocimbuf.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,7 +1,4 @@
/*
* filter.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -27,6 +24,7 @@
*
* ***** END GPL LICENSE BLOCK *****
*/
/**
* \file IMB_filter.h
* \ingroup imbuf

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/cineonfile.h
* \ingroup imbcineon
*/
/*
* Cineon image file format library definitions.
* Cineon file format structures.
@ -29,6 +26,10 @@
#ifndef __CINEONFILE_H__
#define __CINEONFILE_H__
/** \file blender/imbuf/intern/cineon/cineonfile.h
* \ingroup imbcineon
*/
#include "logImageCore.h"
#ifdef __cplusplus

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/cineonlib.c
* \ingroup imbcineon
*/
/*
* Cineon image file format library routines.
*
@ -22,6 +19,10 @@
*
*/
/** \file blender/imbuf/intern/cineon/cineonlib.c
* \ingroup imbcineon
*/
#include "cineonlib.h"
#include "cineonfile.h"

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/cineonlib.h
* \ingroup imbcineon
*/
/*
* Cineon image file format library definitions.
* Also handles DPX files (almost)
@ -26,6 +23,10 @@
#ifndef __CINEONLIB_H__
#define __CINEONLIB_H__
/** \file blender/imbuf/intern/cineon/cineonlib.h
* \ingroup imbcineon
*/
#include "logImageCore.h"
#ifdef __cplusplus

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/dpxfile.h
* \ingroup imbcineon
*/
/*
* Cineon image file format library definitions.
* Dpx file format structures.
@ -29,6 +26,10 @@
#ifndef __DPXFILE_H__
#define __DPXFILE_H__
/** \file blender/imbuf/intern/cineon/dpxfile.h
* \ingroup imbcineon
*/
#include "logImageCore.h"
#ifdef __cplusplus

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/dpxlib.c
* \ingroup imbcineon
*/
/*
* Dpx image file format library routines.
*
@ -22,6 +19,10 @@
*
*/
/** \file blender/imbuf/intern/cineon/dpxlib.c
* \ingroup imbcineon
*/
#include "dpxfile.h"
#include "dpxlib.h"

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/dpxlib.h
* \ingroup imbcineon
*/
/*
* DPX image file format library definitions.
*
@ -25,6 +22,10 @@
#ifndef __DPXLIB_H__
#define __DPXLIB_H__
/** \file blender/imbuf/intern/cineon/dpxlib.h
* \ingroup imbcineon
*/
#ifdef __cplusplus
extern "C" {
#endif

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/logImageCore.c
* \ingroup imbcineon
*/
/*
* Cineon image file format library routines.
*
@ -22,6 +19,10 @@
*
*/
/** \file blender/imbuf/intern/cineon/logImageCore.c
* \ingroup imbcineon
*/
#include "logImageCore.h"
#include <time.h> /* strftime() */

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/logImageCore.h
* \ingroup imbcineon
*/
/*
* Cineon image file format library definitions.
* Cineon and DPX common structures.
@ -30,6 +27,10 @@
#ifndef __LOGIMAGECORE_H__
#define __LOGIMAGECORE_H__
/** \file blender/imbuf/intern/cineon/logImageCore.h
* \ingroup imbcineon
*/
#include <stdio.h>
#include "logImageLib.h"

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/logImageLib.c
* \ingroup imbcineon
*/
/*
* Cineon and DPX image file format library routines.
*
@ -22,6 +19,10 @@
*
*/
/** \file blender/imbuf/intern/cineon/logImageLib.c
* \ingroup imbcineon
*/
#include "cineonlib.h"
#include "dpxlib.h"

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/logImageLib.h
* \ingroup imbcineon
*/
/*
* Common library definitions for Cineon and DPX image files.
*
@ -25,6 +22,10 @@
#ifndef __LOGIMAGELIB_H__
#define __LOGIMAGELIB_H__
/** \file blender/imbuf/intern/cineon/logImageLib.h
* \ingroup imbcineon
*/
#ifdef __cplusplus
extern "C" {
#endif

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/logmemfile.c
* \ingroup imbcineon
*/
/*
* Cineon image file format library routines.
*
@ -21,6 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
/** \file blender/imbuf/intern/cineon/logmemfile.c
* \ingroup imbcineon
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

@ -1,6 +1,3 @@
/** \file blender/imbuf/intern/cineon/logmemfile.h
* \ingroup imbcineon
*/
/*
* Cineon image file format library routines.
*
@ -25,6 +22,10 @@
#ifndef __LOGMEMFILE_H__
#define __LOGMEMFILE_H__
/** \file blender/imbuf/intern/cineon/logmemfile.h
* \ingroup imbcineon
*/
int logimage_fseek(void* logfile, intptr_t offsett, int origin);
int logimage_fwrite(void *buffer, unsigned int size, unsigned int count, void *logfile);
int logimage_fread(void *buffer, unsigned int size, unsigned int count, void *logfile);

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -33,13 +31,10 @@
* \ingroup imbuf
*/
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_filter.h"

@ -23,17 +23,19 @@
* Contributor(s): none yet.
*
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/imbuf/intern/imageprocess.c
* \ingroup imbuf
*
* This file was moved here from the src/ directory. It is meant to
* deal with endianness. It resided in a general blending lib. The
* other functions were only used during rendering. This single
* function remained. It should probably move to imbuf/intern/util.c,
* but we'll keep it here for the time being. (nzc)*/
/** \file blender/imbuf/intern/imageprocess.c
* \ingroup imbuf
* but we'll keep it here for the time being. (nzc)
*
*/
/* imageprocess.c MIXED MODEL
*
* april 95

@ -1,9 +1,4 @@
/*
* imbuf.h (mar-2001 nzc)
*
* This header might have to become external...
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -25,7 +20,7 @@
*
* The Original Code is: all of this file.
*
* Contributor(s): none yet.
* Contributor(s): mar-2001 nzc.
*
* ***** END GPL LICENSE BLOCK *****
*/
@ -34,7 +29,6 @@
* \ingroup imbuf
*/
#ifndef __IMBUF_H__
#define __IMBUF_H__

@ -1,6 +1,4 @@
/*
* imbuf_coca.m
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -22,9 +20,10 @@
* ***** END GPL LICENSE BLOCK *****
*/
/**
* Provides image file loading and saving for Blender, via Cocoa.
/** \file blender/imbuf/intern/imbuf_coca.m
* \ingroup imbuf
*
* Provides image file loading and saving for Blender, via Cocoa.
*/
#include <stdint.h>

@ -1,7 +1,4 @@
/*
* tiff.c
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,7 +1,4 @@
/*
* blenlib/DNA_group_types.h (mar-2001 nzc)
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -23,7 +20,7 @@
*
* The Original Code is: all of this file.
*
* Contributor(s): none yet.
* Contributor(s): mar-2001 nzc
*
* ***** END GPL LICENSE BLOCK *****
*/
@ -61,6 +58,4 @@ typedef struct Group {
float dupli_ofs[3];
} Group;
#endif

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,7 +1,4 @@
/*
*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,8 +1,4 @@
/* dna_genfile.c
*
* Functions for struct-dna, the genetic file dot c!
*
*
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -32,6 +28,8 @@
/** \file blender/makesdna/intern/dna_genfile.c
* \ingroup DNA
*
* Functions for struct-dna, the genetic file dot c!
*/

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -30,7 +28,6 @@
* \ingroup RNA
*/
#include <stdlib.h>
#include <stdio.h>

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -26,15 +25,13 @@
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __MATHUTILS_H__
#define __MATHUTILS_H__
/** \file blender/python/mathutils/mathutils.h
* \ingroup pymathutils
*/
//Include this file for access to vector, quat, matrix, euler, etc...
#ifndef __MATHUTILS_H__
#define __MATHUTILS_H__
/* Can cast different mathutils types to this, use for generic funcs */
struct DynStr;

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -27,14 +26,13 @@
*
*/
#ifndef __MATHUTILS_EULER_H__
#define __MATHUTILS_EULER_H__
/** \file blender/python/mathutils/mathutils_Euler.h
* \ingroup pymathutils
*/
#ifndef __MATHUTILS_EULER_H__
#define __MATHUTILS_EULER_H__
extern PyTypeObject euler_Type;
#define EulerObject_Check(_v) PyObject_TypeCheck((_v), &euler_Type)

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -24,17 +23,15 @@
* Contributor(s): Joseph Gilbert
*
* ***** END GPL LICENSE BLOCK *****
*
*/
#ifndef __MATHUTILS_QUATERNION_H__
#define __MATHUTILS_QUATERNION_H__
/** \file blender/python/mathutils/mathutils_Quaternion.h
* \ingroup pymathutils
*/
#ifndef __MATHUTILS_QUATERNION_H__
#define __MATHUTILS_QUATERNION_H__
extern PyTypeObject quaternion_Type;
#define QuaternionObject_Check(_v) PyObject_TypeCheck((_v), &quaternion_Type)

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -26,15 +25,13 @@
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __MATHUTILS_GEOMETRY_H__
#define __MATHUTILS_GEOMETRY_H__
/** \file blender/python/mathutils/mathutils_geometry.h
* \ingroup pymathutils
*/
/*Include this file for access to vector, quat, matrix, euler, etc...*/
#ifndef __MATHUTILS_GEOMETRY_H__
#define __MATHUTILS_GEOMETRY_H__
#include "mathutils.h"
PyMODINIT_FUNC PyInit_mathutils_geometry(void);

@ -1,9 +1,4 @@
/*
*
* quicktime_export.c
*
* Code to create QuickTime Movies with Blender
*
* ***** BEGIN GPL LICENSE BLOCK *****
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -29,6 +24,8 @@
/** \file blender/quicktime/apple/quicktime_export.c
* \ingroup quicktime
*
* Code to create QuickTime Movies with Blender
*/

@ -1,10 +1,6 @@
/*
*
* quicktime_import.c
*
* Code to use Quicktime to load images/movies as texture.
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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
@ -29,6 +25,8 @@
/** \file blender/quicktime/apple/quicktime_import.c
* \ingroup quicktime
*
* Code to use Quicktime to load images/movies as texture.
*/
#ifdef WITH_QUICKTIME

@ -1,7 +1,4 @@
/*
* gammacorrectiontables.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -28,14 +25,13 @@
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __GAMMACORRECTIONTABLES_H__
#define __GAMMACORRECTIONTABLES_H__
/** \file blender/render/intern/include/gammaCorrectionTables.h
* \ingroup render
*/
#ifndef __GAMMACORRECTIONTABLES_H__
#define __GAMMACORRECTIONTABLES_H__
/**
* Initialize the gamma lookup tables
*/

@ -1,7 +1,4 @@
/*
* initrender_ext.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,7 +1,4 @@
/*
* rendercore_ext.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -28,14 +25,13 @@
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __RENDERCORE_H__
#define __RENDERCORE_H__
/** \file blender/render/intern/include/rendercore.h
* \ingroup render
*/
#ifndef __RENDERCORE_H__
#define __RENDERCORE_H__
#include "render_types.h"

@ -1,7 +1,4 @@
/*
* shadbuf_ext.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -28,14 +25,13 @@
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __SHADBUF_H__
#define __SHADBUF_H__
/** \file blender/render/intern/include/shadbuf.h
* \ingroup render
*/
#ifndef __SHADBUF_H__
#define __SHADBUF_H__
#include "render_types.h"
struct ObjectRen;

@ -1,7 +1,4 @@
/*
* texture_ext.h
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,10 +1,37 @@
/** \file blender/render/intern/raytrace/rayobject_internal.h
* \ingroup render
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* The Original Code is Copyright (C) 2009 Blender Foundation.
* All rights reserved.
*
* The Original Code is: all of this file.
*
* Contributor(s): André Pinto.
*
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __RAYOBJECT_INTERNAL_H__
#define __RAYOBJECT_INTERNAL_H__
/** \file blender/render/intern/raytrace/rayobject_internal.h
* \ingroup render
*/
#ifdef __cplusplus
extern "C" {
#endif

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -28,7 +27,6 @@
* \ingroup render
*/
#include <math.h>
#include <string.h>

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,7 +1,4 @@
/*
* Jitter offset table
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or

@ -1,6 +1,4 @@
/*
*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -29,9 +27,6 @@
* \ingroup render
*/
#include <stdio.h>
#include <string.h>
#include <fcntl.h>

@ -1,5 +1,4 @@
/*
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@ -30,7 +29,6 @@
* \ingroup render
*/
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

Some files were not shown because too many files have changed in this diff Show More