Mercurial > mplayer.hg
view loader/dmo/dmo_guids.h @ 10578:b9d289fd8a57
10000l, the old code was slow as hell, copying stuff extra times and
actually broken -- blanking the whole screen at each 'page flip' with
-dr enabled. benchmarks:
before:
56% cpu for decode
56% cpu for vo with no -dr
25% cpu for vo with -dr
after:
56% cpu for decode
25% cpu for vo without -dr
0% cpu for vo with -dr
if vo_fbdev is going to do pageflip, it needs to do it for REAL, using
vertical scroll registers (like g2), not copying a temp buffer (which
will shear anyway and is super-slow).
author | rfelker |
---|---|
date | Tue, 12 Aug 2003 08:24:24 +0000 |
parents | 8e00b6a9e40b |
children | 052b4ad84883 |
line wrap: on
line source
#ifndef DMO_GUIDS_H #define DMO_GUIDS_H #include "dshow/guids.h" extern const GUID IID_IMediaBuffer; extern const GUID IID_IMediaObject; extern const GUID IID_IEnumDMO; extern const GUID IID_IMediaObjectInPlace; extern const GUID IID_IDMOQualityControl; extern const GUID IID_IDMOVideoOutputOptimizations; /* to be removed extern const GUID DMOCATEGORY_AUDIO_DECODER; extern const GUID DMOCATEGORY_AUDIO_ENCODER; extern const GUID DMOCATEGORY_VIDEO_DECODER; extern const GUID DMOCATEGORY_VIDEO_ENCODER; extern const GUID DMOCATEGORY_AUDIO_EFFECT; extern const GUID DMOCATEGORY_VIDEO_EFFECT; extern const GUID DMOCATEGORY_AUDIO_CAPTURE_EFFECT; // Acoustic Echo Canceller // Matches KSNODETYPE_ACOUSTIC_ECHO_CANCEL extern const GUID DMOCATEGORY_ACOUSTIC_ECHO_CANCEL; // Noise Supression // Matches KSNODETYPE_AUDIO_NOISE_SUPPRESS extern const GUID DMOCATEGORY_AUDIO_NOISE_SUPPRESS; // Automatic Gain Control // Matches KSNODETYPE_AGC extern const GUID DMOCATEGORY_AGC; */ #endif