Blender V2.61 - r43446
|
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 [] |
Contains defines and structs used throughout the imbuf module.
Definition in file IMB_imbuf_types.h.
#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) |
Definition at line 137 of file IMB_imbuf_types.h.
Referenced by add_ibuf_size(), BKE_image_free_all_textures(), BKE_image_free_anim_ibufs(), BKE_image_memorypack(), finish_bake_internal(), finish_images(), image_invert_exec(), image_pack_exec(), image_pack_invoke(), image_save_sequence_exec(), imapaint_dirty_region(), pack_all_invoke(), project_paint_end(), RE_bake_shade_all_selected(), and save_image_doit().
#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) |
Flag defining the components of the ImBuf struct.
Definition at line 161 of file IMB_imbuf_types.h.
Referenced by image_assign_ibuf(), image_get_render_result(), IMB_convert_profile(), IMB_float_from_rect(), IMB_float_from_rect_simple(), IMB_float_profile_ensure(), IMB_partial_rect_from_float(), IMB_rect_from_float(), node_composit_get_float_buffer(), and render_result_rect_to_ibuf().
#define IB_fields (1 << 2) |
Flag defining the components of the ImBuf struct.
Definition at line 150 of file IMB_imbuf_types.h.
Referenced by de_interlace_ng(), de_interlace_st(), image_mipmap_test(), image_sample(), imagewrap(), imagewraposa(), imagewraposa_aniso(), IMB_de_interlace(), IMB_dupImBuf(), IMB_interlace(), and IMB_loadiffname().
#define IB_FILENAME_SIZE 1023 |
Definition at line 53 of file IMB_imbuf_types.h.
#define IB_mem (1 << 4) |
Flag defining the components of the ImBuf struct.
Definition at line 152 of file IMB_imbuf_types.h.
Referenced by BKE_image_memorypack(), freeencodedbufferImBuf(), imb_addencodedbufferImBuf(), imb_enlargeencodedbufferImBuf(), imb_save_openexr(), imb_savepng(), and imb_savetiff().
#define IB_metadata (1 << 8) |
Flag defining the components of the ImBuf struct.
Definition at line 156 of file IMB_imbuf_types.h.
Referenced by get_brush_icon(), ibJpegImageFromCinfo(), image_load_image_file(), imb_loadpng(), IMB_thumb_create(), IMB_thumb_manage(), IMB_thumb_read(), and loadblend_thumb().
#define IB_MIPMAP_INVALID (1 << 2) |
Definition at line 138 of file IMB_imbuf_types.h.
Referenced by BKE_tracking_stabilize(), draw_bgpic(), finish_images(), image_invert_exec(), image_mipmap_test(), image_undo_restore(), and imapaint_image_update().
#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 |
Definition at line 221 of file IMB_imbuf_types.h.
Referenced by do_projectpaint_thread(), draw_nodespace_back_pix(), ed_preview_draw_rect(), generate_preview(), ibuftoimage(), image_buffer_rect_update(), image_get_ibuf_multilayer(), image_get_render_result(), image_load_sequence_multilayer(), image_verify_buffer_float(), imapaint_paint_sub_stroke(), IMB_buffer_byte_from_byte(), IMB_buffer_byte_from_float(), IMB_buffer_float_from_byte(), IMB_buffer_float_from_float(), IMB_convert_profile(), IMB_float_from_rect(), IMB_float_profile_ensure(), imb_load_openexr(), imb_loadhdr(), IMB_partial_rect_from_float(), imb_read_tiff_pixels(), IMB_rect_from_float(), imb_save_dpx_cineon(), imb_save_openexr_half(), imb_savetiff(), node_composit_exec_output_file(), node_composit_get_float_buffer(), RE_bake_shade_all_selected(), RE_WriteEnvmapResult(), render_envmap(), render_result_rect_from_ibuf(), render_result_rect_get_pixels(), render_result_rect_to_ibuf(), sample_apply(), screen_opengl_render_apply(), seq_render_scene_strip_impl(), and seq_render_strip().
#define IB_PROFILE_NONE 0 |
Definition at line 220 of file IMB_imbuf_types.h.
Referenced by draw_nodespace_back_pix(), image_get_render_result(), image_verify_buffer_float(), imapaint_canvas_set(), IMB_buffer_byte_from_byte(), IMB_buffer_byte_from_float(), IMB_buffer_float_from_byte(), IMB_buffer_float_from_float(), IMB_convert_profile(), IMB_float_from_rect(), IMB_float_profile_ensure(), IMB_partial_rect_from_float(), IMB_rect_from_float(), imb_save_dpx_cineon(), node_composit_get_float_buffer(), sample_apply(), seq_render_scene_strip_impl(), and seq_render_strip().
#define IB_PROFILE_SRGB 2 |
Definition at line 222 of file IMB_imbuf_types.h.
Referenced by avi_fetchibuf(), ed_preview_draw_rect(), generate_preview(), ibJpegImageFromCinfo(), image_buffer_rect_update(), IMB_anim_absolute(), imb_bmp_decode(), IMB_buffer_byte_from_byte(), IMB_buffer_byte_from_float(), IMB_buffer_float_from_byte(), IMB_buffer_float_from_float(), imb_cocoaLoadImage(), imb_cocoaSaveImage(), IMB_convert_profile(), IMB_float_from_rect(), IMB_float_from_rect_simple(), IMB_float_profile_ensure(), imb_load_dds(), imb_loadiris(), imb_loadpng(), imb_loadtarga(), IMB_partial_rect_from_float(), imb_read_tiff_pixels(), IMB_rect_from_float(), node_composit_get_float_buffer(), render_result_rect_from_ibuf(), render_result_rect_get_pixels(), render_result_rect_to_ibuf(), screen_opengl_render_apply(), and seq_render_scene_strip_impl().
#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) |
Definition at line 139 of file IMB_imbuf_types.h.
Referenced by apply_heights_callback(), apply_heights_data(), apply_tangmat_callback(), BKE_tracking_distortion_exec(), BKE_tracking_stabilize(), finish_images(), get_undistorted_ibuf(), image_undo_restore(), image_verify_buffer_float(), imapaint_image_update(), IMB_partial_rect_from_float(), IMB_rect_from_float(), and node_composit_get_movieclip().
#define IB_rectfloat (1 << 5) |
Flag defining the components of the ImBuf struct.
Definition at line 153 of file IMB_imbuf_types.h.
Referenced by add_ibuf_size(), avi_fetchibuf(), brush_imbuf_new(), brush_painter_fixed_tex_partial_update(), do_plugin_effect(), dynamicPaint_outputSurfaceImage(), envmap_split_ima(), exec(), image_get_ibuf_multilayer(), image_get_render_result(), image_load_sequence_multilayer(), image_undo_push_tile(), image_undo_restore(), imb_addrectfloatImBuf(), IMB_allocImBuf(), IMB_dupImBuf(), imb_freerectfloatImBuf(), imb_jp2_decode(), imb_load_dpx_cineon(), imb_loadhdr(), imb_loadiris(), imb_read_tiff_pixels(), IMB_scalefastImBuf(), input_preprocess(), node_composit_exec_scale(), prepare_effect_imbufs(), q_scale_linear_interpolation(), RE_layer_load_from_file(), RE_WriteEnvmapResult(), render_envmap(), save_image_doit(), scaledownx(), scaledowny(), scaleupx(), scaleupy(), screen_opengl_render_apply(), seq_render_scene_strip_impl(), and stabilize_alloc_ibuf().
#define IB_test (1 << 1) |
Flag defining the components of the ImBuf struct.
Definition at line 149 of file IMB_imbuf_types.h.
Referenced by ibJpegImageFromCinfo(), imb_bmp_decode(), imb_cocoaLoadImage(), imb_load_dds(), imb_load_openexr(), imb_loadhdr(), imb_loadiris(), imb_loadpng(), imb_loadtarga(), imb_loadtiff(), and IMB_testiffname().
#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) |
Flag defining the components of the ImBuf struct.
Definition at line 151 of file IMB_imbuf_types.h.
Referenced by addzbufImBuf(), BKE_write_ibuf(), image_save_sequence_exec(), IMB_allocImBuf(), IMB_freezbufImBuf(), imb_saveiris(), save_image_doit(), scalefast_Z_ImBuf(), and seq_proxy_build_frame().
#define IB_zbuffloat (1 << 6) |
Flag defining the components of the ImBuf struct.
Definition at line 154 of file IMB_imbuf_types.h.
Referenced by addzbuffloatImBuf(), BKE_write_ibuf(), image_get_render_result(), image_save_sequence_exec(), IMB_allocImBuf(), IMB_freezbuffloatImBuf(), imb_save_openexr_float(), imb_save_openexr_half(), node_composit_exec_viewer(), save_image_doit(), and seq_proxy_build_frame().
#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) |
Flag defining the components of the ImBuf struct.
Definition at line 184 of file IMB_imbuf_types.h.
Referenced by BKE_ftype_to_imtype(), BKE_imtype_to_ftype(), BKE_write_ibuf(), dynamicPaint_outputSurfaceImage(), image_load_image_file(), image_load_sequence_file(), and imb_load_openexr().
#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) |
Flag defining the components of the ImBuf struct.
Definition at line 167 of file IMB_imbuf_types.h.
Referenced by BKE_ftype_to_imtype(), BKE_image_memorypack(), BKE_imtype_to_ftype(), BKE_write_ibuf(), BL_MakeScreenShot(), dynamicPaint_outputSurfaceImage(), imb_loadpng(), and IMB_thumb_create().
#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().
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[] |
Definition at line 70 of file source/blender/imbuf/intern/util.c.
Referenced by BKE_add_image_extension(), file_extension_type(), and IMB_ispic().
const char* imb_ext_image_qt[] |
Definition at line 97 of file source/blender/imbuf/intern/util.c.
Referenced by BKE_add_image_extension(), file_extension_type(), and IMB_ispic().
const char* imb_ext_movie[] |
Definition at line 105 of file source/blender/imbuf/intern/util.c.
Referenced by BKE_add_image_file(), BKE_add_movieclip_file(), BKE_movieclip_reload(), and file_extension_type().