Jump to content

IMAGECAPS

From EDM2
Revision as of 17:25, 8 February 2020 by Martini (talk | contribs) (Created page with "Capabilities of the video accelerator driver. ==Type== ULONG ulLength; ULONG ulCaps; ULONG ulMaxHorz; ULONG ulMaxVert; BOOL ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Capabilities of the video accelerator driver.

Type

 ULONG          ulLength;
 ULONG          ulCaps;  
 ULONG          ulMaxHorz;
 ULONG          ulMaxVert;
 BOOL           fAccelMem;
 ULONG          ulPhysAddrVRAM;
 ULONG          ulSize;        
 ULONG          ulScanLineBytes;
 ULONG          ulNumCodecs;    
 PCODECINFO     pCodecList;     
 ULONG          ulNumSrc;       
 PCOLORINFO     pSrcColorInfo;  
 ULONG          ulNumDst;       
 PCOLORINFO     pDstColorInfo;  

C Declaration Method

typedef struct

Example Code

typedef struct _IMAGECAPS {
  ULONG          ulLength;         /*  Length of IMAGECAPS data structure, in bytes. */
  ULONG          ulCaps;           /*  Flag that specifies image capabilities supported. */
  ULONG          ulMaxHorz;        /*  Maximum horizontal pels supported by scaler. */
  ULONG          ulMaxVert;        /*  Maximum vertical lines supported by scaler. */
  BOOL           fAccelMem;        /*  Flag indicating whether the hardware accelerator has additional VRAM for use. */
  ULONG          ulPhysAddrVRAM;   /*  Physical address of the hardware accelerator VRAM. */
  ULONG          ulSize;           /*  Size of hardware accelerator VRAM, in bytes. */
  ULONG          ulScanLineBytes;  /*  Size of scan line, in bytes. */
  ULONG          ulNumCodecs;      /*  Number of FOURCCs that follow in this structure. */
  PCODECINFO     pCodecList;       /*  Pointer to array of CODEC FOURCCs. */
  ULONG          ulNumSrc;         /*  Number of source COLORINFO data structures pointed to by pSrcColor
Info. */
  PCOLORINFO     pSrcColorInfo;    /*  Pointer to array of source COLORINFO data structures. */
  ULONG          ulNumDst;         /*  Number of destination COLORINFO data structures pointed to by pDstColorInfo. */
  PCOLORINFO     pDstColorInfo;    /*  Pointer to array of destination COLORINFO data structures. */
} IMAGECAPS;

typedef IMAGECAPS *PIMAGECAPS;