comparison libswscale/swscale_internal.h @ 29274:9f1499cf3a68

Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).
author kostya
date Tue, 19 May 2009 17:26:22 +0000
parents 882a1f5613e1
children bc48593c663e
comparison
equal deleted inserted replaced
29273:69304fca8564 29274:9f1499cf3a68
374 ) 374 )
375 375
376 static inline int fmt_depth(int fmt) 376 static inline int fmt_depth(int fmt)
377 { 377 {
378 switch(fmt) { 378 switch(fmt) {
379 case PIX_FMT_RGB48BE:
380 case PIX_FMT_RGB48LE:
381 return 48;
379 case PIX_FMT_BGRA: 382 case PIX_FMT_BGRA:
380 case PIX_FMT_ABGR: 383 case PIX_FMT_ABGR:
381 case PIX_FMT_RGBA: 384 case PIX_FMT_RGBA:
382 case PIX_FMT_ARGB: 385 case PIX_FMT_ARGB:
383 return 32; 386 return 32;