src/video/bwindow/SDL_sysyuv.cc
branchSDL-1.2
changeset 4164 7a4c511c980a
parent 4159 a1b03ba2fcd0
child 6137 4720145f848b
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;