Hi,

We are involved in developing audio conferencing solution with x86 based
platform and Windows CE 4.2. I need clarification on gperotate libraries
limitations. We are using emulation library to do blt and line drawing and
our hardware Display interface is 320 x 240 x 4BPP LCD panel driven by Media
Q PCI chipset.

Question:
Is that possible to use gperotate library to do rotation for 4 BPP
configuration?

Jegan

Re: gperotate library support for 4 BPP by Dean

Dean
Fri May 28 07:36:51 CDT 2004

MediaQ has hardware rotation support in at least some of their devices. In
the past, they did not always take advantage of it in conjunction with
CE.NET rotation. You might wish to contact them and see what their
recomendations are regarding screen rotation in CE.NET. If the hardware
based rotation is available, it would be significantly faster.

As far as the support for software based rotation in CE.NET, I would think
it would work. However, I can't say for sure.
--
Dean Ramsier - eMVP


"Jegan" <jeganmrdel@hotmail.com> wrote in message
news:eq5sWQCREHA.3728@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> We are involved in developing audio conferencing solution with x86 based
> platform and Windows CE 4.2. I need clarification on gperotate libraries
> limitations. We are using emulation library to do blt and line drawing and
> our hardware Display interface is 320 x 240 x 4BPP LCD panel driven by
Media
> Q PCI chipset.
>
> Question:
> Is that possible to use gperotate library to do rotation for 4 BPP
> configuration?
>
> Jegan
>
>



Re: gperotate library support for 4 BPP by Jegan

Jegan
Fri May 28 08:53:29 CDT 2004

Hardware rotation is the only option. I will talk to media Q engineers and
get help.

GPEROTATE is not supporting 4BPP and there is an assert statement in
gperotate.cpp which would assert any thing less than 8 BPP.

Thanks
Jegan


"Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
news:%23sxy0BLREHA.3988@tk2msftngp13.phx.gbl...
> MediaQ has hardware rotation support in at least some of their devices.
> In
> the past, they did not always take advantage of it in conjunction with
> CE.NET rotation. You might wish to contact them and see what their
> recomendations are regarding screen rotation in CE.NET. If the hardware
> based rotation is available, it would be significantly faster.
>
> As far as the support for software based rotation in CE.NET, I would think
> it would work. However, I can't say for sure.
> --
> Dean Ramsier - eMVP
>
>
> "Jegan" <jeganmrdel@hotmail.com> wrote in message
> news:eq5sWQCREHA.3728@TK2MSFTNGP10.phx.gbl...
>> Hi,
>>
>> We are involved in developing audio conferencing solution with x86 based
>> platform and Windows CE 4.2. I need clarification on gperotate libraries
>> limitations. We are using emulation library to do blt and line drawing
>> and
>> our hardware Display interface is 320 x 240 x 4BPP LCD panel driven by
> Media
>> Q PCI chipset.
>>
>> Question:
>> Is that possible to use gperotate library to do rotation for 4 BPP
>> configuration?
>>
>> Jegan
>>
>>
>
>



Re: gperotate library support for 4 BPP by Dean

Dean
Fri May 28 11:09:42 CDT 2004

Another option that may or may not work for you is to change your pallete
size to 8bpp. A BPP designation means different things in hardware than it
does in software. I'm not sure what you meant by a 4BPP hardware
interface - is this an LCD that has only 4 data bits? You can always map
the palettes to display the colors that are supported by the lcd. As far as
CE is concerned, it's an 8bpp display.

--
Dean Ramsier - eMVP


"Jegan" <jeganmrdel@hotmail.com> wrote in message
news:e7EeqsLREHA.2936@TK2MSFTNGP12.phx.gbl...
> Hardware rotation is the only option. I will talk to media Q engineers and
> get help.
>
> GPEROTATE is not supporting 4BPP and there is an assert statement in
> gperotate.cpp which would assert any thing less than 8 BPP.
>
> Thanks
> Jegan
>
>
> "Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
> news:%23sxy0BLREHA.3988@tk2msftngp13.phx.gbl...
> > MediaQ has hardware rotation support in at least some of their devices.
> > In
> > the past, they did not always take advantage of it in conjunction with
> > CE.NET rotation. You might wish to contact them and see what their
> > recomendations are regarding screen rotation in CE.NET. If the hardware
> > based rotation is available, it would be significantly faster.
> >
> > As far as the support for software based rotation in CE.NET, I would
think
> > it would work. However, I can't say for sure.
> > --
> > Dean Ramsier - eMVP
> >
> >
> > "Jegan" <jeganmrdel@hotmail.com> wrote in message
> > news:eq5sWQCREHA.3728@TK2MSFTNGP10.phx.gbl...
> >> Hi,
> >>
> >> We are involved in developing audio conferencing solution with x86
based
> >> platform and Windows CE 4.2. I need clarification on gperotate
libraries
> >> limitations. We are using emulation library to do blt and line drawing
> >> and
> >> our hardware Display interface is 320 x 240 x 4BPP LCD panel driven by
> > Media
> >> Q PCI chipset.
> >>
> >> Question:
> >> Is that possible to use gperotate library to do rotation for 4 BPP
> >> configuration?
> >>
> >> Jegan
> >>
> >>
> >
> >
>
>



Re: gperotate library support for 4 BPP by Jegan

Jegan
Fri Jun 04 10:37:53 CDT 2004

Dean,

I understand what you are trying to tell me. Yes, my LCD interace is 4 data
bit interface. Even then I kind of like your idea. So far, we were trying 2
pixels packed into each byte but I like to try 1 pixel in every byte.
Ofcourse I need to do special setting in the display controller to recognize
this change otherwise my frame buffer size would be affected.

I will try representing 8bpp with 16 bit color palette from the driver, so
that I would expect lower 4 bits to contain valid pixel/color information
and higher 4 bit is always 0.

During display driver Initialize we would pass information about resolution,
BPP etc to the gpe library. EngCreatePalette is only function I saw to
exchange palette specific information. Will gpe library recognize what I
aimed to do by just modifying BPP value passed to GPE and argument passed in
EngCreatePalette function. Is there another information GPE library needs to
do 1 Byte packed with 1 pixel information?

Jegan


"Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
news:OQQI04MREHA.3744@TK2MSFTNGP10.phx.gbl...
> Another option that may or may not work for you is to change your pallete
> size to 8bpp. A BPP designation means different things in hardware than
> it
> does in software. I'm not sure what you meant by a 4BPP hardware
> interface - is this an LCD that has only 4 data bits? You can always map
> the palettes to display the colors that are supported by the lcd. As far
> as
> CE is concerned, it's an 8bpp display.
>
> --
> Dean Ramsier - eMVP
>
>
> "Jegan" <jeganmrdel@hotmail.com> wrote in message
> news:e7EeqsLREHA.2936@TK2MSFTNGP12.phx.gbl...
>> Hardware rotation is the only option. I will talk to media Q engineers
>> and
>> get help.
>>
>> GPEROTATE is not supporting 4BPP and there is an assert statement in
>> gperotate.cpp which would assert any thing less than 8 BPP.
>>
>> Thanks
>> Jegan
>>
>>
>> "Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
>> news:%23sxy0BLREHA.3988@tk2msftngp13.phx.gbl...
>> > MediaQ has hardware rotation support in at least some of their devices.
>> > In
>> > the past, they did not always take advantage of it in conjunction with
>> > CE.NET rotation. You might wish to contact them and see what their
>> > recomendations are regarding screen rotation in CE.NET. If the
>> > hardware
>> > based rotation is available, it would be significantly faster.
>> >
>> > As far as the support for software based rotation in CE.NET, I would
> think
>> > it would work. However, I can't say for sure.
>> > --
>> > Dean Ramsier - eMVP
>> >
>> >
>> > "Jegan" <jeganmrdel@hotmail.com> wrote in message
>> > news:eq5sWQCREHA.3728@TK2MSFTNGP10.phx.gbl...
>> >> Hi,
>> >>
>> >> We are involved in developing audio conferencing solution with x86
> based
>> >> platform and Windows CE 4.2. I need clarification on gperotate
> libraries
>> >> limitations. We are using emulation library to do blt and line drawing
>> >> and
>> >> our hardware Display interface is 320 x 240 x 4BPP LCD panel driven by
>> > Media
>> >> Q PCI chipset.
>> >>
>> >> Question:
>> >> Is that possible to use gperotate library to do rotation for 4 BPP
>> >> configuration?
>> >>
>> >> Jegan
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Re: gperotate library support for 4 BPP by Steve

Steve
Sat Jun 05 06:43:50 CDT 2004

Actually 16bpp is assumed to be without a palette so that would cause some
troubles as you would only be seeing one portion of the color spectrum
translated into your monochrome display. Using 8bpp and a palette as Dean
suggested keeps things quite simple in the driver and the software need not
be aware that it's really a monochrome display.

--
Steve Maillet (eMVP)
EmbeddedFusion
smaillet_AT_EmbeddedFusion_DOT_com