Mercurial > mplayer.hg
comparison libvo/vo_vesa.c @ 7124:eca7dbad0166
finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
author | alex |
---|---|
date | Wed, 28 Aug 2002 21:32:32 +0000 |
parents | 21e1ab99cb21 |
children | 18e1b57616fc |
comparison
equal
deleted
inserted
replaced
7123:0f893a16c316 | 7124:eca7dbad0166 |
---|---|
583 * bit 2 (0x04) enables software scaling (-zoom) | 583 * bit 2 (0x04) enables software scaling (-zoom) |
584 * bit 3 (0x08) enables flipping (-flip) (NK: and for what?) | 584 * bit 3 (0x08) enables flipping (-flip) (NK: and for what?) |
585 */ | 585 */ |
586 | 586 |
587 static uint32_t | 587 static uint32_t |
588 config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format,const vo_tune_info_t *info) | 588 config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) |
589 { | 589 { |
590 struct VbeInfoBlock vib; | 590 struct VbeInfoBlock vib; |
591 struct VesaModeInfoBlock vmib; | 591 struct VesaModeInfoBlock vmib; |
592 struct VesaCRTCInfoBlock crtc_pass; | 592 struct VesaCRTCInfoBlock crtc_pass; |
593 size_t i,num_modes; | 593 size_t i,num_modes; |
928 else | 928 else |
929 if(vidix_name) | 929 if(vidix_name) |
930 { | 930 { |
931 if(vidix_init(width,height,x_offset,y_offset,dstW, | 931 if(vidix_init(width,height,x_offset,y_offset,dstW, |
932 dstH,format,dstBpp, | 932 dstH,format,dstBpp, |
933 video_mode_info.XResolution,video_mode_info.YResolution,info) != 0) | 933 video_mode_info.XResolution,video_mode_info.YResolution) != 0) |
934 { | 934 { |
935 printf("vo_vesa: Can't initialize VIDIX driver\n"); | 935 printf("vo_vesa: Can't initialize VIDIX driver\n"); |
936 vidix_name = NULL; | 936 vidix_name = NULL; |
937 vesa_term(); | 937 vesa_term(); |
938 return -1; | 938 return -1; |