Mercurial > sdl-ios-xcode
comparison src/video/bwindow/SDL_sysyuv.cc @ 4164:7a4c511c980a SDL-1.2
Date: Fri, 6 Mar 2009 12:41:17 -0800
From: scott mc
Subject: Re: [SDL] patch for building on haiku
Ok. I've combined the various Haiku patches for the SDL-1.2 branch
into one .diff file
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 17 Mar 2009 03:58:53 +0000 |
parents | a1b03ba2fcd0 |
children |
comparison
equal
deleted
inserted
replaced
4163:bec67d0b6645 | 4164:7a4c511c980a |
---|---|
92 return bbitmap; | 92 return bbitmap; |
93 } | 93 } |
94 | 94 |
95 // See <GraphicsDefs.h> [btw: Cb=U, Cr=V] | 95 // See <GraphicsDefs.h> [btw: Cb=U, Cr=V] |
96 // See also http://www.fourcc.org/indexyuv.htm | 96 // See also http://www.fourcc.org/indexyuv.htm |
97 enum color_space convert_color_space(Uint32 format) { | 97 color_space convert_color_space(Uint32 format) { |
98 switch (format) { | 98 switch (format) { |
99 case SDL_YV12_OVERLAY: | 99 case SDL_YV12_OVERLAY: |
100 return B_YUV9; | 100 return B_YUV9; |
101 case SDL_IYUV_OVERLAY: | 101 case SDL_IYUV_OVERLAY: |
102 return B_YUV12; | 102 return B_YUV12; |