[Bf-blender-cvs] CVS commit: blender/source/blender/imbuf readme.txt IMB_imbuf_types.h blender/source/blender/imbuf/intern png.c IMB_jpeg.h IMB_png.h amiga.c antialias.c bitplanes.c ham.c iris.c jpeg.c matrix.h readimage.c writeimage.c png_decode.c png_encode.c
Kent Mein
mein at cs.umn.edu
Thu Dec 4 19:18:06 CET 2003
sirdude (Kent Mein) 2003/12/04 19:18:06 CET
Modified files:
blender/source/blender/imbuf IMB_imbuf_types.h
blender/source/blender/imbuf/intern IMB_jpeg.h IMB_png.h
amiga.c antialias.c
bitplanes.c ham.c iris.c
jpeg.c matrix.h
readimage.c writeimage.c
Added files:
blender/source/blender/imbuf readme.txt
blender/source/blender/imbuf/intern png.c
Removed files:
blender/source/blender/imbuf/intern png_decode.c png_encode.c
Log:
This looks like a lot but its a few small changes.
Summary: standardized imageformat functions(make function names similar, and
parameters in same order where relavant), small code cleanups, and
added a description of how to add an image format to blender.
Kent
Specifics:
merged png_decode.c and png_encode.c to png.c and cleaned function calls.
fixed some spacing in IMB_imbuf_types.h
casting cleanups:
intern/amiga.c
intern/ham.c
intern/iris.c
Modified switch statements to have a default type to insure values are set:
intern/antialias.c
Initalization of some vars and make types similar.
intern/bitplanes.c
cleaned function calls, and changed if else to if's with return:
intern/jpeg.c
added {}'s in multidemensional arrays.
intern/matrix.h
Made a little cleaner to read, and matched above changes.
intern/readimage.c
intern/writeimage.c
Revision Changes Path
1.11 +13 -16 blender/source/blender/imbuf/IMB_imbuf_types.h
1.7 +2 -2 blender/source/blender/imbuf/intern/IMB_jpeg.h
1.7 +5 -3 blender/source/blender/imbuf/intern/IMB_png.h
1.9 +2 -5 blender/source/blender/imbuf/intern/amiga.c
1.5 +5 -3 blender/source/blender/imbuf/intern/antialias.c
1.5 +4 -4 blender/source/blender/imbuf/intern/bitplanes.c
1.5 +2 -2 blender/source/blender/imbuf/intern/ham.c
1.6 +9 -9 blender/source/blender/imbuf/intern/iris.c
1.5 +6 -8 blender/source/blender/imbuf/intern/jpeg.c
1.7 +29 -29 blender/source/blender/imbuf/intern/matrix.h
1.7 +2 -2 blender/source/blender/imbuf/intern/readimage.c
1.5 +8 -5 blender/source/blender/imbuf/intern/writeimage.c
More information about the Bf-blender-cvs
mailing list