mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
More indentation changes leftover from r29522:
- Align asm code to the column 4 spaces after the call to __asm__(); - Align cases in switch statements to the same column as "switch". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29524 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b490da35c8
commit
808ac07940
@ -381,38 +381,38 @@ const char *sws_format_name(enum PixelFormat format);
|
|||||||
static inline int fmt_depth(int fmt)
|
static inline int fmt_depth(int fmt)
|
||||||
{
|
{
|
||||||
switch(fmt) {
|
switch(fmt) {
|
||||||
case PIX_FMT_RGB48BE:
|
case PIX_FMT_RGB48BE:
|
||||||
case PIX_FMT_RGB48LE:
|
case PIX_FMT_RGB48LE:
|
||||||
return 48;
|
return 48;
|
||||||
case PIX_FMT_BGRA:
|
case PIX_FMT_BGRA:
|
||||||
case PIX_FMT_ABGR:
|
case PIX_FMT_ABGR:
|
||||||
case PIX_FMT_RGBA:
|
case PIX_FMT_RGBA:
|
||||||
case PIX_FMT_ARGB:
|
case PIX_FMT_ARGB:
|
||||||
return 32;
|
return 32;
|
||||||
case PIX_FMT_BGR24:
|
case PIX_FMT_BGR24:
|
||||||
case PIX_FMT_RGB24:
|
case PIX_FMT_RGB24:
|
||||||
return 24;
|
return 24;
|
||||||
case PIX_FMT_BGR565:
|
case PIX_FMT_BGR565:
|
||||||
case PIX_FMT_RGB565:
|
case PIX_FMT_RGB565:
|
||||||
case PIX_FMT_GRAY16BE:
|
case PIX_FMT_GRAY16BE:
|
||||||
case PIX_FMT_GRAY16LE:
|
case PIX_FMT_GRAY16LE:
|
||||||
return 16;
|
return 16;
|
||||||
case PIX_FMT_BGR555:
|
case PIX_FMT_BGR555:
|
||||||
case PIX_FMT_RGB555:
|
case PIX_FMT_RGB555:
|
||||||
return 15;
|
return 15;
|
||||||
case PIX_FMT_BGR8:
|
case PIX_FMT_BGR8:
|
||||||
case PIX_FMT_RGB8:
|
case PIX_FMT_RGB8:
|
||||||
return 8;
|
return 8;
|
||||||
case PIX_FMT_BGR4:
|
case PIX_FMT_BGR4:
|
||||||
case PIX_FMT_RGB4:
|
case PIX_FMT_RGB4:
|
||||||
case PIX_FMT_BGR4_BYTE:
|
case PIX_FMT_BGR4_BYTE:
|
||||||
case PIX_FMT_RGB4_BYTE:
|
case PIX_FMT_RGB4_BYTE:
|
||||||
return 4;
|
return 4;
|
||||||
case PIX_FMT_MONOBLACK:
|
case PIX_FMT_MONOBLACK:
|
||||||
case PIX_FMT_MONOWHITE:
|
case PIX_FMT_MONOWHITE:
|
||||||
return 1;
|
return 1;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user