Browse Source

Let SwScaler know that RGB48 BE/LE is 16-bits per component format.

Originally committed as revision 29317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.6
Kostya Shishkov 17 years ago
parent
commit
5b21719ea2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libswscale/swscale_internal.h

+ 2
- 0
libswscale/swscale_internal.h View File

@@ -299,6 +299,8 @@ const char *sws_format_name(int format);
#define is16BPS(x) ( \
(x)==PIX_FMT_GRAY16BE \
|| (x)==PIX_FMT_GRAY16LE \
|| (x)==PIX_FMT_RGB48BE \
|| (x)==PIX_FMT_RGB48LE \
|| (x)==PIX_FMT_YUV420PLE \
|| (x)==PIX_FMT_YUV422PLE \
|| (x)==PIX_FMT_YUV444PLE \


Loading…
Cancel
Save