--- libvo.txt.orig Thu May 2 21:26:33 2002 +++ libvo.txt Thu May 2 21:29:12 2002 @@ -19,12 +19,12 @@ VOCTRL_QUERY_FORMAT - queries if a given pixelformat is supported. It also returns various flags decsirbing the capabilities of the driver with teh given mode. for the flags, see - file vfcaps.h ! + file vfcap.h ! the most important flags, every driver must properly report these: - 0x1 - supported (with or without conversion) - 0x2 - supported without conversion (define 0x1 too!) - 0x100 - driver/hardware handles timing (blocking) + VFCAP_CSP_SUPPORTED - supported (with or without conversion) + VFCAP_CSP_SUPPORTED_BY_HW - supported without conversion (define 0x1 too!) + VFCAP_TIMER - driver/hardware handles timing (blocking) also SET sw/hw scaling and osd support flags, and flip, and accept_stride if you implement put_image (see vfcaps.h) NOTE: VOCTRL_QUERY_FORMAT may be called _before_ first config() @@ -58,11 +58,11 @@ width, height: size of the source image d_width, d_height: wanted scaled/display size (it's a hint) Flags: - 0x01 - force fullscreen (-fs) - 0x02 - allow mode switching (-vm) - 0x04 - allow software scaling (-zoom) - 0x08 - flipping (-flip) - They're defined as VOFLAG_* (see libvo/video_out.h) + VOFLAG_FULLSCREEN - force fullscreen (-fs) + VOFLAG_MODESWITCHING - allow mode switching (-vm) + VOFLAG_SWSCALE - allow software scaling (-zoom) + VOFLAG_FLIPPING - flipping (-flip) + (They're defined in libvo/video_out.h) IMPORTAMT NOTE: config() may be called 0 (zero), 1 or more (2,3...) times between preinit() and uninit() calls. You MUST handle it, and