Mercurial > mplayer.hg
view libao2/audio_out_internal.h @ 4516:d604c3db9a76
Direct rendering expansion:
test with -vc divx4vfw:
-vaa_dr:
BENCHMARKs: V: 7.043s VO: 0.005s A: 0.528s Sys: 22.331s = 29.907s
BENCHMARK%: V: 23.5498% VO: 0.0156% A: 1.7670% Sys: 74.6676% = 100.0000%
-vaa_nodr:
BENCHMARKs: V: 5.454s VO: 2.433s A: 0.519s Sys: 21.513s = 29.920s
BENCHMARK%: V: 18.2296% VO: 8.1321% A: 1.7351% Sys: 71.9032% = 100.0000%
speed up on 7.043 vs 7.687 = 10% on K7
author | nick |
---|---|
date | Sun, 03 Feb 2002 16:13:05 +0000 |
parents | 981a9e5118ce |
children | 12b1790038b0 |
line wrap: on
line source
// prototypes: //static ao_info_t info; static int control(int cmd,int arg); static int init(int rate,int channels,int format,int flags); static void uninit(); static void reset(); static int get_space(); static int play(void* data,int len,int flags); static float get_delay(); static void audio_pause(); static void audio_resume(); #define LIBAO_EXTERN(x) ao_functions_t audio_out_##x =\ {\ &info,\ control,\ init,\ uninit,\ reset,\ get_space,\ play,\ get_delay,\ audio_pause,\ audio_resume\ };