Mercurial > mplayer.hg
view drivers/sis_vid.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 | 3b5f5d1c5041 |
children |
line wrap: on
line source
/* * * sis_vid.h * * Copyright (C) 2000 Aaron Holtzman * * YUV Framebuffer driver for SiS 6326 cards * * This software has been released under the terms of the GNU Public * license. See http://www.gnu.org/copyleft/gpl.html for details. */ #include <inttypes.h> typedef struct mga_vid_config_s { uint32_t card_type; uint32_t ram_size; uint32_t src_width; uint32_t src_height; uint32_t dest_width; uint32_t dest_height; uint32_t x_org; uint32_t y_org; uint8_t colkey_on; uint8_t colkey_red; uint8_t colkey_green; uint8_t colkey_blue; } mga_vid_config_t; #define MGA_VID_CONFIG _IOR('J', 1, mga_vid_config_t) #define MGA_VID_ON _IO ('J', 2) #define MGA_VID_OFF _IO ('J', 3) #define MGA_VID_FSEL _IOR('J', 4, int) #define MGA_G200 0x1234 #define MGA_G400 0x5678