Blender V2.61 - r43446
Classes | Defines | Typedefs

IMB_imbuf_types.h File Reference

Contains defines and structs used throughout the imbuf module. More...

Go to the source code of this file.

Classes

struct  ImBuf

Defines

#define IB_MIPMAP_LEVELS   20
#define IB_FILENAME_SIZE   1023
#define IB_BITMAPFONT   (1 << 0)
 userflags: Flags used internally by blender for imagebuffers
#define IB_BITMAPDIRTY   (1 << 1)
#define IB_MIPMAP_INVALID   (1 << 2)
#define IB_RECT_INVALID   (1 << 3)
Imbuf Component flags

These flags determine the components of an ImBuf struct.

#define IB_rect   (1 << 0)
 Flag defining the components of the ImBuf struct.
#define IB_test   (1 << 1)
 Flag defining the components of the ImBuf struct.
#define IB_fields   (1 << 2)
 Flag defining the components of the ImBuf struct.
#define IB_zbuf   (1 << 3)
 Flag defining the components of the ImBuf struct.
#define IB_mem   (1 << 4)
 Flag defining the components of the ImBuf struct.
#define IB_rectfloat   (1 << 5)
 Flag defining the components of the ImBuf struct.
#define IB_zbuffloat   (1 << 6)
 Flag defining the components of the ImBuf struct.
#define IB_multilayer   (1 << 7)
 Flag defining the components of the ImBuf struct.
#define IB_metadata   (1 << 8)
 Flag defining the components of the ImBuf struct.
#define IB_animdeinterlace   (1 << 9)
 Flag defining the components of the ImBuf struct.
#define IB_tiles   (1 << 10)
 Flag defining the components of the ImBuf struct.
#define IB_tilecache   (1 << 11)
 Flag defining the components of the ImBuf struct.
#define IB_premul   (1 << 12)
 Flag defining the components of the ImBuf struct.
#define IB_cm_predivide   (1 << 13)
 Flag defining the components of the ImBuf struct.
#define PNG   (1 << 30)
 Flag defining the components of the ImBuf struct.
#define TGA   (1 << 28)
 Flag defining the components of the ImBuf struct.
#define JPG   (1 << 27)
 Flag defining the components of the ImBuf struct.
#define BMP   (1 << 26)
 Flag defining the components of the ImBuf struct.
#define OPENEXR   (1 << 22)
 Flag defining the components of the ImBuf struct.
#define OPENEXR_HALF   (1 << 8 )
 Flag defining the components of the ImBuf struct.
#define OPENEXR_COMPRESS   (7)
 Flag defining the components of the ImBuf struct.
#define RAWTGA   (TGA | 1)
 Flag defining the components of the ImBuf struct.
#define JPG_STD   (JPG | (0 << 8))
 Flag defining the components of the ImBuf struct.
#define JPG_VID   (JPG | (1 << 8))
 Flag defining the components of the ImBuf struct.
#define JPG_JST   (JPG | (2 << 8))
 Flag defining the components of the ImBuf struct.
#define JPG_MAX   (JPG | (3 << 8))
 Flag defining the components of the ImBuf struct.
#define JPG_MSK   (0xffffff00)
 Flag defining the components of the ImBuf struct.
#define IMAGIC   0732
 Flag defining the components of the ImBuf struct.

Typedefs

typedef struct ImBuf ImBuf

Imbuf preset profile tags

Some predefined color space profiles that 8 bit imbufs can represent
#define IB_PROFILE_NONE   0
#define IB_PROFILE_LINEAR_RGB   1
#define IB_PROFILE_SRGB   2
#define IB_PROFILE_CUSTOM   3
const char * imb_ext_image []
const char * imb_ext_image_qt []
const char * imb_ext_movie []
const char * imb_ext_audio []

Detailed Description

Contains defines and structs used throughout the imbuf module.

Todo:
Clean up includes.

Definition in file IMB_imbuf_types.h.


Define Documentation

#define BMP   (1 << 26)

Flag defining the components of the ImBuf struct.

Definition at line 170 of file IMB_imbuf_types.h.

Referenced by BKE_ftype_to_imtype(), BKE_imtype_to_ftype(), BKE_write_ibuf(), and imb_bmp_decode().

#define IB_animdeinterlace   (1 << 9)

Flag defining the components of the ImBuf struct.

Definition at line 157 of file IMB_imbuf_types.h.

Referenced by avi_fetchibuf(), IMB_anim_absolute(), reload_sequence_new_file(), and seq_open_anim_file().

#define IB_BITMAPDIRTY   (1 << 1)
#define IB_BITMAPFONT   (1 << 0)

userflags: Flags used internally by blender for imagebuffers

Definition at line 136 of file IMB_imbuf_types.h.

Referenced by matrixGlyph(), and readBitmapFontVersion0().

#define IB_cm_predivide   (1 << 13)
#define IB_fields   (1 << 2)
#define IB_FILENAME_SIZE   1023

Definition at line 53 of file IMB_imbuf_types.h.

#define IB_mem   (1 << 4)
#define IB_metadata   (1 << 8)
#define IB_MIPMAP_INVALID   (1 << 2)
#define IB_MIPMAP_LEVELS   20

Definition at line 52 of file IMB_imbuf_types.h.

#define IB_multilayer   (1 << 7)

Flag defining the components of the ImBuf struct.

Definition at line 155 of file IMB_imbuf_types.h.

Referenced by get_brush_icon(), image_load_image_file(), image_load_sequence_file(), imb_load_openexr(), IMB_testiffname(), and movieclip_load_sequence_file().

#define IB_premul   (1 << 12)

Flag defining the components of the ImBuf struct.

Definition at line 160 of file IMB_imbuf_types.h.

Referenced by image_load_image_file(), image_load_sequence_file(), IMB_ibImageFromMemory(), imb_loadtiff(), imb_loadtiletiff(), and imb_read_tiff_pixels().

#define IB_PROFILE_CUSTOM   3

Definition at line 223 of file IMB_imbuf_types.h.

#define IB_PROFILE_LINEAR_RGB   1
#define IB_PROFILE_NONE   0
#define IB_PROFILE_SRGB   2
#define IB_rect   (1 << 0)

Flag defining the components of the ImBuf struct.

Definition at line 148 of file IMB_imbuf_types.h.

Referenced by add_ibuf_size(), avi_fetchibuf(), BKE_image_acquire_ibuf(), BKE_image_memorypack(), BKE_write_ibuf(), BL_MakeScreenShot(), blend_file_thumb(), brush_imbuf_new(), brush_painter_fixed_tex_partial_update(), de_interlace_ng(), de_interlace_st(), do_paintface_box_select(), do_paintvert_box_select(), envmap_split_ima(), filelist_from_library(), filelist_init_icons(), get_area_imbuf(), get_brush_icon(), GHOST_SystemCocoa::handleDraggingEvent(), ibJpegImageFromCinfo(), icon_draw_rect(), image_load_image_file(), image_load_movie_file(), image_load_sequence_file(), image_save_sequence_exec(), image_undo_push_tile(), image_undo_restore(), imb_addrectImBuf(), IMB_allocImBuf(), IMB_anim_absolute(), imb_bmp_decode(), IMB_de_interlace(), IMB_dupImBuf(), imb_freerectImBuf(), IMB_interlace(), imb_jp2_decode(), imb_load_dpx_cineon(), imb_loadhdr(), imb_loadiris(), imb_loadtarga(), IMB_makemipmap(), imb_read_tiff_pixels(), IMB_remakemipmap(), IMB_scalefastImBuf(), IMB_thumb_create(), IMB_thumb_manage(), IMB_thumb_read(), IMB_tiles_to_rect(), init_iconfile_list(), init_internal_icons(), input_preprocess(), loadblend_thumb(), make_histogram_view_from_ibuf_byte(), make_histogram_view_from_ibuf_float(), make_sep_waveform_view_from_ibuf_byte(), make_sep_waveform_view_from_ibuf_float(), make_vectorscope_view_from_ibuf_byte(), make_vectorscope_view_from_ibuf_float(), make_waveform_view_from_ibuf_byte(), make_waveform_view_from_ibuf_float(), make_zebra_view_from_ibuf(), movieclip_build_proxy_ibuf(), movieclip_load_movie_file(), movieclip_load_sequence_file(), my_envmap_split_ima(), prepare_effect_imbufs(), q_scale_linear_interpolation(), RE_layer_load_from_file(), reload_sequence_new_file(), render_envmap(), save_image_doit(), save_jstjpeg(), scale_trackpreview_ibuf(), scaledownx(), scaledowny(), scaleupx(), scaleupy(), seq_open_anim_file(), seq_proxy_build_frame(), seq_proxy_fetch(), seq_render_effect_strip_impl(), seq_render_scene_strip_impl(), seq_render_strip(), seq_render_strip_stack(), sequencer_add_movie_strip(), stabilize_alloc_ibuf(), texture_paint_image_from_view_exec(), view3d_read_backbuf(), and wm_block_create_splash().

#define IB_RECT_INVALID   (1 << 3)
#define IB_rectfloat   (1 << 5)
#define IB_test   (1 << 1)
#define IB_tilecache   (1 << 11)

Flag defining the components of the ImBuf struct.

Definition at line 159 of file IMB_imbuf_types.h.

Referenced by imb_cache_filename(), and imb_loadtiff().

#define IB_tiles   (1 << 10)

Flag defining the components of the ImBuf struct.

Definition at line 158 of file IMB_imbuf_types.h.

Referenced by imb_addtilesImBuf(), and imb_freetilesImBuf().

#define IB_zbuf   (1 << 3)
#define IB_zbuffloat   (1 << 6)
#define IMAGIC   0732

Flag defining the components of the ImBuf struct.

Definition at line 214 of file IMB_imbuf_types.h.

Referenced by BKE_ftype_to_imtype(), BKE_imtype_to_ftype(), BKE_write_ibuf(), imb_ftype_iris(), imb_is_a_iris(), imb_loadiris(), and output_iris().

#define JPG   (1 << 27)

Flag defining the components of the ImBuf struct.

Definition at line 169 of file IMB_imbuf_types.h.

Referenced by BKE_imtype_to_ftype(), BKE_write_ibuf(), IMB_ispic_name(), movieclip_build_proxy_ibuf(), and seq_proxy_build_frame().

#define JPG_JST   (JPG | (2 << 8))

Flag defining the components of the ImBuf struct.

Definition at line 210 of file IMB_imbuf_types.h.

#define JPG_MAX   (JPG | (3 << 8))

Flag defining the components of the ImBuf struct.

Definition at line 211 of file IMB_imbuf_types.h.

Referenced by ibJpegImageFromCinfo().

#define JPG_MSK   (0xffffff00)

Flag defining the components of the ImBuf struct.

Definition at line 212 of file IMB_imbuf_types.h.

#define JPG_STD   (JPG | (0 << 8))

Flag defining the components of the ImBuf struct.

Definition at line 208 of file IMB_imbuf_types.h.

Referenced by ibJpegImageFromCinfo().

#define JPG_VID   (JPG | (1 << 8))

Flag defining the components of the ImBuf struct.

Definition at line 209 of file IMB_imbuf_types.h.

Referenced by ibJpegImageFromCinfo().

#define OPENEXR   (1 << 22)
#define OPENEXR_COMPRESS   (7)

Flag defining the components of the ImBuf struct.

Definition at line 186 of file IMB_imbuf_types.h.

Referenced by BKE_write_ibuf(), dynamicPaint_outputSurfaceImage(), imb_save_openexr_float(), and imb_save_openexr_half().

#define OPENEXR_HALF   (1 << 8 )

Flag defining the components of the ImBuf struct.

Definition at line 185 of file IMB_imbuf_types.h.

Referenced by BKE_write_ibuf(), and imb_save_openexr().

#define PNG   (1 << 30)
#define RAWTGA   (TGA | 1)

Flag defining the components of the ImBuf struct.

Definition at line 206 of file IMB_imbuf_types.h.

Referenced by BKE_ftype_to_imtype(), BKE_imtype_to_ftype(), BKE_write_ibuf(), and imb_savetarga().

#define TGA   (1 << 28)

Flag defining the components of the ImBuf struct.

Definition at line 168 of file IMB_imbuf_types.h.

Referenced by BKE_ftype_to_imtype(), BKE_imtype_to_ftype(), BKE_write_ibuf(), IMB_allocImBuf(), and imb_loadtarga().


Variable Documentation

const char* imb_ext_audio[]

Definition at line 133 of file source/blender/imbuf/intern/util.c.

Referenced by file_extension_type().

const char* imb_ext_image[]
const char* imb_ext_image_qt[]
const char* imb_ext_movie[]