Re: Video Renderer problem on CE6
- From: "zzhikang" <zzhikang@xxxxxxxxxxx>
- Date: Thu, 11 Jan 2007 20:33:29 +0800
Hello, Jiang
My transform filter does hardware decoding process, and it decodes media
bitstream to video memory surface.
But, there are some special cases that the default video renderer switches
to software rendering and gives the transform filter a buffer in system
memory.
As far as i know, there are 3 cases:
1. during playing, switch CE Player to backgroud() - for example, activate
explorer and let it cover CE Player completely.
2. during playing, move CE Player down until its titlebar is covered by the
taskbar of Windows CE.
3. play media file normally. After it finishes, do not close CE Player and
let it "Play" again.
Here, take case 3 as example.
When playing media file again, the first frame is keyframe(I-Frame).
But, during the first frame, the transform will receive one dynamic format
change from video renderer(why?) - the media type of output is not null.
The video renderer gives the transform a buffer in system memory, and this
keyframe has to be skipped.(the hardware cannot get this frame)
The hardware has to sync to next keyframe for decoding the correct image.
It may wait too long...depends on when next keyframe comes
Thanks!
"Haitao Jiang (MS)" <haitaoj@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:ejE6GyTMHHA.4000@xxxxxxxxxxxxxxxxxxxxxxx
Would please tell us more about your system, CPU and platform, etc.? Is it
a WMV, MPEG, or other format?
X86, CE6, and normal WMV9
I think this issue has influence on hardware decoding.
Do these scenarios happen to the transfer filters (decoders) provided by
MS as well?
When one dyanmic format change comes from video renderer, there is no lock
and unlock for directdraw surface on CE6.
The hardware will stop decoding.
(CE5 has lock/unlock although CE Player is covered by explorer - case 1)
Thanks,
--
Haitao Jiang
Software Design Engineer in Test
Windows Device Core Multimedia
This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use.
.
- References:
- Re: Video Renderer problem on CE6
- From: zzhikang
- Re: Video Renderer problem on CE6
- From: Haitao Jiang \(MS\)
- Re: Video Renderer problem on CE6
- Prev by Date: Re: AUDIO Driver problem in wince5.0
- Next by Date: Re: Platform manager in WINCE600
- Previous by thread: Re: Video Renderer problem on CE6
- Next by thread: Re: Conversion of YCbCr (4:2:2) to jpeg
- Index(es):
Relevant Pages
|