---------------------------------------------------------------------------
| 447 | |
| 448 | //--------------------------------------------------------------------------- |
| 449 | Ztring Fims_Transform_Video(Ztring &ToReturn, MediaInfo_Internal &MI, size_t StreamPos, Export_Fims::version Version) |
| 450 | { |
| 451 | size_t As11_UkDpp_Pos=(size_t)-1; |
| 452 | for (size_t StreamPos_Temp=0; StreamPos_Temp<MI.Count_Get(Stream_Other); StreamPos_Temp++) |
| 453 | { |
| 454 | if (MI.Get(Stream_Other, StreamPos_Temp, Other_Format)==__T("AS-11 UKDPP")) |
| 455 | As11_UkDpp_Pos=StreamPos_Temp; |
| 456 | } |
| 457 | |
| 458 | ToReturn+=__T("\t\t\t\t<bms:videoFormat"); |
| 459 | //if (!MI.Get(Stream_Video, StreamPos, Video_ID).empty()) |
| 460 | // ToReturn+=__T(" videoFormatId=\"")+MI.Get(Stream_Video, StreamPos, Video_ID)+__T("\""); |
| 461 | ToReturn+=__T(">"); |
| 462 | if (!MI.Get(Stream_Video, StreamPos, Video_Format_Version).empty()) |
| 463 | ToReturn+=__T(" <!-- videoFormatVersionId=\"")+MI.Get(Stream_Video, StreamPos, Video_Format_Version)+__T("\" -->"); |
| 464 | ToReturn+=__T("\n"); |
| 465 | |
| 466 | ToReturn+=__T("\t\t\t\t\t<bms:resourceID/>\n"); |
| 467 | |
| 468 | //flag_3D |
| 469 | if (!MI.Get(Stream_Video, StreamPos, Video_MultiView_Count).empty()) |
| 470 | ToReturn+=__T("\t\t\t\t\t<bms:flag_3D>true</bms:flag_3D>\n"); |
| 471 | |
| 472 | //technicalAttributeString - ActiveFormatDescription |
| 473 | if (!MI.Get(Stream_Video, StreamPos, Video_ActiveFormatDescription).empty()) |
| 474 | ToReturn+=__T("\t\t\t\t\t<bms:technicalAttribute formatLabel=\"string\" typeLabel=\"ActiveFormatDescription\">")+MI.Get(Stream_Video, StreamPos, Video_ActiveFormatDescription)+__T("</bms:technicalAttribute>\n"); |
| 475 | |
| 476 | //technicalAttributeString - Standard |
| 477 | if (!MI.Get(Stream_Video, StreamPos, Video_Standard).empty()) |
| 478 | { |
| 479 | ToReturn+=__T("\t\t\t\t\t<bms:technicalAttribute formatLabel=\"string\" typeLabel=\"Standard\">")+MI.Get(Stream_Video, StreamPos, Video_Standard)+__T("</bms:technicalAttribute>\n"); |
| 480 | } |
| 481 | |
| 482 | //technicalAttributeString - ColorSpace |
| 483 | if (!MI.Get(Stream_Video, StreamPos, Video_ColorSpace).empty()) |
| 484 | { |
| 485 | ToReturn+=__T("\t\t\t\t\t<bms:technicalAttribute formatLabel=\"string\" typeLabel=\"ColorSpace\">")+MI.Get(Stream_Video, StreamPos, Video_ColorSpace)+__T("</bms:technicalAttribute>\n"); |
| 486 | } |
| 487 | |
| 488 | //technicalAttributeString - ChromaSubsampling |
| 489 | if (!MI.Get(Stream_Video, StreamPos, Video_ChromaSubsampling).empty()) |
| 490 | { |
| 491 | ToReturn+=__T("\t\t\t\t\t<bms:technicalAttribute formatLabel=\"string\" typeLabel=\"ChromaSubsampling\">")+MI.Get(Stream_Video, StreamPos, Video_ChromaSubsampling)+__T("</bms:technicalAttribute>\n"); |
| 492 | } |
| 493 | |
| 494 | //technicalAttributeString - colour_primaries |
| 495 | if (!MI.Get(Stream_Video, StreamPos, __T("colour_primaries")).empty()) |
| 496 | { |
| 497 | ToReturn+=__T("\t\t\t\t\t<bms:technicalAttribute formatLabel=\"string\" typeLabel=\"colour_primaries\">")+MI.Get(Stream_Video, StreamPos, __T("colour_primaries"))+__T("</bms:technicalAttribute>\n"); |
| 498 | } |
| 499 | |
| 500 | //technicalAttributeString - transfer_characteristics |
| 501 | if (!MI.Get(Stream_Video, StreamPos, __T("transfer_characteristics")).empty()) |
| 502 | { |
| 503 | ToReturn+=__T("\t\t\t\t\t<bms:technicalAttribute formatLabel=\"string\" typeLabel=\"transfer_characteristics\">")+MI.Get(Stream_Video, StreamPos, __T("transfer_characteristics"))+__T("</bms:technicalAttribute>\n"); |
| 504 | } |
| 505 | |
| 506 | //technicalAttributeString - matrix_coefficients |
no test coverage detected