Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-19use 'const char *' for imbuf and file ops.Campbell Barton
2010-11-17writing single images from a render (own commit r33104), wasn't checking if ↵Campbell Barton
the render was cancelled which would crash when writing the image. also remove paranoid checks for writing TAGA, Other formats - BMP, JPEG, Iris don't do this.
2010-10-17- fixed remaining unused warnings.Campbell Barton
- omit render code from this warning (cmake only), until render branch is merged. - moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-09-15bugfix [#23405] PNG Images bigger then 2gig wont load with blender.Campbell Barton
all image formats should be able to load files bigger then 2gig (when its supported)
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-06-23Fix a crash when failing to read .tga files in some cases.Brecht Van Lommel
2010-05-07Merge image related changes from the render branch. This includes the imageBrecht Van Lommel
tile cache code in imbuf, but it is not hooked up to the render engine. Imbuf module: some small refactoring and removing a lot of unused or old code (about 6.5k lines). * Added a ImFileType struct with callbacks to make adding an file format type, or making changes to the API easier. * Move imbuf init/exit code into IMB_init()/IMB_exit() functions. * Increased mipmap levels from 10 to 20, you run into this limit already with a 2k image. * Removed hamx, amiga, anim5 format support. * Removed colormap saving, only simple colormap code now for reading tga. * Removed gen_dynlibtiff.py, editing this is almost as much work as just editing the code directly. * Functions removed that were only used for sequencer plugin API: IMB_anim_nextpic, IMB_clever_double, IMB_antialias, IMB_gamwarp, IMB_scalefieldImBuf, IMB_scalefastfieldImBuf, IMB_onethird, IMB_halflace, IMB_dit0, IMB_dit2, IMB_cspace * Write metadata info into OpenEXR images. Can be viewed with the command line utility 'exrheader' For the image tile cache code, see this page: http://wiki.blender.org/index.php/Dev:2.5/Source/Imaging/ImageTileCache
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-01-09Color management fixesMatt Ebb
Now it's a bit more robust, tagging images with profiles when they're loaded, which then get interpreted later on by conversion functions. Just Linear RGB and sRGB profiles at the moment, same as before. This commit fixes Martin's problem with EXRs and Multilayer images loading/ saving too dark, and it also makes the sequence editor work correctly with it too. Also fixes: [#19647] gamma correction with color management is reset when resetting Curve [#19454] 2.5: Dither does not work when Color management is enabled
2009-12-26fixes for errors/warnings found with cppcheckCampbell Barton
2009-08-02svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22099:22130Campbell Barton
2009-08-01- Ancient resource leak (rev 2) where checkPackedFile would open a file and ↵Campbell Barton
never close it. - Running simulations missed freeing some variables.
2009-07-28better loading partially written TARGA's, dont read over the end of the ↵Campbell Barton
buffer and set the remaining pixels 0.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-01-07Patch to change license to GPL only, from GSR.Chris Want
2006-11-08missed one more endian issue. Lynx3d saw it...Kent Mein
Kent
2006-11-07removed redefinition of cp and mem.Kent Mein
Was causing problems on windows. (Its odd that it worked on gcc without warnings) Thanks to damiles. Kent
2006-11-07Patch provided by (lynx3d) Mathias Wein,Kent Mein
It fixes endian issues with 16bit targa images. this is fixing bug #4982 Kent
2006-01-09Orange branch: OpenEXR finally in Blender!Ton Roosendaal
Credits go to Gernot Ziegler, who originally coded EXR support, and to Austin Benesh for bringing it further. Kent Mein provided a lot of code for integrating float buffers in Blender imbuf and ImBuf API cleanup, and provided Make and Scons and static linking. At this moment; the EXR libraries are a *dependency*, so you cannot get the Orange branch compiled without having OpenEXR installed. Get the (precompiled or sources) stuff from www.openexr.com. Current default is that the headers and lib resides in /user/local/ Several changes/additions/fixes were added: - EXR code only supported 'half' format (16 bits per channel). I've added float writing, but for reading it I need tomorrow. :) - Quite some clumsy copying of data happened in EXR code. - cleaned up the api calls already a bit, preparing for more advanced support - Zbuffers were saved 16 bits, now 32 bits - automatic adding of .exr extensions went wrong Imbuf: - added proper imbuf->flags and imbuf->mall support for float buffers, it was created for *each* imbuf. :) - found bugs for float buffers in scaling and flipping. Code there will need more checks still - imbuf also needs to be verified to behave properly when no 32 bits rect exists (for saving for example) TODO: - support internal float images for textures, backbuf, AO probes, and display in Image window Hope this commit won't screwup syncing with bf-blender... :/
2005-03-20 - remove all obsolete inclusions of BLI_winstuff.h (due to recent changes)Daniel Dunbar
NOTE: BLI_winstuff.h was meant to be a wrapper around windows.h to handle undefining various crap that windows.h defines. Platform specific headers should only have to be included in a few places. This reduces the number of inclusions of BLI_winstuff.h to 16 which is a much more reasonable number (than the 144 or whatever it used to be)
2005-01-10This is for bug # 2068Kent Mein
I standarized the returns on a failed opening of the output file for the above image formats. I also cleaned up a couple of warnings. Kent
2005-01-03This is a pretty lame commit but here it is:Kent Mein
I just fixed indentation (replaced spaces with tabs where needed) and removed #include config.h stuff from the above files. Kent
2004-12-21Eeek! last minute error.Ton Roosendaal
Commit of dec 9... still uses fopen(name, "ab") instead of "wb" Caused targa and bmp files to write wrong on save-over, appended instead.
2004-12-09This fixes bug #1990Kent Mein
It moves targa, bmp, iris and png loading so that were not opening 2 file handles for each file, and made them like the jpeg stuff. Also cleaned up some minor other stuff. Kent
2004-01-22- increased max targa size to 8192x8192Ton Roosendaal
was done before by Phase in tuho1, and no error found...
2003-04-27translated comments for imbuf c filesTon Roosendaal
2002-12-21Fix so that rgba targa files view correctly in gimp:Kent Mein
Submitted to bf-committers by Chris Want Kent Index: targa.c =================================================================== RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v retrieving revision 1.4 diff -u -r1.4 targa.c --- targa.c 2002/12/20 01:29:14 1.4 +++ targa.c 2002/12/21 09:50:24 @@ -289,6 +289,12 @@ if (flags & IB_ttob) buf[17] ^= 0x20; + /* Don't forget to indicate that your 32 bit + * targa uses 8 bits for the alpha channel! */ + if (ibuf->depth==32) { + buf[17] |= 0x08; + } + if (write(file, buf, 18) != 18) return (0); if (ibuf->cmap){ for (i = 0 ; i<ibuf->maxcol ; i++){
2002-12-20Two more variables that were not initalized.Kent Mein
cvs diff included below. Kent -- mein@cs.umn.edu Index: png_encode.c =================================================================== RCS file: /cvs01/blender/source/blender/imbuf/intern/png_encode.c,v retrieving revision 1.3 diff -u -r1.3 png_encode.c --- png_encode.c 2002/11/25 12:02:00 1.3 +++ png_encode.c 2002/12/20 01:28:18 @@ -91,7 +91,7 @@ unsigned char *pixels = 0; unsigned char *from, *to; png_bytepp row_pointers = 0; - int i, bytesperpixel, color_type; + int i, bytesperpixel, color_type = PNG_COLOR_TYPE_GRAY; FILE *fp = 0; Index: targa.c =================================================================== RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v retrieving revision 1.3 diff -u -r1.3 targa.c --- targa.c 2002/11/25 12:02:00 1.3 +++ targa.c 2002/12/20 01:28:20 @@ -247,7 +247,7 @@ char buf[20]; FILE *fildes; int i; - short ok; + short ok = 0;
2002-11-25updated .c files to include:Kent Mein
#ifdef HAVE_CONFIG_H #include <config.h> #endif Just need to finish cpp files now :) Kent -- mein@cs.umn.edu
2002-10-12Initial revisionv2.25Hans Lambermont