]> git.sesse.net Git - kdenlive/blobdiff - src/colortools.h
Color Tools
[kdenlive] / src / colortools.h
index 7ba179167b69927a2ac798c22a45bfb539e73f31..1b2eb1a21d18d5841f41608602557a3a4e8b6d44 100644 (file)
@@ -52,9 +52,16 @@ public:
       in equal terms (linear as well) on the x axis.
      */
     QImage rgbCurvePlane(const QSize &size, const ColorTools::ColorsRGB &color);
+    /**
+      @brief Draws a YPbPr plane with Pb on the x axis and Pr on the y axis.
+      Y is the Y value to use.
+      scaling defines how far to zoom in (or out). Lower value = zoom in.
+      See also: http://de.wikipedia.org/wiki/YPbPr-Farbmodell and http://www.poynton.com/ColorFAQ.html
+     */
+    QImage yPbPrColorWheel(const QSize &size, const unsigned char &Y, const float &scaling, const bool &circleOnly);
 
 signals:
-    void signalWheelCalculationFinished();
+    void signalYuvWheelCalculationFinished();
 };
 
 #endif // COLORTOOLS_H