void ocio_colorspace_node_t::do_calc_hash_str( const render::context_t& context) { pointop_node_t::do_calc_hash_str( context); try { OCIO::ConstConfigRcPtr config = app().ocio_manager().config(); OCIO::ConstContextRcPtr context = get_local_context(); hash_generator() << config->getCacheID( context); } catch( OCIO::Exception &e) { hash_generator() << "error"; } }
void xform_node_t::do_calc_hash_str( const render::context_t& context) { motion_blur_info_t::loop_data_t d( motion_blur_loop_data( context.frame, context.motion_blur_extra_samples, context.motion_blur_shutter_factor)); hash_generator() << ( int) get_filter_type(); if( d.num_samples == 1) param_set().add_to_hash( hash_generator()); else { float t = d.start_time; for( int i = 0; i < d.num_samples; ++i) { set_frame( t); param_set().add_to_hash( hash_generator()); t += d.time_step; } set_frame( context.frame); } }
void keyer3d_node_t::do_calc_hash_str( const render::context_t& context) { image_node_t::do_calc_hash_str( context); keyer().add_to_hash_str( hash_generator()); }
void generator_node_t::do_calc_hash_str( const render::context_t& context) { image_node_t::do_calc_hash_str( context); hash_generator() << context.subsample; }