R8: finish app/ pure C ABI migration (P3-P9) and make OTIO required
- app/ no longer includes engine C++ headers nor holds engine C++ types: engine access goes through the oakengine C ABI plus C++ wrappers (oakutil/oaknode.h, oakutil/oakvideo.h) and app-local mirror types (tooltypes, trackreferencehandle, timelinecommonapp, keyframetypes, subtitleapp, serializedlayoutinfoapp, nodevaluehandle, sliderdisplaytypeapp) - engine: new C ABI functions for block/track/clip/transition navigation and predicates, links, caches, waveform/playback, disk folder, sequence_track_list, node_free, footage_is_valid, block_get_track, get_brush; loadotio/saveotio ported to the current engine API - OTIO is now a required dependency: CI and CD build it on every platform, FindOpenTimelineIO fixed for OTIO 0.16/0.19 (the old deps include requirement silently disabled OTIO everywhere), runtime libraries are bundled into packages and copied next to macOS binaries (oak_copy_otio_runtime) - fix ProjectViewModel drag&drop mime read/write size mismatch (segfault) - unify color label naming (k_olive -> "Oak") in the app-side mirror - docs: OTIO required, FFmpeg minimum corrected to 6.0 (en/zh) - gtest suite: 1925 passed, 0 failed
This commit is contained in:
@@ -169,7 +169,7 @@ void ManagedDisplayWidget::disconnect_color_manager()
|
||||
connect_color_manager(nullptr);
|
||||
}
|
||||
|
||||
const ColorTransform &ManagedDisplayWidget::get_color_transform() const
|
||||
const oak::ColorTransform &ManagedDisplayWidget::get_color_transform() const
|
||||
{
|
||||
return color_transform_;
|
||||
}
|
||||
@@ -227,7 +227,7 @@ void ManagedDisplayWidget::color_config_changed()
|
||||
});
|
||||
set_color_transform(oak_compliant_transform(
|
||||
reinterpret_cast<olive::ColorManager *>(color_manager_),
|
||||
ColorTransform(display, view, QString()), true));
|
||||
oak::ColorTransform(display, view, QString()), true));
|
||||
} else {
|
||||
set_color_transform(oak_compliant_transform(
|
||||
reinterpret_cast<olive::ColorManager *>(color_manager_),
|
||||
@@ -260,11 +260,11 @@ void ManagedDisplayWidget::show_default_context_menu()
|
||||
|
||||
void ManagedDisplayWidget::menu_display_select(QAction *action)
|
||||
{
|
||||
const ColorTransform &old_transform = get_color_transform();
|
||||
const oak::ColorTransform &old_transform = get_color_transform();
|
||||
|
||||
ColorTransform new_transform = oak_compliant_transform(
|
||||
oak::ColorTransform new_transform = oak_compliant_transform(
|
||||
reinterpret_cast<olive::ColorManager *>(color_manager_),
|
||||
ColorTransform(action->data().toString(), old_transform.view(),
|
||||
oak::ColorTransform(action->data().toString(), old_transform.view(),
|
||||
old_transform.look()));
|
||||
|
||||
set_color_transform(new_transform);
|
||||
@@ -272,11 +272,11 @@ void ManagedDisplayWidget::menu_display_select(QAction *action)
|
||||
|
||||
void ManagedDisplayWidget::menu_view_select(QAction *action)
|
||||
{
|
||||
const ColorTransform &old_transform = get_color_transform();
|
||||
const oak::ColorTransform &old_transform = get_color_transform();
|
||||
|
||||
ColorTransform new_transform = oak_compliant_transform(
|
||||
oak::ColorTransform new_transform = oak_compliant_transform(
|
||||
reinterpret_cast<olive::ColorManager *>(color_manager_),
|
||||
ColorTransform(old_transform.display(), action->data().toString(),
|
||||
oak::ColorTransform(old_transform.display(), action->data().toString(),
|
||||
old_transform.look()));
|
||||
|
||||
set_color_transform(new_transform);
|
||||
@@ -284,11 +284,11 @@ void ManagedDisplayWidget::menu_view_select(QAction *action)
|
||||
|
||||
void ManagedDisplayWidget::menu_look_select(QAction *action)
|
||||
{
|
||||
const ColorTransform &old_transform = get_color_transform();
|
||||
const oak::ColorTransform &old_transform = get_color_transform();
|
||||
|
||||
ColorTransform new_transform = oak_compliant_transform(
|
||||
oak::ColorTransform new_transform = oak_compliant_transform(
|
||||
reinterpret_cast<olive::ColorManager *>(color_manager_),
|
||||
ColorTransform(old_transform.display(), old_transform.view(),
|
||||
oak::ColorTransform(old_transform.display(), old_transform.view(),
|
||||
action->data().toString()));
|
||||
|
||||
set_color_transform(new_transform);
|
||||
@@ -298,7 +298,7 @@ void ManagedDisplayWidget::menu_colorspace_select(QAction *action)
|
||||
{
|
||||
set_color_transform(oak_compliant_transform(
|
||||
reinterpret_cast<olive::ColorManager *>(color_manager_),
|
||||
ColorTransform(action->data().toString())));
|
||||
oak::ColorTransform(action->data().toString())));
|
||||
}
|
||||
|
||||
void ManagedDisplayWidget::on_destroy()
|
||||
@@ -306,7 +306,7 @@ void ManagedDisplayWidget::on_destroy()
|
||||
oakengine_display_renderer_destroy(attached_renderer_);
|
||||
}
|
||||
|
||||
void ManagedDisplayWidget::set_color_transform(const ColorTransform &transform)
|
||||
void ManagedDisplayWidget::set_color_transform(const oak::ColorTransform &transform)
|
||||
{
|
||||
color_transform_ = transform;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user