VirtualBox

Changeset 24464 in vbox


Ignore:
Timestamp:
Nov 6, 2009 4:24:00 PM (15 years ago)
Author:
vboxsync
Message:

TakeScreenShotSlow corrected comment and API spec.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/DisplayImpl.cpp

    r24459 r24464  
    20742074    if (RT_SUCCESS(vrc))
    20752075    {
    2076         /* Convert pixels to format expected by Python: [0] R, [1] G, [2] B, [3] A. */
     2076        /* Convert pixels to format expected by the API caller: [0] R, [1] G, [2] B, [3] A. */
    20772077        uint8_t *pu8 = pu8Data;
    20782078        unsigned cPixels = width * height;
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r24434 r24464  
    1094310943        Takes a screen shot of the requested size and copies it to the
    1094410944        32-bpp buffer allocated by the caller and pointed to by @a address.
     10945        A pixel consists of 4 bytes in order: B, G, R, 0.
    1094510946
    1094610947        <note>This API can be used only by the COM/XPCOM C++ API as it
     
    1096510966      <desc>
    1096610967        Takes a guest screen shot of the requested size and returns it as
    10967         an array of bytes in uncompressed 32-bit ARGB format.
     10968        an array of bytes in uncompressed 32-bit RGBA format.
     10969        A pixel consists of 4 bytes in order: R, G, B, 0xFF.
     10970
    1096810971        This API is slow, but could be the only option to get guest screenshot
    1096910972        for scriptable languages not allowed to manipulate with addresses
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette