Re: how to use DrvEnablePDEV to obtain GDIINFO of the display device?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: vipin (vipin_at_nospam.com)
Date: 08/07/04


Date: Sat, 7 Aug 2004 11:32:52 +0530

The kernel filter you guys are referring to is the kernel driver's filter
and not any OS component filter for GDI.

Most relevant members of GDIINFO are exposed using GetDeviceCaps(...) win32
api which the driver fills up.

thanks
vipin

"lucy" <losemind@yahoo.com> wrote in message
news:#e3g6tAfEHA.3988@tk2msftngp13.phx.gbl...
>
> "Calvin Guan" <cguan@pleasenospam.ati.com> wrote in message
> news:%23xJKrvxeEHA.3964@TK2MSFTNGP12.phx.gbl...
> > I mean kernel GDI filter.
> >
> > I would be interested to know user mode gdi filtering.
> >
> > -
> > Calvin Guan Software Engineer
> > ATI Technologies Inc. www.ati.com
> >
> > "vipin" <vipin@nospam.com> wrote in message
> > news:uwxXxRueEHA.724@TK2MSFTNGP10.phx.gbl...
> > > Do you mean gdi32 dll filter or the kernel filter(for win32k.sys)
> itself?
> > >
> > > thanks
> > > vipin
> > >
> > >
> > > "Calvin Guan" <cguan@pleasenospam.ati.com> wrote in message
> > > news:OqjJykjeEHA.2848@TK2MSFTNGP10.phx.gbl...
> > > > Lucy,
> > > >
> > > > You need a GDI filter. And mind you that Longhorn changes the
graphic
> > > stack
> > > > quite a lot and this trick may not work.
> > > > For more information about GDI filter, you can send me email
directly.
> > > >
> > > > Calvin
> > > > -
> > > > Calvin Guan Software Engineer
> > > > ATI Technologies Inc. www.ati.com
> > > >
> > > > "lucy" <losemind@yahoo.com> wrote in message
> > > > news:eUuw%23DeeEHA.556@tk2msftngp13.phx.gbl...
> > > > > Dear Talented Gurus,
> > > > >
> > > > > 1. Do you know any method that can read the RGB pixel layout of a
> LCD
> > > > > monitor? For example, some LCD has three sub-pixels to composite a
> > > > pixel ---
> > > > > RGB, and others have BGR as subpixel layout. I know of GDIINFO
> > returned
> > > by
> > > > > DrvEnablePDEV function includes a field called
> > > > > ulPhysicalPixelCharacteristics. I am wondering how can I "load the
> > > driver
> > > > in
> > > > > your code and call DrvEnablePDEV"? How can I do that?
> > > > > But how do I get these GDIINFO? Is there any samples on this? I am
> > > really
> > > > > new to this area.
> > > > >
> > > > > Anybody know if I can obtain this information from monitor or
> drivers
> > by
> > > > > programming?
> > > > >
> > > > > Thank you very much for your help,
> > > > >
> > > > > -Lucy
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> Hi Calvin,
>
> I've got your advice on GDI filtering, thank you so much. But still it
looks
> horrible to obtain GDIINFO. Is that the only way of getting GDIINFO
> inforamtion? Any easier one?
>
> Thanks a lot,
>
> -Lucy
>
>



Relevant Pages

  • Re: Sharpen an Image File
    ... I've been using GDI+ now for a few months so I can have my way with images, ... > Edge snap / Filter kernel" demo on my site which includes a generic filter ... Obviously calling it with an input weight of more than 1 enhances ...
    (microsoft.public.vb.winapi.graphics)
  • RE: improving image resolution
    ... If you are using GDI+, ... needs to be converted to 32bppPArgb before you can apply the filter and have ... > tiff files. ... > Is there some way to force the web control to provide the same quality as ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Rendering h.264 decompressed video frames
    ... render the video in DS then creating a filter for the codec. ... bitblt in gdi would have been nice. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: why we want to do folding while performing convolution
    ... only be done for kernels of an odd size ... ... Let's say you have a first order difference filter (two ... shift theorem tells you how much to shift to eliminate the linear phase ... The indices themselves are shifts and the entire kernel can be ...
    (comp.dsp)
  • Re: Any GIMP users (Linux)
    ... kernel proportional to the reduction factor. ... downsampling needs an 8x8 kernel, 3X downsampling needs 12x12, etc). ... expensive filter like Lanczos. ... What downsampling filter does ImageMagick use? ...
    (rec.photo.digital)