Re: Issue with Video rendering capabilities.
- From: "Jegan" <Jegan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 13:12:05 -0700
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
> >>
> >>
> >>
>
>
>
.
- References:
- Issue with Video rendering capabilities.
- From: Jegan
- Re: Issue with Video rendering capabilities.
- From: Damon Barry [MSFT]
- Re: Issue with Video rendering capabilities.
- From: Jegan
- Re: Issue with Video rendering capabilities.
- From: Damon Barry [MSFT]
- Issue with Video rendering capabilities.
- Prev by Date: RE: BthReadLocalAddr return ERROR_SERVICE_NOT_ACTIVE
- Next by Date: RE: HELP!!!-Unable to Scan BlueTooth-USB dongle on WInce 5.0
- Previous by thread: Re: Issue with Video rendering capabilities.
- Next by thread: CE5.0 & DirectX8
- Index(es):
Relevant Pages
|
|