#include "asset.h"
#include "assets.h"
#include "autoconf.h"
-#include "colormodels.h"
+#include "bccmodels.h"
#include "bchash.h"
#include "edl.h"
#include "edlsession.h"
int EDLSession::need_rerender(EDLSession *ptr)
{
- return (playback_preload != ptr->playback_preload) ||
- (interpolation_type != ptr->interpolation_type) ||
+ return (interpolation_type != ptr->interpolation_type) ||
(video_every_frame != ptr->video_every_frame) ||
(video_asynchronous != ptr->video_asynchronous) ||
(real_time_playback != ptr->real_time_playback) ||
auto_conf->load_defaults(defaults);
autos_follow_edits = defaults->get("AUTOS_FOLLOW_EDITS", 1);
brender_start = defaults->get("BRENDER_START", brender_start);
- cmodel_to_text(string, BC_RGBA8888);
- color_model = cmodel_from_text(defaults->get("COLOR_MODEL", string));
+ BC_CModels::to_text(string, BC_RGBA8888);
+ color_model = BC_CModels::from_text(defaults->get("COLOR_MODEL", string));
eyedrop_radius = defaults->get("EYEDROP_RADIUS", 0);
crop_x1 = defaults->get("CROP_X1", 0);
crop_x2 = defaults->get("CROP_X2", 320);
output_w = defaults->get("OUTPUTW", 720);
output_h = defaults->get("OUTPUTH", 480);
playback_buffer = defaults->get("PLAYBACK_BUFFER", 4096);
- playback_preload = defaults->get("PLAYBACK_PRELOAD", 0);
playback_software_position = defaults->get("PLAYBACK_SOFTWARE_POSITION", 0);
delete playback_config;
playback_config = new PlaybackConfig;
defaults->update("ATRACKS", audio_tracks);
defaults->update("AUTOS_FOLLOW_EDITS", autos_follow_edits);
defaults->update("BRENDER_START", brender_start);
- cmodel_to_text(string, color_model);
+ BC_CModels::to_text(string, color_model);
defaults->update("COLOR_MODEL", string);
defaults->update("EYEDROP_RADIUS", eyedrop_radius);
defaults->update("CROP_X1", crop_x1);
defaults->update("OUTPUTW", output_w);
defaults->update("OUTPUTH", output_h);
defaults->update("PLAYBACK_BUFFER", playback_buffer);
- defaults->update("PLAYBACK_PRELOAD", playback_preload);
defaults->update("PLAYBACK_SOFTWARE_POSITION", playback_software_position);
playback_config->save_defaults(defaults);
defaults->update("PLAYBACK_REALTIME", real_time_playback);
interpolation_type = file->tag.get_property("INTERPOLATION_TYPE", interpolation_type);
interpolate_raw = file->tag.get_property("INTERPOLATE_RAW", interpolate_raw);
white_balance_raw = file->tag.get_property("WHITE_BALANCE_RAW", white_balance_raw);
- cmodel_to_text(string, color_model);
- color_model = cmodel_from_text(file->tag.get_property("COLORMODEL", string));
+ BC_CModels::to_text(string, color_model);
+ color_model = BC_CModels::from_text(file->tag.get_property("COLORMODEL", string));
video_channels = file->tag.get_property("CHANNELS", video_channels);
for(int i = 0; i < video_channels; i++)
{
mpeg4_deblock = file->tag.get_property("MPEG4_DEBLOCK", mpeg4_deblock);
plugins_follow_edits = file->tag.get_property("PLUGINS_FOLLOW_EDITS", plugins_follow_edits);
single_standalone = file->tag.get_property("SINGLE_STANDALONE", single_standalone);
- playback_preload = file->tag.get_property("PLAYBACK_PRELOAD", playback_preload);
safe_regions = file->tag.get_property("SAFE_REGIONS", safe_regions);
show_assets = file->tag.get_property("SHOW_ASSETS", 1);
show_titles = file->tag.get_property("SHOW_TITLES", 1);
file->tag.set_property("MPEG4_DEBLOCK", mpeg4_deblock);
file->tag.set_property("PLUGINS_FOLLOW_EDITS", plugins_follow_edits);
file->tag.set_property("SINGLE_STANDALONE", single_standalone);
- file->tag.set_property("PLAYBACK_PRELOAD", playback_preload);
file->tag.set_property("SAFE_REGIONS", safe_regions);
file->tag.set_property("SHOW_ASSETS", show_assets);
file->tag.set_property("SHOW_TITLES", show_titles);
file->tag.set_property("INTERPOLATION_TYPE", interpolation_type);
file->tag.set_property("INTERPOLATE_RAW", interpolate_raw);
file->tag.set_property("WHITE_BALANCE_RAW", white_balance_raw);
- cmodel_to_text(string, color_model);
+ BC_CModels::to_text(string, color_model);
file->tag.set_property("COLORMODEL", string);
file->tag.set_property("CHANNELS", video_channels);
for(int i = 0; i < video_channels; i++)
playback_config = new PlaybackConfig;
playback_config->copy_from(session->playback_config);
playback_cursor_visible = session->playback_cursor_visible;
- playback_preload = session->playback_preload;
playback_software_position = session->playback_software_position;
real_time_playback = session->real_time_playback;
real_time_record = session->real_time_record;