| 484 | |
| 485 | |
| 486 | std::string |
| 487 | ImagePlaneDesc::mapPlaneToOFXPlaneString(const ImagePlaneDesc& plane) |
| 488 | { |
| 489 | if (plane.isColorPlane()) { |
| 490 | return kFnOfxImagePlaneColour; |
| 491 | } else if ( plane == ImagePlaneDesc::getBackwardMotionComponents() ) { |
| 492 | return kFnOfxImagePlaneBackwardMotionVector; |
| 493 | } else if ( plane == ImagePlaneDesc::getForwardMotionComponents()) { |
| 494 | return kFnOfxImagePlaneForwardMotionVector; |
| 495 | } else if ( plane == ImagePlaneDesc::getDisparityLeftComponents()) { |
| 496 | return kFnOfxImagePlaneStereoDisparityLeft; |
| 497 | } else if ( plane == ImagePlaneDesc::getDisparityRightComponents() ) { |
| 498 | return kFnOfxImagePlaneStereoDisparityRight; |
| 499 | } else { |
| 500 | return natronCustomCompToOfxComp(plane); |
| 501 | } |
| 502 | |
| 503 | } |
| 504 | |
| 505 | std::string |
| 506 | ImagePlaneDesc::mapPlaneToOFXComponentsTypeString(const ImagePlaneDesc& plane) |
nothing calls this directly
no test coverage detected