将IMediaSample加载到IDirect3DSurface9 [英] Loading IMediaSample to IDirect3DSurface9
问题描述
将IMediaSample加载到IDirect3DSurface9的最快方法是什么?
我使用位图.还有另一种方法吗?
使用Bitmap将IMediaSample加载到IDirect3DSurface9时,我获得了所有处理器时间,其视频播放器应用程序的分辨率为1440 x 480,频率为24赫兹.
在我的2个处理器系统上,我得到以下结果:
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-英特尔处理器驱动程序
ntkrnlpa.exe-Windows内核
StereoRendererLR.ax-我的视频渲染器模块
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?
推荐答案
内核执行权限是由于我的应用程序在内核中等待功能而引起的.
Kernel percatage was caused be my application, by functions, that wait in kernel.
这篇关于将IMediaSample加载到IDirect3DSurface9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!