RE: Does Video render in CE 6.0 use the Overlay surfaces (UYVY)?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hi,
send me your platform.reg file settings for camera.
then only i will be able to help you.
regards
Umesh Jagga
(ujags AT hotmail DOT com)

"BSP Developer" wrote:

Greetings,

Please excuse me for repeated post on this subject. However, I’m not able to
proceed for a long time. Any suggestions/advise would be of great help.

I’ve implemented the DirectDraw display driver for CE 6.0 that supports the
UYVY overlay surfaces. The hardware does not support the color keying in this
surfaces. Having implemented this driver, I have also executed the Mosquito
sample application (modified to eliminate the request for setting color key).
This application executes with the mosquito bitmap flipping and moving all
around the screen.

Further I tried to use the CEPlayer expecting it to use the YUV overlay
surfaces. However, it was observed that Video render is using the default
primary surface format (RGB888) for rendering the video image. However, I do
see that while playback of the video file, the YUV surface is created and not
used further.

Having looked at the Multi-media blogs I also turned ON the debug zones from
the Quartz.dll. However, even those debug logs did not help much identifying
the issue.

Any suggestions in resolving this issue would be greatly appreciated.

Thanking you in advance.
BD.


PS: Pasted below is the output log collected in the Debug output window.


Filter 14174a10 'Video Renderer' Iunknown 14174a00
Pin 14174e98 Input (Input) connected to 14172600
Filter 141713a0 'WMVideo & MPEG4 Decoder DMO' Iunknown 14171390
Pin 140cb200 in0 (Input) connected to 140cde20
Pin 14172600 out0 (PINDIR_OUTPUT) connected to 14174e98
Pin 14172740 ~out1 (PINDIR_OUTPUT) connected to 0
Filter 140cecc0 'ASF ICM Handler' Iunknown 140cecb0
Pin 140cedd0 In (Input) connected to 140c3cc0
Pin 140cde20 Out (PINDIR_OUTPUT) connected to 140cb200
Filter 140ce260 'Audio Renderer' Iunknown 140ce250
wo: GetPin, 0
Pin 140ce500 Audio Input pin (rendered) (Input) connected to 140cdc60
Filter 140cd540 'WMAudio Decoder DMO' Iunknown 140cd530
Pin 140cdac0 in0 (Input) connected to 140cc8a0
Pin 140cdc60 out0 (PINDIR_OUTPUT) connected to 140ce500
Filter 140cb400 'ASF ACM Handler' Iunknown 140cb3f0
Pin 140cb510 In (Input) connected to 140c3a20
Pin 140cc8a0 Out (PINDIR_OUTPUT) connected to 140cdac0
Filter 1402ad80 '\ATA Hard Disk\kelsyville_av32.wmv' Iunknown 1402ad70
Pin 140c3a20 Stream 1 (PINDIR_OUTPUT) connected to 140cb510
Pin 140c3cc0 Stream 2 (PINDIR_OUTPUT) connected to 140cedd0
End of filter graph dump
wo: GetPin, 0
wo: GetPin, 0
wo: GetPin, 0
wo: GetPin, 0
wo: GetPin, 0
wo: GetPin, 0
CFGControl::CImplMediaSeeking::GetDuration()
CFGControl::CImplMediaSeeking::GetCurrentPosition()
GetCurrentMediaTime returned 0(st 0)
CFGControl::CImplMediaSeeking::GetDuration()
CFGControl::CImplMediaSeeking::GetStopPosition()
CFGControl::CImplMediaSeeking::GetTimeFormat()
CFGControl::CImplMediaSeeking::GetDuration()
CFGControl::CImplMediaSeeking::IsFormatSupported()
CFGControl::CImplMediaSeeking::GetAvailable()
CFGControl::CImplMediaSeeking::GetCapabilities()
CFGControl::CImplMediaSeeking::GetDuration()
waveOutGetVolume: vol = 99999999
wo: GetPin, 0
CFGControl::CImplMediaSeeking::GetDuration()
Entering OnSize
Entering SetTargetRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
Changed parent 70024250
Entering NonDelegatingQueryInterface
Entering NonDelegatingAddRef
Entering GetWindowHandle
Entering NonDelegatingRelease
Entering OnSize
Entering SetTargetRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
Entering OnSize
Entering SetTargetRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
Entering OnSize
Entering SetTargetRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
Entering OnSize
Entering SetTargetRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
Entering OnSize
Entering SetTargetRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
SWP failed error 0
Entering SetSourceRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
Entering NonDelegatingQueryInterface
Entering NonDelegatingAddRef
Entering GetWindowHandle
Entering NonDelegatingRelease
Entering OnPaint
Entering OnErasebackground
Entering OnPaint
Entering ThawVideo
No thaw
Handling no colour key defined
GetDirectDrawStatus = 0
EraseVideoBackground
Sending repaint
CFGControl::CImplMediaSeeking::CheckCapabilities()
CFGControl::CImplMediaSeeking::GetStopPosition()
CFGControl::CImplMediaSeeking::GetDuration()
CFGControl::CImplMediaSeeking::GetDuration()
CFGControl::CImplMediaSeeking::GetRate()
Entering OnSize
Entering SetTargetRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
SWP failed error 0
Entering SetSourceRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
Entering OnSize
Entering SetTargetRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
SWP failed error 0
Entering SetSourceRect
Entering OnUpdateRectangles
Entering NotifyChange (9)
No client
Destination changed
CFGControl::CImplMediaSeeking::GetCurrentPosition()
GetCurrentMediaTime returned 0(st 0)
CFGControl::CImplMediaSeeking::GetDuration()
CFGControl::CImplMediaSeeking::GetStopPosition()
CFGControl::CImplMediaSeeking::GetPositions()
GetCurrentMediaTime returned 0(st 0)
CFGControl::CImplMediaSeeking::GetStopPosition()
CFGControl::CImplMediaSeeking::GetDuration()
CFGControl::CImplMediaSeeking::GetDuration()
waveOutGetVolume: vol = 99999999
waveOutGetVolume: vol = 99999999
CFGControl::CImplMediaControl::Run()
wo: GetPin, 0
Got clock from filter 140ce260 Audio Renderer
wo: SetSyncSource to clock 140ce6c0
wo: SetSyncSource to clock 140ce6c0 (140ce6b0)
CFGControl::Pause()
Overlay is stale
Entering IsOverlayEnabled
Overlay invisible
CBaseRendererAsync::Pause
CBaseRenderer::RunThread
CBaseRendererAsync::ThreadProc - Starting thread = 0x1e10a03
CBaseRendererAsync::ThreadProc - CMD_RUN received
CBaseRendererAsync::ThreadProc - Start running loop
CBaseRenderer::Pause
Allocating video resources
Initialising DCI/DirectDraw
Searching for direct format
Entering ReleaseSurfaces
Entering HideOverlaySurface
Enumerated 32315659
Entering FindSurface
Entering GetMediaType
Not a RGB format
Entering CreateYUVFlipping
Entering CheckCreateOverlay
GWES Hook fails surface creation. IDirectDraw::CreateSurface fails.
No surface
Entering ReleaseSurfaces
Entering HideOverlaySurface
Enumerated 3231564e
Entering FindSurface
Entering GetMediaType
Not a RGB format
Entering CreateYUVFlipping
Entering CheckCreateOverlay
GWES Hook fails surface creation. IDirectDraw::CreateSurface fails.
No surface
Entering ReleaseSurfaces
Entering HideOverlaySurface
Enumerated 32595559
Entering FindSurface
Entering GetMediaType
Not a RGB format
Entering CreateYUVFlipping
Entering CheckCreateOverlay
GWES Hook fails surface creation. IDirectDraw::CreateSurface fails.
No surface
Entering ReleaseSurfaces
Entering HideOverlaySurface
Enumerated 30323449
Entering FindSurface
Entering GetMediaType
Not a RGB format
Entering CreateYUVFlipping
Entering CheckCreateOverlay
GWES Hook fails surface creation. IDirectDraw::CreateSurface fails.
No surface
Entering ReleaseSurfaces
Entering HideOverlaySurface
Enumerated 56555949
Entering FindSurface
Entering GetMediaType
Not a RGB format
Entering CreateYUVFlipping
Entering CheckCreateOverlay
GWES Hook fails surface creation. IDirectDraw::CreateSurface fails.
No surface
Entering ReleaseSurfaces
Entering HideOverlaySurface
Enumerated 59565955
Entering FindSurface
Entering GetMediaType
Not a RGB format
Entering CreateYUVFlipping
Entering CheckCreateOverlay
HalCanCreateSurface FOURCC = 59565955 ('U','Y','V','Y')
HalCanCreateSurface: OK
DetectFormat: FOURCC_UYVY surface detected
Detected surface pixelFormat, format = 11, 4
HalCreateSurface: Primary DDrawSurf with front-buffer created.
Entering InitOverlaySurface
Entering InitDrawFormat
Entering InitDrawFormat
Entering GetDefaultColorKey
Returning default colour key
Entering InitDefaultColourKey
Entering SetSurfaceSize
Preparing source and destination rectangles
Entering ClipPrepare
Entering InitialiseClipper
Entering InitialiseColourKey
overlay color key on
Colour key
No palette
Found AMDDS_YUVFLP surface
Proposing output type M type MEDIATYPE_Video S type MEDIASUBTYPE_UYVY
Subtype description UNKNOWN
Not temporally compressed
Sample size 153600
Source rectangle (Left 0 Top 0 Right 320 Bottom 240)
Target rectangle (Left 0 Top 0 Right 320 Bottom 240)
Size of BITMAPINFO structure 40
320x-240x16 bit 'UYVY'
Image size 153600
Planes 1
X Pels per metre 0
CBaseRendererAsync:ThreadProc: we timed out waiting for a new object to
schedule or dispatch...! Thread = 0x1e10a03
Y Pels per metre 0
Colours used 0
Entering SetSourceRect
Surface available M type MEDIATYPE_Video S type MEDIASUBTYPE_UYVY
Subtype description UNKNOWN
Not temporally compressed
Sample size 153600
Source rectangle (Left 0 Top 0 Right 320 Bottom 240)
Target rectangle (Left 0 Top 0 Right 320 Bottom 240)
Size of BITMAPINFO structure 40
320x-240x16 bit 'UYVY'
Image size 153600
Planes 1
X Pels per metre 0
Y Pels per metre 0
Colours used 0
Found DCI/DirectDraw surface
Video Renderer using AMDDS_YUVFLP
.



Relevant Pages

  • Re: Does Video render in CE 6.0 use the Overlay surfaces (UYVY)?
    ... If your display driver doesn't have the DDHAL)SURFCB32_FLIP flag set in the ... Entering OnUpdateRectangles ... Entering NotifyChange ... No client ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Multiple Tables Confusion
    ... This table is called tbl_Clients, but the "Client" field is a lookup to ... The Country field should not be a lookup, it should just store the CountryID ... tbl_salesorders 1:M tbl_OrderParts (based on Sales Order) ... then clicking on "+" and entering sales order, country, date approved, first ...
    (microsoft.public.access.tablesdbdesign)
  • RE: Does Video render in CE 6.0 use the Overlay surfaces (UYVY)?
    ... Entering OnUpdateRectangles ... Entering NotifyChange ... No client ... GWES Hook fails surface creation. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How do I set up a calendar where the working day spans 2 dates?
    ... A client of mine wishes to set up a nightshift calendar which starts at ... I'm having difficulty entering the end time of 06:00 as Project is telling ... They'd rather use a nightshift calendar than change the standard calendar. ... change working times box. ...
    (microsoft.public.project)
  • Re: [ENTER] key causing major headaches.
    ... hate the idea that if the client has javascript disabled (or doesn't support ... >> would encapsulate the widgets for entering a movie. ...
    (microsoft.public.dotnet.framework.aspnet)