Re: Issue with Video rendering capabilities.



Thanks very much barry. Newsgroup is one of the source of data gathering, I
do know that It is too much to ask here.

Anyways I am going to try the suggestion you made and go from there.

I appreciate your contributions.

Best regards,
Jegan

"Damon Barry [MSFT]" wrote:

> On a low-power device like yours, you'll probably need to do quite a bit of
> fine tuning to get the performance you are looking for. I think it can be
> done, but just as a disclaimer I want to point out that the newsgroups may
> not provide the depth of focused help you'll need... :-)
>
> Now on to the next steps. There are similar devices out there that can
> render high-quality WMV from disk, but I think they've addressed at least
> one of the three trouble spots (PIO-mode disk access, SW decoding, and emul
> BLTs to the display) with HW. You need to do some profiling to figure out
> where you're spending your time. You can learn how to use the Monte Carlo
> profiler here:
>
> http://msdn.microsoft.com/library/en-us/wcedebug5/html/wce50conMonteCarloProfiling.asp?frame=true
>
> It will give you an ordered list of functions in your output window, and
> will show you where you are spending the most time. I expect you'll see the
> PIO-mode stuff in there, and/or SW decode and the emul BLT routines. Each
> of these could be mitigated, respectively, by DMA, HW decode, and HW
> overlays. I would start with the top of the list and go from there.
>
> Thanks,
> Damon
> --
> damonb@xxxxxxxxxxxxxxxxxxxx (Remove the 'online.' from my address to reach
> me.)
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> ______________________________
>
> The Windows CE 5.0 documentation is online at:
> http://msdn.microsoft.com/library/en-us/wceintro5/html/wce50oriWelcomeToWindowsCE.asp?frame=true
>
>
> "Jegan" <Jegan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:B4FEED82-369A-43CF-960D-FF0485F1C1E4@xxxxxxxxxxxxxxxx
> > Barry,
> >
> > Hard drive is operated by PIO method, so the effective data transfer rate
> > can be upto 16MB/s. We were using Windows CE .Net 5.0.
> >
> > This problem persist even when the file resides in system memory and the
> > processor is taking almost 100% of processing time during this video
> > rendering. Win CE is in hard real time mode, no debugger or KITL is
> > involved
> > during testing this video rendering.
> >
> > We knew that our display driver is using emulation libraries to do blt
> > operation, so there is no 2D acceleration and We were using Microsoft WMV
> > decoder to do video rendering. We couldn't find out which one of these
> > component is taking more processing time. Any tips in finding the root
> > cause
> > could also be helpful.
> >
> > What we are trying to find out
> > 1.) With increased h/w support, processor overheads can be shared, in this
> > changed scenario can we say that for sure this problem will be solved?
> > 2.) What is the performance specification of Microsoft WMV decoder (in
> > terms
> > of MIPS, expected data rate etc... ). This specification will help us to
> > decide components for the hardware design.
> >
> > Regards,
> > Jegan
> >
> > "Damon Barry [MSFT]" wrote:
> >
> >> You played some high-quality wmv on your platform and the experience
> >> didn't
> >> meet your requirements, so you determined there were two problems:
> >>
> >> 1. hard disk read latency
> >> 2. performance wrt rendering to the display
> >>
> >> Did you do some testing to narrow it down to these two issues, or is that
> >> an
> >> educated guess? If you're sure these are the problems, then your
> >> solutions
> >> would certainly yield benefits. But you'll want to be sure you're
> >> addressing the right problems.
> >>
> >> I'll have to look for technical articles; I don't know of anything off
> >> hand.
> >> But for your HW decoder I suspect you'll want to write or acquire a DShow
> >> Filter or a DMO that fits into the DShow filter graph and communicates
> >> down
> >> to the hardware. And the display accelerators would go into the display
> >> driver.
> >>
> >> Have you confirmed that DMA is enabled for the hard drive? Also which
> >> version of CE is this?
> >> --
> >> damonb@xxxxxxxxxxxxxxxxxxxx (Remove the 'online.' from my address to
> >> reach
> >> me.)
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >> ______________________________
> >>
> >> The Windows CE .NET documentation is online at:
> >> http://msdn.microsoft.com/library/en-us/wceintro5/html/wce50oriWelcomeToWindowsCE.asp?frame=true
> >>
> >>
> >> "Jegan" <Jegan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >> news:A1E53883-257B-48F0-B099-BE0EC66D347D@xxxxxxxxxxxxxxxx
> >> > Hi,
> >> >
> >> > We have an requirement to play DVD quality video content (wmv) in
> >> > xScale
> >> > PXA263 processor with QVGA LCD display. We aren't very satisfied with
> >> > the
> >> > performance. This WMV exist in a PCMCIA based 5GB hard disk. we are
> >> > looking
> >> > at enhancing the performace by
> >> >
> >> > 1.) Adding MPG or WMV hardware decoder (Like intel G2700 etc.)
> >> > 2.) Adding display hardware accelerators (bit blt acceleration).
> >> >
> >> > This changed solution looks promizing to us, what is your take on this
> >> > issue?
> >> >
> >> > How to make WMP to use MPG or WMV hardware decoding instead of using
> >> > software decoderds? And Point to good technical articles and/or sample
> >> > code
> >> > that talk about this feature?
> >> >
> >> > Data transfer between the hard disk and system memory is also a concern
> >> > and
> >> > any suggestion in this area will also be useful.
> >> >
> >> > Regards,
> >> > Jegan
> >>
> >>
> >>
>
>
>
.



Relevant Pages

  • Re: making fonts look same in Ghostscript and X11
    ... look *exactly* like it does in my X11 app. ... This is unlikely on a single computer, and a practical impossibility if you want to use a remote display. ... On my fc4 system the xmessage rendering is terrible. ... This seems to be a problem for many proportional fonts and few fixed-width fonts. ...
    (comp.lang.postscript)
  • Rendering CAD/GIS Data on a Map Canvas
    ... I haven't decided for sure if I will use Swing or SWT for the ... This program I am working on will have to display a large number of 2D ... possible to render the shapes that would fall within an area 20% larger ... Is this method of partial rendering possible? ...
    (comp.lang.java.gui)
  • Re: making fonts look same in Ghostscript and X11
    ... look *exactly* like it does in my X11 app. ... the rendering for individual glyphs. ... Xorg 6.8.1.902, GNU Ghostscript 7.07, 100dpi display). ... X11 - my app just needs to manipulate text on a display, ...
    (comp.lang.postscript)
  • Re: How do you download multimedia files?
    ... This is from the Outlook Express help file (see Combine and Decode): ... the messages to recreate the original message and display it in Outlook ... > saved on my hard drive with an .nws extension. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Question related to the Combine and Decode option problem.
    ... Combine and Decode is for multi part messages only ... and display it in Outlook Express. ... Select all of the messages that are part of the original message (each ... window. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)