Click here to Skip to main content
15,880,503 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
What is the fastest way to load IMediaSample to IDirect3DSurface9?
I use Bitmap. Is there another way?
When loading IMediaSample to IDirect3DSurface9 using Bitmap, i get all processor time running my video player application with video with resolution 1440 x 480 and frequency 24 Hertz.
On my 2 processors system i have following results:
Module Name             64-bit  Timer samples
intelppm.sys                    31.96
ntkrnlpa.exe                    23.72
StereoRendererLR.ax             10.61
MP4SDECD.DLL                    7.37
MainFilter.ax                   5.19
win32k.sys                      4.03
nvlddmkm.sys                    3.36
halmacpi.dll                    2.39

8 modules, Total: 87761 samples, 88.63% of shown samples

intelppm.sys - Intel processor driver
ntkrnlpa.exe - Windows kernel
StereoRendererLR.ax - my video renderer module
Is it possable to decrease Intel processor driver and Windows kernel percentage?
Posted

1 solution

Kernel percatage was caused be my application, by functions, that wait in kernel.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900