FACT++  1.0
TString MVideo::GetPalette ( Int_t  pal) const
private

Definition at line 998 of file MVideo.cc.

References VIDEO_PALETTE_GREY, VIDEO_PALETTE_HI240, VIDEO_PALETTE_RAW, VIDEO_PALETTE_RGB24, VIDEO_PALETTE_RGB32, VIDEO_PALETTE_RGB555, VIDEO_PALETTE_RGB565, VIDEO_PALETTE_UYVY, VIDEO_PALETTE_YUV411, VIDEO_PALETTE_YUV411P, VIDEO_PALETTE_YUV420, VIDEO_PALETTE_YUV422, VIDEO_PALETTE_YUV422P, and VIDEO_PALETTE_YUYV.

Referenced by Print().

999 {
1000  switch (pal)
1001  {
1002  case VIDEO_PALETTE_GREY:
1003  return "VIDEO_PALETTE_GREY: Linear intensity grey scale";
1004  case VIDEO_PALETTE_HI240:
1005  return "VIDEO_PALETTE_HI240: BT848 8-bit color cube";
1006  case VIDEO_PALETTE_RGB565:
1007  return "VIDEO_PALETTE_RGB565: RGB565 packed into 16-bit words";
1008  case VIDEO_PALETTE_RGB555:
1009  return "VIDEO_PALETTE_RGB555: RGB555 packed into 16-bit words, top bit undefined";
1010  case VIDEO_PALETTE_RGB24:
1011  return "VIDEO_PALETTE_RGB24: RGB888 packed into 24-bit words";
1012  case VIDEO_PALETTE_RGB32:
1013  return "VIDEO_PALETTE_RGB32: RGB888 packed into the low three bytes of 32-bit words. Top bits undefined.";
1014  case VIDEO_PALETTE_YUV422:
1015  return "VIDEO_PALETTE_YUV422: Video style YUV422 - 8-bit packed, 4-bit Y, 2-bits U, 2-bits V";
1016  case VIDEO_PALETTE_YUYV:
1017  return "VIDEO_PALETTE_YUYV: YUYV";
1018  case VIDEO_PALETTE_UYVY:
1019  return "VIDEO_PALETTE_UYVY: UYVY";
1020  case VIDEO_PALETTE_YUV420:
1021  return "VIDEO_PALETTE_YUV420: YUV420";
1022  case VIDEO_PALETTE_YUV411:
1023  return "VIDEO_PALETTE_YUV411: YUV411";
1024  case VIDEO_PALETTE_RAW:
1025  return "VIDEO_PALETTE_RAW: Raw capture (Bt848)";
1026  case VIDEO_PALETTE_YUV422P:
1027  return "VIDEO_PALETTE_YUV422P: YUV 4:2:2 planar";
1028  case VIDEO_PALETTE_YUV411P:
1029  return "VIDEO_PALETTE_YUV411P: YUV 4:1:1 planar";
1030  }
1031  return "unknown";
1032 }
#define VIDEO_PALETTE_YUYV
Definition: videodev.h:121
#define VIDEO_PALETTE_UYVY
Definition: videodev.h:122
#define VIDEO_PALETTE_YUV420
Definition: videodev.h:123
#define VIDEO_PALETTE_RAW
Definition: videodev.h:125
#define VIDEO_PALETTE_HI240
Definition: videodev.h:115
#define VIDEO_PALETTE_YUV422P
Definition: videodev.h:126
#define VIDEO_PALETTE_RGB24
Definition: videodev.h:117
#define VIDEO_PALETTE_GREY
Definition: videodev.h:114
#define VIDEO_PALETTE_YUV411P
Definition: videodev.h:127
#define VIDEO_PALETTE_RGB32
Definition: videodev.h:118
#define VIDEO_PALETTE_RGB555
Definition: videodev.h:119
#define VIDEO_PALETTE_YUV422
Definition: videodev.h:120
#define VIDEO_PALETTE_RGB565
Definition: videodev.h:116
#define VIDEO_PALETTE_YUV411
Definition: videodev.h:124

+ Here is the caller graph for this function: