The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Developing Universal Windows apps!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

 none
[W8.1][WP8.1][C++] Is there any chance to use BitmapPixelFormat.Nv12 RRS feed

  • Question

  • The document for for UWP shows BitmapPixelFormat.Nv12.  I am unable to find the corresponding document for WinRT app for W8.1 or WP8.1.   Is there is a way to use BitmapPixelFormat.Nv12 to configure a BitmapEncoder so that it can use NV12 as the source data?

    Hong

    Thursday, February 23, 2017 8:24 PM

Answers

  • Hi Hong,

    Sorry for the wrong post. BitmapPixelFormat definitely is available to Windows 8.1 apps. But Nv12 is not included in Windows 8.1. It looks like we lost the Windows 8.1 reference docs. I have reported this issue. At this time, you could use the Object Browser to see what fields are available to Windows 8.1 apps.

    Best Regards,
    David


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    • Edited by David_FF Friday, February 24, 2017 6:54 AM
    • Marked as answer by Hong (MA, USA) Friday, February 24, 2017 10:50 PM
    Friday, February 24, 2017 6:47 AM

All replies

  • Hi Hong,

    Unfortunately as you can see in the document, the BitmapPixelFormat API is introduced v10.0.10240.0 so that you could not use it for Windows 8.1 or Windows Phone 8.1 apps.

    Best Regards,
    David

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Hong (MA, USA) Friday, February 24, 2017 3:58 AM
    • Unmarked as answer by David_FF Friday, February 24, 2017 6:37 AM
    Friday, February 24, 2017 2:45 AM
  • Thank you for the clarification, David.

    BTW, where can I find the document for WinRT's BitmapPixelFormat?


    Hong

    Friday, February 24, 2017 3:59 AM
  • Hi Hong,

    Sorry for the wrong post. BitmapPixelFormat definitely is available to Windows 8.1 apps. But Nv12 is not included in Windows 8.1. It looks like we lost the Windows 8.1 reference docs. I have reported this issue. At this time, you could use the Object Browser to see what fields are available to Windows 8.1 apps.

    Best Regards,
    David


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    • Edited by David_FF Friday, February 24, 2017 6:54 AM
    • Marked as answer by Hong (MA, USA) Friday, February 24, 2017 10:50 PM
    Friday, February 24, 2017 6:47 AM
  • Thank you, David.

    Hong

    Friday, February 24, 2017 10:50 PM