Mercurial > mplayer.hg
comparison DOCS/tech/libvo.txt @ 22289:780caed72ac7
cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
author | diego |
---|---|
date | Thu, 22 Feb 2007 00:18:10 +0000 |
parents | e9d849bf8050 |
children | 82a108d63c2a |
comparison
equal
deleted
inserted
replaced
22288:da8ba4c0fc57 | 22289:780caed72ac7 |
---|---|
88 | 88 |
89 You should call geometry() in config() to enable user defined | 89 You should call geometry() in config() to enable user defined |
90 window size and position. The code should look as following: | 90 window size and position. The code should look as following: |
91 --- | 91 --- |
92 set x,y,w,h to the values supplied by the caller or to those you deam | 92 set x,y,w,h to the values supplied by the caller or to those you deam |
93 usefull. | 93 useful. |
94 call geometry(&x, &y, &w, &h, screenw, screenh) | 94 call geometry(&x, &y, &w, &h, screenw, screenh) |
95 call aspect() | 95 call aspect() |
96 --- | 96 --- |
97 see libvo/geometry.c for further information | 97 see libvo/geometry.c for further information |
98 | 98 |
112 draw_alpha implementation for the pixelformat (function pointer). | 112 draw_alpha implementation for the pixelformat (function pointer). |
113 The vo_draw_text() checks the characters to draw, and calls | 113 The vo_draw_text() checks the characters to draw, and calls |
114 draw_alpha() for each. As a help, osd.c contains draw_alpha for | 114 draw_alpha() for each. As a help, osd.c contains draw_alpha for |
115 each pixelformats, use this if possible! | 115 each pixelformats, use this if possible! |
116 | 116 |
117 NOTE: this one will be obsolete soon! But it's still usefull when | 117 NOTE: This one will be obsolete soon! But it's still useful when |
118 you want to do tricks, like rendering osd _after_ hardware scaling | 118 you want to do tricks, like rendering osd _after_ hardware scaling |
119 (tdfxfb) or render subtitles under of the image (vo_mpegpes, sdl) | 119 (tdfxfb) or render subtitles under of the image (vo_mpegpes, sdl) |
120 | 120 |
121 flip_page(): this is called after each frame, this diplays the buffer for | 121 flip_page(): this is called after each frame, this diplays the buffer for |
122 real. This is 'swapbuffers' when doublebuffering. | 122 real. This is 'swapbuffers' when doublebuffering. |