VirtualBox

Changeset 22189 in vbox for trunk/include


Ignore:
Timestamp:
Aug 11, 2009 7:28:42 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50975
Message:

video hw accel: propper report supported functionality, some code cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxVideo.h

    r22028 r22189  
    254254# ifdef VBOX_WITH_VIDEOHWACCEL
    255255#pragma pack(1)
     256
     257#define VBOXVHWA_VERSION_MAJ 0
     258#define VBOXVHWA_VERSION_MIN 0
     259#define VBOXVHWA_VERSION_BLD 1
     260#define VBOXVHWA_VERSION_RSV 0
    256261
    257262typedef enum
     
    511516#define VBOXVHWA_OFFSET64_VOID        (~0L)
    512517
     518typedef struct _VBOXVHWA_VERSION
     519{
     520    uint32_t maj;
     521    uint32_t min;
     522    uint32_t bld;
     523    uint32_t reserved;
     524} VBOXVHWA_VERSION;
     525
    513526typedef struct _VBOXVHWACMD_QUERYINFO1
    514527{
    515     uint32_t cfgFlags;
    516     uint32_t caps;
    517     uint32_t caps2;
    518     uint32_t colorKeyCaps;
    519     uint32_t stretchCaps;
    520     uint32_t surfaceCaps;
    521     uint32_t numOverlays;
    522     uint32_t numFourCC;
    523 
     528    union
     529    {
     530        struct
     531        {
     532            VBOXVHWA_VERSION guestVersion;
     533        } in;
     534
     535        struct
     536        {
     537            uint32_t cfgFlags;
     538            uint32_t caps;
     539
     540            uint32_t caps2;
     541            uint32_t colorKeyCaps;
     542
     543            uint32_t stretchCaps;
     544            uint32_t surfaceCaps;
     545
     546            uint32_t numOverlays;
     547            uint32_t curOverlays;
     548
     549            uint32_t numFourCC;
     550            uint32_t reserved;
     551        } out;
     552    } u;
    524553} VBOXVHWACMD_QUERYINFO1;
    525554
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