Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8178356

Inteface PixelFormat does not support YUV instances, only RGB

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE REQUEST :
      I am developing a media application, in which the user previews input from DirectShow or QuickTime directly in a JavaFx ImageView. But most devices offer only YUV signals, so it has to be converted to RGB before JavaFX can display it, what results in performance issues. The interface PixelWriter is not public, so new ones can't be created.

      JUSTIFICATION :
      This is necessary to greatly enhance the scenarios in which one would choose JavaFx


      CUSTOMER SUBMITTED WORKAROUND :
      Currently, I am converting yuyv422 to bgr0, so I can use PixelFormat.getBgraInstance. But that is losing performance, and my application may not be developed in JavaFx after all

            pmangal Priyanka Mangal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: