Add 4K DCI profiles

CCBUG: 365535
parent a23df090
......@@ -5,6 +5,7 @@ add_subdirectory(icons)
add_subdirectory(lumas)
add_subdirectory(man)
add_subdirectory(titles)
add_subdirectory(profiles)
if (KF5_ICON_COMPATIBILITY)
add_subdirectory(pics)
......
INSTALL (FILES
dci_2160p_2398
dci_2160p_24
dci_2160p_25
dci_2160p_2997
dci_2160p_30
dci_2160p_50
dci_2160p_5994
dci_2160p_60
DESTINATION ${DATA_INSTALL_DIR}/kdenlive/profiles)
description=4K DCI 2160p 23.98 fps
frame_rate_num=24000
frame_rate_den=1001
width=4096
height=2160
progressive=1
sample_aspect_num=1
sample_aspect_den=1
display_aspect_num=256
display_aspect_den=135
colorspace=709
description=4K DCI 2160p 24 fps
frame_rate_num=24
frame_rate_den=1
width=4096
height=2160
progressive=1
sample_aspect_num=1
sample_aspect_den=1
display_aspect_num=256
display_aspect_den=135
colorspace=709
description=4K DCI 2160p 25 fps
frame_rate_num=25
frame_rate_den=1
width=4096
height=2160
progressive=1
sample_aspect_num=1
sample_aspect_den=1
display_aspect_num=256
display_aspect_den=135
colorspace=709
description=4K DCI 2160p 29.97 fps
frame_rate_num=30000
frame_rate_den=1001
width=4096
height=2160
progressive=1
sample_aspect_num=1
sample_aspect_den=1
display_aspect_num=256
display_aspect_den=135
colorspace=709
description=4K DCI 2160p 30 fps
frame_rate_num=30
frame_rate_den=1
width=4096
height=2160
progressive=1
sample_aspect_num=1
sample_aspect_den=1
display_aspect_num=256
display_aspect_den=135
colorspace=709
description=4K DCI 2160p 50 fps
frame_rate_num=50
frame_rate_den=1
width=4096
height=2160
progressive=1
sample_aspect_num=1
sample_aspect_den=1
display_aspect_num=256
display_aspect_den=135
colorspace=709
description=4K DCI 2160p 59.94 fps
frame_rate_num=60000
frame_rate_den=1001
width=4096
height=2160
progressive=1
sample_aspect_num=1
sample_aspect_den=1
display_aspect_num=256
display_aspect_den=135
colorspace=709
description=4K DCI 2160p 60 fps
frame_rate_num=60
frame_rate_den=1
width=4096
height=2160
progressive=1
sample_aspect_num=1
sample_aspect_den=1
display_aspect_num=256
display_aspect_den=135
colorspace=709
......@@ -111,6 +111,8 @@ void ProfileWidget::loadProfile(const QString &profile)
m_standard->blockSignals(true);
m_standard->clear();
m_list4K.clear();
m_list4KWide.clear();
m_list4KDCI.clear();
m_list2K.clear();
m_listFHD.clear();
m_listHD.clear();
......@@ -125,7 +127,15 @@ void ProfileWidget::loadProfile(const QString &profile)
}
switch(prof.height) {
case 2160:
m_list4K.append(prof);
if (prof.width == 3840) {
m_list4K.append(prof);
} else if (prof.width == 5120) {
m_list4KWide.append(prof);
} else if (prof.width == 4096) {
m_list4KDCI.append(prof);
} else {
m_listCustom.append(prof);
}
break;
case 1440:
m_list2K.append(prof);
......@@ -157,6 +167,12 @@ void ProfileWidget::loadProfile(const QString &profile)
break;
}
}
if (!m_list4KDCI.isEmpty()) {
m_standard->addItem(i18n("4K DCI 2160"), Std4KDCI);
}
if (!m_list4KWide.isEmpty()) {
m_standard->addItem(i18n("4K UHD Wide 2160"), Std4KWide);
}
if (!m_list4K.isEmpty()) {
m_standard->addItem(i18n("4K UHD 2160"), Std4K);
}
......@@ -188,6 +204,12 @@ void ProfileWidget::loadProfile(const QString &profile)
QList <MltVideoProfile> ProfileWidget::getList(VIDEOSTD std)
{
switch (std) {
case Std4KDCI:
return m_list4KDCI;
break;
case Std4KWide:
return m_list4KWide;
break;
case Std4K:
return m_list4K;
break;
......
......@@ -47,6 +47,8 @@ private:
/** @brief currently selected's profile path */
MltVideoProfile m_currentProfile;
void slotUpdateInfoDisplay();
QList <MltVideoProfile> m_list4KDCI;
QList <MltVideoProfile> m_list4KWide;
QList <MltVideoProfile> m_list4K;
QList <MltVideoProfile> m_list2K;
QList <MltVideoProfile> m_listFHD;
......@@ -67,6 +69,8 @@ private:
enum VIDEOSTD {
Std4K = 0,
Std4KWide,
Std4KDCI,
Std2K,
StdFHD,
StdHD,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment