From ee841adbc3fd155882c93825e1bb916229f33d0b Mon Sep 17 00:00:00 2001 From: jelkins Date: Mon, 17 Oct 2022 14:12:30 -0700 Subject: fix: add IMF JP2K 2K Lossy Profiles --- src/MDD.cpp | 38 ++++++++++++++++++++++++++++++++++++++ src/MDD.h | 12 ++++++++++++ 2 files changed, 50 insertions(+) (limited to 'src') diff --git a/src/MDD.cpp b/src/MDD.cpp index c513f3b..17cb790 100644 --- a/src/MDD.cpp +++ b/src/MDD.cpp @@ -1762,6 +1762,44 @@ static const ASDCP::MDDEntry s_MDD_Table[] = { { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, 0x04, 0x01, 0x01, 0x01, 0x02, 0x04, 0x00, 0x00 }, {0}, false, "CodingEquations_YCGCO" }, // 569 + + // more IMF + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x03 }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_1_1" }, // 570 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x05 }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_2_1" }, // 571 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x07 }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_3_1" }, // 572 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x09 }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_4_1" }, // 573 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x0a }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_4_2" }, // 574 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x0c }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_5_1" }, // 575 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x0d }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_5_2" }, // 576 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x0e }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_5_3" }, // 577 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x10 }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_6_1" }, // 578 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x11 }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_6_2" }, // 579 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x12 }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_6_3" }, // 580 + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x0d, + 0x04, 0x01, 0x02, 0x02, 0x03, 0x01, 0x02, 0x13 }, + {0, 0}, false, "JP2KEssenceCompression_IMFProfile_2K_Lossy_6_4" }, // 581 { {0}, {0}, false, 0 }, }; diff --git a/src/MDD.h b/src/MDD.h index 2250f0c..2537117 100755 --- a/src/MDD.h +++ b/src/MDD.h @@ -605,6 +605,18 @@ namespace ASDCP { MDD_CodingEquations_BGR, // 567 MDD_CodingEquations_ST240M, // 568 MDD_CodingEquations_YCGCO, // 569 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_1_1, // 570 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_2_1, // 571 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_3_1, // 572 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_4_1, // 573 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_4_2, // 574 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_5_1, // 575 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_5_2, // 576 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_5_3, // 577 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_6_1, // 578 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_6_2, // 579 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_6_3, // 580 + MDD_JP2KEssenceCompression_IMFProfile_2K_Lossy_6_4, // 581 MDD_Max }; // enum MDD_t -- cgit v1.2.3