Tao.Sdl SDK Documentation

Sdl.SDL_Overlay Structure

The YUV hardware video overlay

For a list of all members of this type, see Sdl.SDL_Overlay Members.

System.Object
   System.ValueType
      Tao.Sdl.Sdl.SDL_Overlay

[Visual Basic]
Public Structure Sdl.SDL_Overlay
[C#]
public struct Sdl.SDL_Overlay

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

A SDL_Overlay is similar to a SDL_Surface except it stores a YUV overlay. All the fields are read only, except for pixels which should be locked before use. The format field stores the format of the overlay which is one of the following:

            SDL_YV12_OVERLAY  0x32315659  /* Planar mode: Y + V + U */
            SDL_IYUV_OVERLAY  0x56555949  /* Planar mode: Y + U + V */
            SDL_YUY2_OVERLAY  0x32595559  /* Packed mode: Y0+U0+Y1+V0 */
            SDL_UYVY_OVERLAY  0x59565955  /* Packed mode: U0+Y0+V0+Y1 */
            SDL_YVYU_OVERLAY  0x55595659  /* Packed mode: Y0+V0+Y1+U0 */
More information on YUV formats can be found at http://www.webartz.com/fourcc/indexyuv.htm.

Requirements

Namespace: Tao.Sdl

Assembly: Tao.Sdl (in Tao.Sdl.dll)

See Also

Sdl.SDL_Overlay Members | Tao.Sdl Namespace