#include <string>
#include <sigc++/sigc++.h>
Go to the source code of this file.
Classes | |
struct | arithmetic_mean_accumulator |
this accumulator calculates the arithmetic mean value More... | |
struct | interruptable_accumulator |
this accumulator stops signal emission when a slot returns zero More... | |
struct | bool_accumulator |
bool accumulator More... | |
struct | neg_bool_accumulator |
bool accumulator (not) More... | |
class | MMSFBSurfacePlanes |
Describes up to 3 planes of an surface buffer. More... | |
class | MMSFBColor |
describes a color with alpha More... | |
class | MMSFBRectangle |
describes a rectangle More... | |
class | MMSFBRegion |
describes a region More... | |
class | MMSFBTriangle |
describes a triangle More... | |
struct | MMS_VERTEX_ARRAY |
vertex array More... | |
struct | MMS_VERTEX_BUFFER |
vertex buffer More... | |
struct | MMS_INDEX_ARRAY |
index array More... | |
struct | MMS_INDEX_BUFFER |
index buffer More... | |
struct | MMS3D_RGBA |
struct | MMS3D_MATERIAL_S |
union | MMS3D_MATERIAL |
struct | _bei_object |
decribes a 3D object which can be rendered More... | |
Defines | |
#define | MMSFBExternalSurfaceBuffer MMSFBSurfacePlanes |
for compatibility reason | |
#define | MMSFB_MAX_SURFACE_PLANES_BUFFERS 3 |
max. number of buffers (3=TRIPLE buffering) | |
#define | MMSFB_BE_NONE_STR "" |
backend: none | |
#define | MMSFB_BE_DFB_STR "DFB" |
backend: DFB | |
#define | MMSFB_BE_X11_STR "X11" |
backend: X11 | |
#define | MMSFB_BE_FBDEV_STR "FBDEV" |
backend: FBDEV | |
#define | MMSFB_BE_KMS_STR "KMS" |
backend: KMS | |
#define | MMSFB_BE_VALID_VALUES "DFB, X11, FBDEV, KMS" |
list of valid backend types | |
#define | MMSFB_BE_VALID_VALUES_OT_FB "DFB, FBDEV" |
list of valid backend types for output types MMSFB_OT_xxxFB | |
#define | MMSFB_BE_VALID_VALUES_OT_X11 "DFB, X11" |
list of valid backend types for output type MMSFB_OT_X11 | |
#define | MMSFB_BE_VALID_VALUES_OT_X "X11" |
list of valid backend types for output type MMSFB_OT_X | |
#define | MMSFB_OT_NONE_STR "" |
output type: none | |
#define | MMSFB_OT_STDFB_STR "STDFB" |
output type: STDFB (backend: DFB and FBDEV) | |
#define | MMSFB_OT_MATROXFB_STR "MATROXFB" |
output type: MATROXFB (backend: DFB and FBDEV) | |
#define | MMSFB_OT_VIAFB_STR "VIAFB" |
output type: VIAFB (backend: DFB) | |
#define | MMSFB_OT_X11_STR "X11" |
output type: X11 (backend: DFB and X11) | |
#define | MMSFB_OT_XSHM_STR "XSHM" |
output type: XSHM (backend: X11) | |
#define | MMSFB_OT_XVSHM_STR "XVSHM" |
output type: XVSHM (backend: X11) | |
#define | MMSFB_OT_DAVINCIFB_STR "DAVINCIFB" |
output type: DAVINCIFB (backend: DFB and FBDEV) | |
#define | MMSFB_OT_OMAPFB_STR "OMAPFB" |
output type: OMAPFB (backend: DFB and FBDEV) | |
#define | MMSFB_OT_OGL_STR "OGL" |
output type: OGL (backend: X11 and FBDEV) | |
#define | MMSFB_OT_VALID_VALUES "STDFB, MATROXFB, VIAFB, X11, XSHM, XVSHM, DAVINCIFB, OMAPFB, OGL" |
list of valid output types | |
#define | MMSFB_OT_VALID_VALUES_BE_DFB "STDFB, MATROXFB, VIAFB, X11, DAVINCIFB, OMAPFB" |
list of valid output types for backend MMSFB_BE_DFB | |
#define | MMSFB_OT_VALID_VALUES_BE_X11 "X11, XSHM, XVSHM, OGL" |
list of valid output types for backend MMSFB_BE_X11 | |
#define | MMSFB_OT_VALID_VALUES_BE_FBDEV "STDFB, MATROXFB, DAVINCIFB, OMAPFB, OGL" |
list of valid output types for backend MMSFB_BE_FBDEV | |
#define | MMSFB_OT_VALID_VALUES_BE_KMS "OMAPFB, OGL" |
list of valid output types for backend MMSFB_BE_KMS | |
#define | MMSFB_FSM_NONE_STR "" |
full screen mode: none | |
#define | MMSFB_FSM_FALSE_STR "FALSE" |
full screen mode: disabled | |
#define | MMSFB_FSM_TRUE_STR "TRUE" |
full screen mode: enabled | |
#define | MMSFB_FSM_ASPECT_RATIO_STR "ASPECT_RATIO" |
full screen mode: enabled, using the correct aspect ratio | |
#define | MMSFB_FSM_VALID_VALUES "FALSE, TRUE, ASPECT_RATIO" |
list of valid full screen modes | |
#define | MMSFB_PF_NONE_STR "" |
pixel format: none | |
#define | MMSFB_PF_RGB16_STR "RGB16" |
pixel format: 16 bit RGB (2 byte, red 5@11, green 6@5, blue 5@0) | |
#define | MMSFB_PF_RGB24_STR "RGB24" |
pixel format: 24 bit RGB (3 byte, red 8@16, green 8@8, blue 8@0) | |
#define | MMSFB_PF_RGB32_STR "RGB32" |
pixel format: 24 bit RGB (4 byte, nothing 8@24, red 8@16, green 8@8, blue 8@0) | |
#define | MMSFB_PF_ARGB_STR "ARGB" |
pixel format: 32 bit ARGB (4 byte, alpha 8@24, red 8@16, green 8@8, blue 8@0) | |
#define | MMSFB_PF_A8_STR "A8" |
pixel format: 8 bit alpha (1 byte, alpha 8@0), e.g. anti-aliased glyphs | |
#define | MMSFB_PF_YUY2_STR "YUY2" |
pixel format: 16 bit YUV (4 byte/2 pixel, macropixel contains CbYCrY [31:0]) | |
#define | MMSFB_PF_UYVY_STR "UYVY" |
pixel format: 16 bit YUV (4 byte/2 pixel, macropixel contains YCbYCr [31:0]) | |
#define | MMSFB_PF_I420_STR "I420" |
pixel format: 12 bit YUV (8 bit Y plane followed by 8 bit quarter size U/V planes) | |
#define | MMSFB_PF_YV12_STR "YV12" |
pixel format: 12 bit YUV (8 bit Y plane followed by 8 bit quarter size V/U planes) | |
#define | MMSFB_PF_AiRGB_STR "AiRGB" |
pixel format: 32 bit ARGB (4 byte, inv. alpha 8@24, red 8@16, green 8@8, blue 8@0) | |
#define | MMSFB_PF_A1_STR "A1" |
pixel format: 1 bit alpha (1 byte/8 pixel, most significant bit used first) | |
#define | MMSFB_PF_NV12_STR "NV12" |
pixel format: 12 bit YUV (8 bit Y plane followed by one 16 bit quarter size CbCr [15:0] plane) | |
#define | MMSFB_PF_NV16_STR "NV16" |
pixel format: 16 bit YUV (8 bit Y plane followed by one 16 bit half width CbCr [15:0] plane) | |
#define | MMSFB_PF_NV21_STR "NV21" |
pixel format: 12 bit YUV (8 bit Y plane followed by one 16 bit quarter size CrCb [15:0] plane) | |
#define | MMSFB_PF_AYUV_STR "AYUV" |
pixel format: 32 bit AYUV (4 byte, alpha 8@24, Y 8@16, Cb 8@8, Cr 8@0) | |
#define | MMSFB_PF_A4_STR "A4" |
pixel format: 4 bit alpha (1 byte/2 pixel, more significant nibble used first) | |
#define | MMSFB_PF_ARGB1666_STR "ARGB1666" |
pixel format: 19 bit ARGB (3 byte, nothing 5@19, alpha 1@18, red 6@12, green 6@6, blue 6@0) | |
#define | MMSFB_PF_ARGB6666_STR "ARGB6666" |
pixel format: 24 bit ARGB (3 byte, alpha 6@18, red 6@12, green 6@6, blue 6@0) | |
#define | MMSFB_PF_RGB18_STR "RGB18" |
pixel format: 18 bit RGB (3 byte, nothing 6@18, red 6@12, green 6@6, blue 6@0) | |
#define | MMSFB_PF_LUT2_STR "LUT2" |
pixel format: 2 bit LUT (1 byte/4 pixel, 2 bit color and alpha lookup from palette) | |
#define | MMSFB_PF_RGB444_STR "RGB444" |
pixel format: 12 bit RGB (2 byte, nothing 4@12, red 4@8, green 4@4, blue 4@0) | |
#define | MMSFB_PF_RGB555_STR "RGB555" |
pixel format: 15 bit RGB (2 byte, nothing 1@15, red 5@10, green 5@5, blue 5@0) | |
#define | MMSFB_PF_ARGB1555_STR "ARGB1555" |
pixel format: 16 bit ARGB (2 byte, alpha 1@15, red 5@10, green 5@5, blue 5@0) | |
#define | MMSFB_PF_RGB332_STR "RGB332" |
pixel format: 8 bit RGB (1 byte, red 3@5, green 3@2, blue 2@0) | |
#define | MMSFB_PF_ALUT44_STR "ALUT44" |
pixel format: 8 bit ALUT (1 byte, alpha 4@4, color lookup 4@0) | |
#define | MMSFB_PF_LUT8_STR "LUT8" |
pixel format: 8 bit LUT (8 bit color and alpha lookup from palette) | |
#define | MMSFB_PF_ARGB2554_STR "ARGB2554" |
pixel format: 16 bit ARGB (2 byte, alpha 2@14, red 5@9, green 5@4, blue 4@0) | |
#define | MMSFB_PF_ARGB4444_STR "ARGB4444" |
pixel format: 16 bit ARGB (2 byte, alpha 4@12, red 4@8, green 4@4, blue 4@0) | |
#define | MMSFB_PF_ARGB3565_STR "ARGB3565" |
pixel format: 19 bit ARGB (16 bit RGB565 plane followed by 4 bit alpha plane (highest bit unused)) | |
#define | MMSFB_PF_BGR24_STR "BGR24" |
pixel format: 24 bit BGR (3 byte, blue 8@16, green 8@8, red 8@0) | |
#define | MMSFB_PF_BGR555_STR "BGR555" |
pixel format: 15 bit BGR (2 byte, nothing 1@15, blue 5@10, green 5@5, red 5@0) | |
#define | MMSFB_PF_ABGR_STR "ABGR" |
pixel format: 32 bit ABGR (4 byte, alpha 8@24, blue 8@16, green 8@8, red 8@0) | |
#define | MMSFB_PF_VALID_VALUES "RGB16, RGB24, RGB32, ARGB, A8, YUY2, UYVY, I420, YV12, AiRGB, A1, NV12, NV16, NV21, AYUV, A4, ARGB1666, ARGB6666, RGB18, LUT2, RGB444, RGB555, ARGB1555, RGB332, ALUT44, LUT8, ARGB2554, ARGB4444, ARGB3565, BGR24, BGR555, ABGR" |
list of valid pixelformats | |
#define | MMSFB_PF_VALID_VALUES_LAYER "RGB16, RGB24, RGB32, ARGB, YUY2, UYVY, I420, YV12, AiRGB, NV12, NV16, NV21, AYUV, ARGB1666, ARGB6666, RGB18, LUT2, RGB444, RGB555, ARGB1555, RGB332, LUT8, ARGB2554, ARGB4444, ARGB3565, BGR24, BGR555, ABGR" |
list of valid pixelformats used for layer surfaces | |
#define | MMSFB_PF_VALID_VALUES_WINDOWS "ARGB, AiRGB, AYUV, ARGB4444, RGB16, ABGR, empty string for auto detection" |
list of valid pixelformats used for windows surfaces | |
#define | MMSFB_PF_VALID_VALUES_SURFACES "ARGB, AiRGB, AYUV, ARGB4444, RGB16, ABGR, empty string for auto detection" |
list of valid pixelformats used for worker surfaces | |
#define | MMSFB_PF_VALID_VALUES_BE_X11_OT_XVSHM "YV12" |
list of valid pixelformats for X11.XVSHM | |
#define | MMSFB_PF_VALID_VALUES_BE_X11_OT_XSHM "RGB32, ARGB, YV12" |
list of valid pixelformats for X11.XSHM | |
#define | MMSFB_PF_VALID_VALUES_BE_X11_OT_OGL "RGB32, ARGB, ABGR" |
list of valid pixelformats for X11.OGL | |
#define | MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_DAVINCIFB_LAYER_0 "ARGB3565, RGB16" |
list of valid pixelformats for DAVINCIFB, OSD Layer | |
#define | MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_DAVINCIFB_LAYER_1 "YUY2" |
list of valid pixelformats for DAVINCIFB, Video Layer | |
#define | MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_OMAPFB_LAYER_0 "ARGB, RGB32, RGB16" |
list of valid pixelformats for OMAPFB, OSD Layer | |
#define | MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_OMAPFB_LAYER_1 "YUY2, RGB32" |
list of valid pixelformats for OMAPFB, Video Layer | |
#define | MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_OGL "RGB32, ARGB, ABGR" |
list of valid pixelformats for FBDEV.OGL | |
#define | MMSFB_PF_VALID_VALUES_BE_KMS_OT_OGL "RGB32, ARGB, ABGR" |
list of valid pixelformats for KMS.OGL | |
#define | MMSFB_PF_VALID_BUFFERMODES "BACKVIDEO BACKSYSTEM FRONTONLY TRIPLE WINDOWS" |
list of valid pixelformats used for layer surfaces | |
#define | MMSFB_PF_VALID_BUFFERMODES_X11 "BACKVIDEO BACKSYSTEM TRIPLE WINDOWS" |
#define | MMSFB_PM_NONE_STR "" |
pointer mode: none | |
#define | MMSFB_PM_FALSE_STR "FALSE" |
pointer mode: disabled | |
#define | MMSFB_PM_TRUE_STR "TRUE" |
pointer mode: enabled, using internal mouse pointer | |
#define | MMSFB_PM_EXTERNAL_STR "EXTERNAL" |
pointer mode: enabled, using external mouse pointer e.g. from X11, if using the X11 backend | |
#define | MMSFB_PM_VALID_VALUES "FALSE, TRUE, EXTERNAL" |
list of valid pointer modes | |
#define | MMSLANG_NONE_STR "" |
language: none | |
#define | MMSLANG_DE_STR "DE" |
language: german | |
#define | MMSLANG_EN_STR "EN" |
language: english | |
#define | MMSLANG_DK_STR "DK" |
language: denmark | |
#define | MMSLANG_ES_STR "ES" |
language: spanish | |
#define | MMSLANG_FI_STR "FI" |
language: finnish | |
#define | MMSLANG_FR_STR "FR" |
language: french | |
#define | MMSLANG_IT_STR "IT" |
language: italian | |
#define | MMSLANG_NL_STR "NL" |
language: dutch | |
#define | MMSLANG_NO_STR "NO" |
language: norwegian | |
#define | MMSLANG_SE_STR "SE" |
language: swedish | |
#define | MMSLANG_TR_STR "TR" |
language: turkish | |
#define | MMSLANG_CN_STR "CN" |
language: chinese | |
#define | MMSLANG_IL_STR "IL" |
language: israeli | |
#define | MMSLANG_AR_STR "AR" |
language: arabic | |
#define | MMSLANG_CS_STR "CS" |
language: czech | |
#define | MMSLANG_RU_STR "RU" |
language: russian | |
#define | MMSLANG_HR_STR "HR" |
language: croatia | |
#define | MMS_VA_SET_VERTEX_2v(va, idx, val0, val1) |
#define | MMS_VA_SET_VERTEX_3v(va, idx, val0, val1, val2) |
#define | MMS_PI 3.1415926535897932384626433832795f |
Typedefs | |
typedef class MMSFBSurfacePlanes | MMSFBSurfacePlanesBuffer [MMSFB_MAX_SURFACE_PLANES_BUFFERS] |
describes multiple buffers for backbuffer/triple buffer handling | |
typedef unsigned short | MMS_HALF_FLOAT |
typedef float | MMS3D_MATERIAL_A [17] |
typedef float | MMSMatrix [4][4] |
typedef struct _bei_object | MMS3D_OBJECT |
decribes a 3D object which can be rendered | |
Enumerations | |
enum | MMSFBBackend { MMSFB_BE_NONE = 0, MMSFB_BE_DFB, MMSFB_BE_X11, MMSFB_BE_FBDEV, MMSFB_BE_KMS } |
supported display backends More... | |
enum | MMSFBOutputType { MMSFB_OT_NONE = 0, MMSFB_OT_STDFB, MMSFB_OT_MATROXFB, MMSFB_OT_VIAFB, MMSFB_OT_X11, MMSFB_OT_XSHM, MMSFB_OT_XVSHM, MMSFB_OT_DAVINCIFB, MMSFB_OT_OMAPFB, MMSFB_OT_OGL } |
supported output types More... | |
enum | MMSFBFullScreenMode { MMSFB_FSM_NONE = 0, MMSFB_FSM_FALSE, MMSFB_FSM_TRUE, MMSFB_FSM_ASPECT_RATIO } |
supported full screen modes More... | |
enum | MMSFBSurfacePixelFormat { MMSFB_PF_NONE = 0, MMSFB_PF_RGB16, MMSFB_PF_RGB24, MMSFB_PF_RGB32, MMSFB_PF_ARGB, MMSFB_PF_A8, MMSFB_PF_YUY2, MMSFB_PF_UYVY, MMSFB_PF_I420, MMSFB_PF_YV12, MMSFB_PF_AiRGB, MMSFB_PF_A1, MMSFB_PF_NV12, MMSFB_PF_NV16, MMSFB_PF_NV21, MMSFB_PF_AYUV, MMSFB_PF_A4, MMSFB_PF_ARGB1666, MMSFB_PF_ARGB6666, MMSFB_PF_RGB18, MMSFB_PF_LUT2, MMSFB_PF_RGB444, MMSFB_PF_RGB555, MMSFB_PF_ARGB1555, MMSFB_PF_RGB332, MMSFB_PF_ALUT44, MMSFB_PF_LUT8, MMSFB_PF_ARGB2554, MMSFB_PF_ARGB4444, MMSFB_PF_ARGB3565, MMSFB_PF_BGR24, MMSFB_PF_BGR555, MMSFB_PF_ABGR, MMSFB_PF_CNT } |
supported pixel formats More... | |
enum | MMSFBPointerMode { MMSFB_PM_NONE = 0, MMSFB_PM_FALSE, MMSFB_PM_TRUE, MMSFB_PM_EXTERNAL } |
supported pointer modes More... | |
enum | MMSMEDIABackend { MMSMEDIA_BE_NONE = 0, MMSMEDIA_BE_XINE, MMSMEDIA_BE_GST } |
supported media backends More... | |
enum | MMSKeySymbol { MMSKEY_UNKNOWN = 0, MMSKEY_BACKSPACE = 1, MMSKEY_TAB = 2, MMSKEY_RETURN = 3, MMSKEY_CANCEL = 4, MMSKEY_ESCAPE = 5, MMSKEY_SPACE = 6, MMSKEY_EXCLAMATION_MARK = 7, MMSKEY_QUOTATION = 8, MMSKEY_NUMBER_SIGN = 9, MMSKEY_DOLLAR_SIGN = 10, MMSKEY_PERCENT_SIGN = 11, MMSKEY_AMPERSAND = 12, MMSKEY_APOSTROPHE = 13, MMSKEY_PARENTHESIS_LEFT = 14, MMSKEY_PARENTHESIS_RIGHT = 15, MMSKEY_ASTERISK = 16, MMSKEY_PLUS_SIGN = 17, MMSKEY_COMMA = 18, MMSKEY_MINUS_SIGN = 19, MMSKEY_PERIOD = 20, MMSKEY_SLASH = 21, MMSKEY_0 = 22, MMSKEY_1 = 23, MMSKEY_2 = 24, MMSKEY_3 = 25, MMSKEY_4 = 26, MMSKEY_5 = 27, MMSKEY_6 = 28, MMSKEY_7 = 29, MMSKEY_8 = 30, MMSKEY_9 = 31, MMSKEY_COLON = 32, MMSKEY_SEMICOLON = 33, MMSKEY_LESS_THAN_SIGN = 34, MMSKEY_EQUALS_SIGN = 35, MMSKEY_GREATER_THAN_SIGN = 36, MMSKEY_QUESTION_MARK = 37, MMSKEY_AT = 38, MMSKEY_CAPITAL_A = 39, MMSKEY_CAPITAL_B = 40, MMSKEY_CAPITAL_C = 41, MMSKEY_CAPITAL_D = 42, MMSKEY_CAPITAL_E = 43, MMSKEY_CAPITAL_F = 44, MMSKEY_CAPITAL_G = 45, MMSKEY_CAPITAL_H = 46, MMSKEY_CAPITAL_I = 47, MMSKEY_CAPITAL_J = 48, MMSKEY_CAPITAL_K = 49, MMSKEY_CAPITAL_L = 50, MMSKEY_CAPITAL_M = 51, MMSKEY_CAPITAL_N = 52, MMSKEY_CAPITAL_O = 53, MMSKEY_CAPITAL_P = 54, MMSKEY_CAPITAL_Q = 55, MMSKEY_CAPITAL_R = 56, MMSKEY_CAPITAL_S = 57, MMSKEY_CAPITAL_T = 58, MMSKEY_CAPITAL_U = 59, MMSKEY_CAPITAL_V = 60, MMSKEY_CAPITAL_W = 61, MMSKEY_CAPITAL_X = 62, MMSKEY_CAPITAL_Y = 63, MMSKEY_CAPITAL_Z = 64, MMSKEY_SQUARE_BRACKET_LEFT = 65, MMSKEY_BACKSLASH = 66, MMSKEY_SQUARE_BRACKET_RIGHT = 67, MMSKEY_CIRCUMFLEX_ACCENT = 68, MMSKEY_UNDERSCORE = 69, MMSKEY_GRAVE_ACCENT = 70, MMSKEY_SMALL_A = 71, MMSKEY_SMALL_B = 72, MMSKEY_SMALL_C = 73, MMSKEY_SMALL_D = 74, MMSKEY_SMALL_E = 75, MMSKEY_SMALL_F = 76, MMSKEY_SMALL_G = 77, MMSKEY_SMALL_H = 78, MMSKEY_SMALL_I = 79, MMSKEY_SMALL_J = 80, MMSKEY_SMALL_K = 81, MMSKEY_SMALL_L = 82, MMSKEY_SMALL_M = 83, MMSKEY_SMALL_N = 84, MMSKEY_SMALL_O = 85, MMSKEY_SMALL_P = 86, MMSKEY_SMALL_Q = 87, MMSKEY_SMALL_R = 88, MMSKEY_SMALL_S = 89, MMSKEY_SMALL_T = 90, MMSKEY_SMALL_U = 91, MMSKEY_SMALL_V = 92, MMSKEY_SMALL_W = 93, MMSKEY_SMALL_X = 94, MMSKEY_SMALL_Y = 95, MMSKEY_SMALL_Z = 96, MMSKEY_CURLY_BRACKET_LEFT = 97, MMSKEY_VERTICAL_BAR = 98, MMSKEY_CURLY_BRACKET_RIGHT = 99, MMSKEY_TILDE = 100, MMSKEY_DELETE = 101, MMSKEY_CURSOR_LEFT = 102, MMSKEY_CURSOR_RIGHT = 103, MMSKEY_CURSOR_UP = 104, MMSKEY_CURSOR_DOWN = 105, MMSKEY_INSERT = 106, MMSKEY_HOME = 107, MMSKEY_END = 108, MMSKEY_PAGE_UP = 109, MMSKEY_PAGE_DOWN = 110, MMSKEY_PRINT = 111, MMSKEY_PAUSE = 112, MMSKEY_OK = 113, MMSKEY_SELECT = 114, MMSKEY_GOTO = 115, MMSKEY_CLEAR = 116, MMSKEY_POWER = 117, MMSKEY_POWER2 = 118, MMSKEY_OPTION = 119, MMSKEY_MENU = 120, MMSKEY_HELP = 121, MMSKEY_INFO = 122, MMSKEY_TIME = 123, MMSKEY_VENDOR = 124, MMSKEY_ARCHIVE = 125, MMSKEY_PROGRAM = 126, MMSKEY_CHANNEL = 127, MMSKEY_FAVORITES = 128, MMSKEY_EPG = 129, MMSKEY_PVR = 130, MMSKEY_MHP = 131, MMSKEY_LANGUAGE = 132, MMSKEY_TITLE = 133, MMSKEY_SUBTITLE = 134, MMSKEY_ANGLE = 135, MMSKEY_ZOOM = 136, MMSKEY_MODE = 137, MMSKEY_KEYBOARD = 138, MMSKEY_PC = 139, MMSKEY_SCREEN = 140, MMSKEY_TV = 141, MMSKEY_TV2 = 142, MMSKEY_VCR = 143, MMSKEY_VCR2 = 144, MMSKEY_SAT = 145, MMSKEY_SAT2 = 146, MMSKEY_CD = 147, MMSKEY_TAPE = 148, MMSKEY_RADIO = 149, MMSKEY_TUNER = 150, MMSKEY_PLAYER = 151, MMSKEY_TEXT = 152, MMSKEY_DVD = 153, MMSKEY_AUX = 154, MMSKEY_MP3 = 155, MMSKEY_PHONE = 156, MMSKEY_AUDIO = 157, MMSKEY_VIDEO = 158, MMSKEY_INTERNET = 159, MMSKEY_MAIL = 160, MMSKEY_NEWS = 161, MMSKEY_DIRECTORY = 162, MMSKEY_LIST = 163, MMSKEY_CALCULATOR = 164, MMSKEY_MEMO = 165, MMSKEY_CALENDAR = 166, MMSKEY_EDITOR = 167, MMSKEY_RED = 168, MMSKEY_GREEN = 169, MMSKEY_YELLOW = 170, MMSKEY_BLUE = 171, MMSKEY_CHANNEL_UP = 172, MMSKEY_CHANNEL_DOWN = 173, MMSKEY_BACK = 174, MMSKEY_FORWARD = 175, MMSKEY_FIRST = 176, MMSKEY_LAST = 177, MMSKEY_VOLUME_UP = 178, MMSKEY_VOLUME_DOWN = 179, MMSKEY_MUTE = 180, MMSKEY_AB = 181, MMSKEY_PLAYPAUSE = 182, MMSKEY_PLAY = 183, MMSKEY_STOP = 184, MMSKEY_RESTART = 185, MMSKEY_SLOW = 186, MMSKEY_FAST = 187, MMSKEY_RECORD = 188, MMSKEY_EJECT = 189, MMSKEY_SHUFFLE = 190, MMSKEY_REWIND = 191, MMSKEY_FASTFORWARD = 192, MMSKEY_PREVIOUS = 193, MMSKEY_NEXT = 194, MMSKEY_BEGIN = 195, MMSKEY_DIGITS = 196, MMSKEY_TEEN = 197, MMSKEY_TWEN = 198, MMSKEY_BREAK = 199, MMSKEY_EXIT = 200, MMSKEY_SETUP = 201, MMSKEY_CURSOR_LEFT_UP = 202, MMSKEY_CURSOR_LEFT_DOWN = 203, MMSKEY_CURSOR_UP_RIGHT = 204, MMSKEY_CURSOR_DOWN_RIGHT = 205, MMSKEY_F1 = 206, MMSKEY_F2 = 207, MMSKEY_F3 = 208, MMSKEY_F4 = 209, MMSKEY_F5 = 210, MMSKEY_F6 = 211, MMSKEY_F7 = 212, MMSKEY_F8 = 213, MMSKEY_F9 = 214, MMSKEY_F10 = 215, MMSKEY_F11 = 216, MMSKEY_F12 = 217, MMSKEY_SHIFT = 218, MMSKEY_CONTROL = 219, MMSKEY_ALT = 220, MMSKEY_ALTGR = 221, MMSKEY_META = 222, MMSKEY_SUPER = 223, MMSKEY_HYPER = 224, MMSKEY_CAPS_LOCK = 225, MMSKEY_NUM_LOCK = 226, MMSKEY_SCROLL_LOCK = 227, MMSKEY_DEAD_ABOVEDOT = 228, MMSKEY_DEAD_ABOVERING = 229, MMSKEY_DEAD_ACUTE = 230, MMSKEY_DEAD_BREVE = 231, MMSKEY_DEAD_CARON = 232, MMSKEY_DEAD_CEDILLA = 233, MMSKEY_DEAD_CIRCUMFLEX = 234, MMSKEY_DEAD_DIAERESIS = 235, MMSKEY_DEAD_DOUBLEACUTE = 236, MMSKEY_DEAD_GRAVE = 237, MMSKEY_DEAD_IOTA = 238, MMSKEY_DEAD_MACRON = 239, MMSKEY_DEAD_OGONEK = 240, MMSKEY_DEAD_SEMIVOICED_SOUND = 241, MMSKEY_DEAD_TILDE = 242, MMSKEY_DEAD_VOICED_SOUND = 243, MMSKEY_CUSTOM0 = 244, MMSKEY_CUSTOM1 = 245, MMSKEY_CUSTOM2 = 246, MMSKEY_CUSTOM3 = 247, MMSKEY_CUSTOM4 = 248, MMSKEY_CUSTOM5 = 249, MMSKEY_CUSTOM6 = 250, MMSKEY_CUSTOM7 = 251, MMSKEY_CUSTOM8 = 252, MMSKEY_CUSTOM9 = 253, MMSKEY_CUSTOM10 = 254, MMSKEY_CUSTOM11 = 255, MMSKEY_CUSTOM12 = 256, MMSKEY_CUSTOM13 = 257, MMSKEY_CUSTOM14 = 258, MMSKEY_CUSTOM15 = 259, MMSKEY_CUSTOM16 = 260, MMSKEY_CUSTOM17 = 261, MMSKEY_CUSTOM18 = 262, MMSKEY_CUSTOM19 = 263, MMSKEY_CUSTOM20 = 264, MMSKEY_CUSTOM21 = 265, MMSKEY_CUSTOM22 = 266, MMSKEY_CUSTOM23 = 267, MMSKEY_CUSTOM24 = 268, MMSKEY_CUSTOM25 = 269, MMSKEY_CUSTOM26 = 270, MMSKEY_CUSTOM27 = 271, MMSKEY_CUSTOM28 = 272, MMSKEY_CUSTOM29 = 273, MMSKEY_CUSTOM30 = 274, MMSKEY_CUSTOM31 = 275, MMSKEY_CUSTOM32 = 276, MMSKEY_CUSTOM33 = 277, MMSKEY_CUSTOM34 = 278, MMSKEY_CUSTOM35 = 279, MMSKEY_CUSTOM36 = 280, MMSKEY_CUSTOM37 = 281, MMSKEY_CUSTOM38 = 282, MMSKEY_CUSTOM39 = 283, MMSKEY_CUSTOM40 = 284, MMSKEY_CUSTOM41 = 285, MMSKEY_CUSTOM42 = 286, MMSKEY_CUSTOM43 = 287, MMSKEY_CUSTOM44 = 288, MMSKEY_CUSTOM45 = 289, MMSKEY_CUSTOM46 = 290, MMSKEY_CUSTOM47 = 291, MMSKEY_CUSTOM48 = 292, MMSKEY_CUSTOM49 = 293, MMSKEY_CUSTOM50 = 294, MMSKEY_CUSTOM51 = 295, MMSKEY_CUSTOM52 = 296, MMSKEY_CUSTOM53 = 297, MMSKEY_CUSTOM54 = 298, MMSKEY_CUSTOM55 = 299, MMSKEY_CUSTOM56 = 300, MMSKEY_CUSTOM57 = 301, MMSKEY_CUSTOM58 = 302, MMSKEY_CUSTOM59 = 303, MMSKEY_CUSTOM60 = 304, MMSKEY_CUSTOM61 = 305, MMSKEY_CUSTOM62 = 306, MMSKEY_CUSTOM63 = 307, MMSKEY_CUSTOM64 = 308, MMSKEY_CUSTOM65 = 309, MMSKEY_CUSTOM66 = 310, MMSKEY_CUSTOM67 = 311, MMSKEY_CUSTOM68 = 312, MMSKEY_CUSTOM69 = 313, MMSKEY_CUSTOM70 = 314, MMSKEY_CUSTOM71 = 315, MMSKEY_CUSTOM72 = 316, MMSKEY_CUSTOM73 = 317, MMSKEY_CUSTOM74 = 318, MMSKEY_CUSTOM75 = 319, MMSKEY_CUSTOM76 = 320, MMSKEY_CUSTOM77 = 321, MMSKEY_CUSTOM78 = 322, MMSKEY_CUSTOM79 = 323, MMSKEY_CUSTOM80 = 324, MMSKEY_CUSTOM81 = 325, MMSKEY_CUSTOM82 = 326, MMSKEY_CUSTOM83 = 327, MMSKEY_CUSTOM84 = 328, MMSKEY_CUSTOM85 = 329, MMSKEY_CUSTOM86 = 330, MMSKEY_CUSTOM87 = 331, MMSKEY_CUSTOM88 = 332, MMSKEY_CUSTOM89 = 333, MMSKEY_CUSTOM90 = 334, MMSKEY_CUSTOM91 = 335, MMSKEY_CUSTOM92 = 336, MMSKEY_CUSTOM93 = 337, MMSKEY_CUSTOM94 = 338, MMSKEY_CUSTOM95 = 339, MMSKEY_CUSTOM96 = 340, MMSKEY_CUSTOM97 = 341, MMSKEY_CUSTOM98 = 342, MMSKEY_CUSTOM99 = 343, MMSKEY_NULL = 344 } |
supported keys More... | |
enum | MMSSTATE { MMSSTATE_FALSE = 0, MMSSTATE_TRUE, MMSSTATE_AUTO } |
special state type More... | |
enum | MMSSEQUENCEMODE { MMSSEQUENCEMODE_NONE = 0, MMSSEQUENCEMODE_LINEAR, MMSSEQUENCEMODE_LOG, MMSSEQUENCEMODE_LOG_SOFT_START, MMSSEQUENCEMODE_LOG_SOFT_END } |
sequence mode More... | |
enum | MMSLanguage { MMSLANG_NONE = 0, MMSLANG_DE, MMSLANG_EN, MMSLANG_DK, MMSLANG_ES, MMSLANG_FI, MMSLANG_FR, MMSLANG_IT, MMSLANG_NL, MMSLANG_NO, MMSLANG_SE, MMSLANG_TR, MMSLANG_CN, MMSLANG_IL, MMSLANG_AR, MMSLANG_CS, MMSLANG_RU, MMSLANG_HR, MMSLANG_SIZE } |
known languages More... | |
enum | MMS_VERTEX_DATA_TYPE { MMS_VERTEX_DATA_TYPE_FLOAT = 0, MMS_VERTEX_DATA_TYPE_HALF_FLOAT } |
type of vertex data More... | |
enum | MMS_INDEX_ARRAY_TYPE { MMS_INDEX_ARRAY_TYPE_TRIANGLES = 0, MMS_INDEX_ARRAY_TYPE_TRIANGLE_STRIP, MMS_INDEX_ARRAY_TYPE_TRIANGLE_FAN, MMS_INDEX_ARRAY_TYPE_LINES, MMS_INDEX_ARRAY_TYPE_LINE_STRIP, MMS_INDEX_ARRAY_TYPE_LINE_LOOP } |
element type More... | |
Functions | |
string | getMMSFBBackendString (MMSFBBackend be) |
MMSFBBackend | getMMSFBBackendFromString (string be) |
string | getMMSFBOutputTypeString (MMSFBOutputType ot) |
MMSFBOutputType | getMMSFBOutputTypeFromString (string ot) |
string | getMMSFBFullScreenModeString (MMSFBFullScreenMode fsm) |
MMSFBFullScreenMode | getMMSFBFullScreenModeFromString (string fsm) |
string | getMMSFBPixelFormatString (MMSFBSurfacePixelFormat pf) |
MMSFBSurfacePixelFormat | getMMSFBPixelFormatFromString (string pf) |
bool | getMMSFBColorFromString (string input, MMSFBColor *color) |
Convert a color string into MMSFBColor. | |
string | getMMSFBColorString (MMSFBColor color) |
Convert MMSFBColor to a color string. | |
string | getMMSFBPointerModeString (MMSFBPointerMode pm) |
MMSFBPointerMode | getMMSFBPointerModeFromString (string pm) |
const char * | convertMMSKeySymbolToXKeysymString (MMSKeySymbol key) |
string | getMMSLanguageString (MMSLanguage lang) |
MMSLanguage | getMMSLanguageFromString (string lang) |
MMS_HALF_FLOAT | convertFloat2HalfFloat (float f) |
float | convertHalfFloat2Float (MMS_HALF_FLOAT hf) |
bool | initVertexArray (MMS_VERTEX_ARRAY *array, int eSize, int eNum, MMS_VERTEX_DATA_TYPE dtype=MMS_VERTEX_DATA_TYPE_FLOAT, void *data=NULL) |
Initialize a MMS_VERTEX_ARRAY. | |
void | freeVertexArray (MMS_VERTEX_ARRAY *array) |
Release allocated space of a MMS_VERTEX_ARRAY. | |
unsigned int | getVertexArraySize (MMS_VERTEX_ARRAY *array) |
Get size of a MMS_VERTEX_ARRAY in bytes. | |
bool | initIndexArray (MMS_INDEX_ARRAY *array, MMS_INDEX_ARRAY_TYPE type, int eNum=0, unsigned int *data=NULL) |
Initialize a MMS_INDEX_ARRAY. | |
void | freeIndexArray (MMS_INDEX_ARRAY *array) |
Release allocated space of a MMS_INDEX_ARRAY. | |
unsigned int | getIndexArraySize (MMS_INDEX_ARRAY *array) |
Get size of a MMS_INDEX_ARRAY in bytes. | |
void | multiplyMatrix (MMSMatrix result, MMSMatrix srcA, MMSMatrix srcB) |
void | copyMatrix (MMSMatrix result, MMSMatrix src) |
bool | equalMatrix (MMSMatrix result, MMSMatrix src) |
void | loadIdentityMatrix (MMSMatrix result) |
void | scaleMatrix (MMSMatrix result, float sx, float sy, float sz) |
void | translateMatrix (MMSMatrix result, float tx, float ty, float tz) |
void | rotateMatrix (MMSMatrix result, float angle, float x, float y, float z) |
void | frustumMatrix (MMSMatrix result, float left, float right, float bottom, float top, float nearZ, float farZ) |
void | perspectiveMatrix (MMSMatrix result, float fovy, float aspect, float nearZ, float farZ) |
void | orthoMatrix (MMSMatrix result, float left, float right, float bottom, float top, float nearZ, float farZ) |
bool | isMMS3DObjectShown (MMS3D_OBJECT *object) |
Variables | |
const unsigned int | HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EXP = 0x38000000 |
const unsigned int | HALF_FLOAT_MAX_BIASED_EXP_AS_SINGLE_FP_EXP = 0x47800000 |
const unsigned int | FLOAT_MAX_BIASED_EXP = (0xFF << 23) |
const unsigned int | HALF_FLOAT_MAX_BIASED_EXP = (0x1F << 10) |
#define MMS_PI 3.1415926535897932384626433832795f |
Definition at line 1350 of file mmstypes.h.
#define MMS_VA_SET_VERTEX_2v | ( | va, | |||
idx, | |||||
val0, | |||||
val1 | ) |
Value:
if (va) { \ if (va->dtype == MMS_VERTEX_DATA_TYPE_HALF_FLOAT) { \ ((MMS_HALF_FLOAT*)va->data)[(idx) * va->eSize + 0] = convertFloat2HalfFloat((float)(val0)); \ ((MMS_HALF_FLOAT*)va->data)[(idx) * va->eSize + 1] = convertFloat2HalfFloat((float)(val1)); \ } else { \ ((float*)va->data)[(idx) * va->eSize + 0] = (float)(val0); \ ((float*)va->data)[(idx) * va->eSize + 1] = (float)(val1); \ } \ }
Definition at line 1211 of file mmstypes.h.
#define MMS_VA_SET_VERTEX_3v | ( | va, | |||
idx, | |||||
val0, | |||||
val1, | |||||
val2 | ) |
Value:
if (va) { \ if (va->dtype == MMS_VERTEX_DATA_TYPE_HALF_FLOAT) { \ ((MMS_HALF_FLOAT*)va->data)[(idx) * va->eSize + 0] = convertFloat2HalfFloat((float)(val0)); \ ((MMS_HALF_FLOAT*)va->data)[(idx) * va->eSize + 1] = convertFloat2HalfFloat((float)(val1)); \ ((MMS_HALF_FLOAT*)va->data)[(idx) * va->eSize + 2] = convertFloat2HalfFloat((float)(val2)); \ } else { \ ((float*)va->data)[(idx) * va->eSize + 0] = (float)(val0); \ ((float*)va->data)[(idx) * va->eSize + 1] = (float)(val1); \ ((float*)va->data)[(idx) * va->eSize + 2] = (float)(val2); \ } \ }
Definition at line 1222 of file mmstypes.h.
#define MMSFB_BE_DFB_STR "DFB" |
#define MMSFB_BE_FBDEV_STR "FBDEV" |
#define MMSFB_BE_KMS_STR "KMS" |
#define MMSFB_BE_NONE_STR "" |
#define MMSFB_BE_VALID_VALUES "DFB, X11, FBDEV, KMS" |
#define MMSFB_BE_VALID_VALUES_OT_FB "DFB, FBDEV" |
list of valid backend types for output types MMSFB_OT_xxxFB
Definition at line 196 of file mmstypes.h.
#define MMSFB_BE_VALID_VALUES_OT_X "X11" |
#define MMSFB_BE_VALID_VALUES_OT_X11 "DFB, X11" |
#define MMSFB_BE_X11_STR "X11" |
#define MMSFB_FSM_ASPECT_RATIO_STR "ASPECT_RATIO" |
full screen mode: enabled, using the correct aspect ratio
Definition at line 297 of file mmstypes.h.
#define MMSFB_FSM_FALSE_STR "FALSE" |
#define MMSFB_FSM_NONE_STR "" |
#define MMSFB_FSM_TRUE_STR "TRUE" |
#define MMSFB_FSM_VALID_VALUES "FALSE, TRUE, ASPECT_RATIO" |
#define MMSFB_MAX_SURFACE_PLANES_BUFFERS 3 |
#define MMSFB_OT_DAVINCIFB_STR "DAVINCIFB" |
#define MMSFB_OT_MATROXFB_STR "MATROXFB" |
#define MMSFB_OT_NONE_STR "" |
#define MMSFB_OT_OGL_STR "OGL" |
#define MMSFB_OT_OMAPFB_STR "OMAPFB" |
#define MMSFB_OT_STDFB_STR "STDFB" |
#define MMSFB_OT_VALID_VALUES "STDFB, MATROXFB, VIAFB, X11, XSHM, XVSHM, DAVINCIFB, OMAPFB, OGL" |
#define MMSFB_OT_VALID_VALUES_BE_DFB "STDFB, MATROXFB, VIAFB, X11, DAVINCIFB, OMAPFB" |
#define MMSFB_OT_VALID_VALUES_BE_FBDEV "STDFB, MATROXFB, DAVINCIFB, OMAPFB, OGL" |
#define MMSFB_OT_VALID_VALUES_BE_KMS "OMAPFB, OGL" |
#define MMSFB_OT_VALID_VALUES_BE_X11 "X11, XSHM, XVSHM, OGL" |
#define MMSFB_OT_VIAFB_STR "VIAFB" |
#define MMSFB_OT_X11_STR "X11" |
#define MMSFB_OT_XSHM_STR "XSHM" |
#define MMSFB_OT_XVSHM_STR "XVSHM" |
#define MMSFB_PF_A1_STR "A1" |
pixel format: 1 bit alpha (1 byte/8 pixel, most significant bit used first)
Definition at line 404 of file mmstypes.h.
#define MMSFB_PF_A4_STR "A4" |
pixel format: 4 bit alpha (1 byte/2 pixel, more significant nibble used first)
Definition at line 414 of file mmstypes.h.
#define MMSFB_PF_A8_STR "A8" |
pixel format: 8 bit alpha (1 byte, alpha 8@0), e.g. anti-aliased glyphs
Definition at line 392 of file mmstypes.h.
#define MMSFB_PF_ABGR_STR "ABGR" |
pixel format: 32 bit ABGR (4 byte, alpha 8@24, blue 8@16, green 8@8, red 8@0)
Definition at line 446 of file mmstypes.h.
#define MMSFB_PF_AiRGB_STR "AiRGB" |
pixel format: 32 bit ARGB (4 byte, inv. alpha 8@24, red 8@16, green 8@8, blue 8@0)
Definition at line 402 of file mmstypes.h.
#define MMSFB_PF_ALUT44_STR "ALUT44" |
pixel format: 8 bit ALUT (1 byte, alpha 4@4, color lookup 4@0)
Definition at line 432 of file mmstypes.h.
#define MMSFB_PF_ARGB1555_STR "ARGB1555" |
pixel format: 16 bit ARGB (2 byte, alpha 1@15, red 5@10, green 5@5, blue 5@0)
Definition at line 428 of file mmstypes.h.
#define MMSFB_PF_ARGB1666_STR "ARGB1666" |
pixel format: 19 bit ARGB (3 byte, nothing 5@19, alpha 1@18, red 6@12, green 6@6, blue 6@0)
Definition at line 416 of file mmstypes.h.
#define MMSFB_PF_ARGB2554_STR "ARGB2554" |
pixel format: 16 bit ARGB (2 byte, alpha 2@14, red 5@9, green 5@4, blue 4@0)
Definition at line 436 of file mmstypes.h.
#define MMSFB_PF_ARGB3565_STR "ARGB3565" |
pixel format: 19 bit ARGB (16 bit RGB565 plane followed by 4 bit alpha plane (highest bit unused))
Definition at line 440 of file mmstypes.h.
#define MMSFB_PF_ARGB4444_STR "ARGB4444" |
pixel format: 16 bit ARGB (2 byte, alpha 4@12, red 4@8, green 4@4, blue 4@0)
Definition at line 438 of file mmstypes.h.
#define MMSFB_PF_ARGB6666_STR "ARGB6666" |
pixel format: 24 bit ARGB (3 byte, alpha 6@18, red 6@12, green 6@6, blue 6@0)
Definition at line 418 of file mmstypes.h.
#define MMSFB_PF_ARGB_STR "ARGB" |
pixel format: 32 bit ARGB (4 byte, alpha 8@24, red 8@16, green 8@8, blue 8@0)
Definition at line 390 of file mmstypes.h.
#define MMSFB_PF_AYUV_STR "AYUV" |
pixel format: 32 bit AYUV (4 byte, alpha 8@24, Y 8@16, Cb 8@8, Cr 8@0)
Definition at line 412 of file mmstypes.h.
#define MMSFB_PF_BGR24_STR "BGR24" |
pixel format: 24 bit BGR (3 byte, blue 8@16, green 8@8, red 8@0)
Definition at line 442 of file mmstypes.h.
#define MMSFB_PF_BGR555_STR "BGR555" |
pixel format: 15 bit BGR (2 byte, nothing 1@15, blue 5@10, green 5@5, red 5@0)
Definition at line 444 of file mmstypes.h.
#define MMSFB_PF_I420_STR "I420" |
pixel format: 12 bit YUV (8 bit Y plane followed by 8 bit quarter size U/V planes)
Definition at line 398 of file mmstypes.h.
#define MMSFB_PF_LUT2_STR "LUT2" |
pixel format: 2 bit LUT (1 byte/4 pixel, 2 bit color and alpha lookup from palette)
Definition at line 422 of file mmstypes.h.
#define MMSFB_PF_LUT8_STR "LUT8" |
pixel format: 8 bit LUT (8 bit color and alpha lookup from palette)
Definition at line 434 of file mmstypes.h.
#define MMSFB_PF_NONE_STR "" |
#define MMSFB_PF_NV12_STR "NV12" |
pixel format: 12 bit YUV (8 bit Y plane followed by one 16 bit quarter size CbCr [15:0] plane)
Definition at line 406 of file mmstypes.h.
#define MMSFB_PF_NV16_STR "NV16" |
pixel format: 16 bit YUV (8 bit Y plane followed by one 16 bit half width CbCr [15:0] plane)
Definition at line 408 of file mmstypes.h.
#define MMSFB_PF_NV21_STR "NV21" |
pixel format: 12 bit YUV (8 bit Y plane followed by one 16 bit quarter size CrCb [15:0] plane)
Definition at line 410 of file mmstypes.h.
#define MMSFB_PF_RGB16_STR "RGB16" |
pixel format: 16 bit RGB (2 byte, red 5@11, green 6@5, blue 5@0)
Definition at line 384 of file mmstypes.h.
#define MMSFB_PF_RGB18_STR "RGB18" |
pixel format: 18 bit RGB (3 byte, nothing 6@18, red 6@12, green 6@6, blue 6@0)
Definition at line 420 of file mmstypes.h.
#define MMSFB_PF_RGB24_STR "RGB24" |
pixel format: 24 bit RGB (3 byte, red 8@16, green 8@8, blue 8@0)
Definition at line 386 of file mmstypes.h.
#define MMSFB_PF_RGB32_STR "RGB32" |
pixel format: 24 bit RGB (4 byte, nothing 8@24, red 8@16, green 8@8, blue 8@0)
Definition at line 388 of file mmstypes.h.
#define MMSFB_PF_RGB332_STR "RGB332" |
pixel format: 8 bit RGB (1 byte, red 3@5, green 3@2, blue 2@0)
Definition at line 430 of file mmstypes.h.
#define MMSFB_PF_RGB444_STR "RGB444" |
pixel format: 12 bit RGB (2 byte, nothing 4@12, red 4@8, green 4@4, blue 4@0)
Definition at line 424 of file mmstypes.h.
#define MMSFB_PF_RGB555_STR "RGB555" |
pixel format: 15 bit RGB (2 byte, nothing 1@15, red 5@10, green 5@5, blue 5@0)
Definition at line 426 of file mmstypes.h.
#define MMSFB_PF_UYVY_STR "UYVY" |
pixel format: 16 bit YUV (4 byte/2 pixel, macropixel contains YCbYCr [31:0])
Definition at line 396 of file mmstypes.h.
#define MMSFB_PF_VALID_BUFFERMODES "BACKVIDEO BACKSYSTEM FRONTONLY TRIPLE WINDOWS" |
#define MMSFB_PF_VALID_BUFFERMODES_X11 "BACKVIDEO BACKSYSTEM TRIPLE WINDOWS" |
Definition at line 489 of file mmstypes.h.
#define MMSFB_PF_VALID_VALUES "RGB16, RGB24, RGB32, ARGB, A8, YUY2, UYVY, I420, YV12, AiRGB, A1, NV12, NV16, NV21, AYUV, A4, ARGB1666, ARGB6666, RGB18, LUT2, RGB444, RGB555, ARGB1555, RGB332, ALUT44, LUT8, ARGB2554, ARGB4444, ARGB3565, BGR24, BGR555, ABGR" |
#define MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_DAVINCIFB_LAYER_0 "ARGB3565, RGB16" |
#define MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_DAVINCIFB_LAYER_1 "YUY2" |
#define MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_OGL "RGB32, ARGB, ABGR" |
#define MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_OMAPFB_LAYER_0 "ARGB, RGB32, RGB16" |
#define MMSFB_PF_VALID_VALUES_BE_FBDEV_OT_OMAPFB_LAYER_1 "YUY2, RGB32" |
#define MMSFB_PF_VALID_VALUES_BE_KMS_OT_OGL "RGB32, ARGB, ABGR" |
#define MMSFB_PF_VALID_VALUES_BE_X11_OT_OGL "RGB32, ARGB, ABGR" |
#define MMSFB_PF_VALID_VALUES_BE_X11_OT_XSHM "RGB32, ARGB, YV12" |
#define MMSFB_PF_VALID_VALUES_BE_X11_OT_XVSHM "YV12" |
#define MMSFB_PF_VALID_VALUES_LAYER "RGB16, RGB24, RGB32, ARGB, YUY2, UYVY, I420, YV12, AiRGB, NV12, NV16, NV21, AYUV, ARGB1666, ARGB6666, RGB18, LUT2, RGB444, RGB555, ARGB1555, RGB332, LUT8, ARGB2554, ARGB4444, ARGB3565, BGR24, BGR555, ABGR" |
#define MMSFB_PF_VALID_VALUES_SURFACES "ARGB, AiRGB, AYUV, ARGB4444, RGB16, ABGR, empty string for auto detection" |
#define MMSFB_PF_VALID_VALUES_WINDOWS "ARGB, AiRGB, AYUV, ARGB4444, RGB16, ABGR, empty string for auto detection" |
#define MMSFB_PF_YUY2_STR "YUY2" |
pixel format: 16 bit YUV (4 byte/2 pixel, macropixel contains CbYCrY [31:0])
Definition at line 394 of file mmstypes.h.
#define MMSFB_PF_YV12_STR "YV12" |
pixel format: 12 bit YUV (8 bit Y plane followed by 8 bit quarter size V/U planes)
Definition at line 400 of file mmstypes.h.
#define MMSFB_PM_EXTERNAL_STR "EXTERNAL" |
pointer mode: enabled, using external mouse pointer e.g. from X11, if using the X11 backend
Definition at line 674 of file mmstypes.h.
#define MMSFB_PM_FALSE_STR "FALSE" |
#define MMSFB_PM_NONE_STR "" |
#define MMSFB_PM_TRUE_STR "TRUE" |
#define MMSFB_PM_VALID_VALUES "FALSE, TRUE, EXTERNAL" |
#define MMSFBExternalSurfaceBuffer MMSFBSurfacePlanes |
#define MMSLANG_AR_STR "AR" |
#define MMSLANG_CN_STR "CN" |
#define MMSLANG_CS_STR "CS" |
#define MMSLANG_DE_STR "DE" |
#define MMSLANG_DK_STR "DK" |
#define MMSLANG_EN_STR "EN" |
#define MMSLANG_ES_STR "ES" |
#define MMSLANG_FI_STR "FI" |
#define MMSLANG_FR_STR "FR" |
#define MMSLANG_HR_STR "HR" |
#define MMSLANG_IL_STR "IL" |
#define MMSLANG_IT_STR "IT" |
#define MMSLANG_NL_STR "NL" |
#define MMSLANG_NO_STR "NO" |
#define MMSLANG_NONE_STR "" |
#define MMSLANG_RU_STR "RU" |
#define MMSLANG_SE_STR "SE" |
#define MMSLANG_TR_STR "TR" |
typedef float MMS3D_MATERIAL_A[17] |
Definition at line 1336 of file mmstypes.h.
typedef struct _bei_object MMS3D_OBJECT |
decribes a 3D object which can be rendered
typedef unsigned short MMS_HALF_FLOAT |
Definition at line 1186 of file mmstypes.h.
typedef class MMSFBSurfacePlanes MMSFBSurfacePlanesBuffer[MMSFB_MAX_SURFACE_PLANES_BUFFERS] |
describes multiple buffers for backbuffer/triple buffer handling
Definition at line 162 of file mmstypes.h.
typedef float MMSMatrix[4][4] |
Definition at line 1352 of file mmstypes.h.
enum MMS_INDEX_ARRAY_TYPE |
element type
MMS_INDEX_ARRAY_TYPE_TRIANGLES | |
MMS_INDEX_ARRAY_TYPE_TRIANGLE_STRIP | |
MMS_INDEX_ARRAY_TYPE_TRIANGLE_FAN | |
MMS_INDEX_ARRAY_TYPE_LINES | |
MMS_INDEX_ARRAY_TYPE_LINE_STRIP | |
MMS_INDEX_ARRAY_TYPE_LINE_LOOP |
Definition at line 1250 of file mmstypes.h.
enum MMS_VERTEX_DATA_TYPE |
enum MMSFBBackend |
supported display backends
MMSFB_BE_NONE | none |
MMSFB_BE_DFB | directfb backend |
MMSFB_BE_X11 | X11 backend from disko framework. |
MMSFB_BE_FBDEV | FBDEV backend from disko framework. |
MMSFB_BE_KMS | KMS backend from disko framework. |
Definition at line 168 of file mmstypes.h.
enum MMSFBFullScreenMode |
supported full screen modes
MMSFB_FSM_NONE | none |
MMSFB_FSM_FALSE | disabled |
MMSFB_FSM_TRUE | enabled |
MMSFB_FSM_ASPECT_RATIO | enabled, using the correct aspect ratio |
Definition at line 279 of file mmstypes.h.
enum MMSFBOutputType |
supported output types
Definition at line 212 of file mmstypes.h.
enum MMSFBPointerMode |
supported pointer modes
MMSFB_PM_NONE | none |
MMSFB_PM_FALSE | disabled |
MMSFB_PM_TRUE | enabled, using internal mouse pointer |
MMSFB_PM_EXTERNAL | enabled, using external mouse pointer e.g. from X11, if using the X11 backend |
Definition at line 656 of file mmstypes.h.
supported pixel formats
Definition at line 310 of file mmstypes.h.
enum MMSKeySymbol |
supported keys
Definition at line 701 of file mmstypes.h.
enum MMSLanguage |
known languages
Definition at line 1089 of file mmstypes.h.
enum MMSMEDIABackend |
enum MMSSEQUENCEMODE |
sequence mode
Definition at line 1071 of file mmstypes.h.
enum MMSSTATE |
MMS_HALF_FLOAT convertFloat2HalfFloat | ( | float | f | ) |
Definition at line 510 of file mmstypes.cpp.
float convertHalfFloat2Float | ( | MMS_HALF_FLOAT | hf | ) |
Definition at line 551 of file mmstypes.cpp.
const char* convertMMSKeySymbolToXKeysymString | ( | MMSKeySymbol | key | ) |
Definition at line 310 of file mmstypes.cpp.
Definition at line 703 of file mmstypes.cpp.
Definition at line 707 of file mmstypes.cpp.
void freeIndexArray | ( | MMS_INDEX_ARRAY * | array | ) |
void freeVertexArray | ( | MMS_VERTEX_ARRAY * | array | ) |
void frustumMatrix | ( | MMSMatrix | result, | |
float | left, | |||
float | right, | |||
float | bottom, | |||
float | top, | |||
float | nearZ, | |||
float | farZ | |||
) |
Definition at line 799 of file mmstypes.cpp.
unsigned int getIndexArraySize | ( | MMS_INDEX_ARRAY * | array | ) |
MMSFBBackend getMMSFBBackendFromString | ( | string | be | ) |
Definition at line 52 of file mmstypes.cpp.
string getMMSFBBackendString | ( | MMSFBBackend | be | ) |
Definition at line 40 of file mmstypes.cpp.
bool getMMSFBColorFromString | ( | string | input, | |
MMSFBColor * | color | |||
) |
Convert a color string into MMSFBColor.
The input string has the syntax "#rrggbbaa".
rr - hex value for red gg - hex value for green bb - hex value for blue aa - hex value for alpha channel (value ff means full opaque)
input | the input string | |
color | pointer to the color to be returned |
Definition at line 245 of file mmstypes.cpp.
string getMMSFBColorString | ( | MMSFBColor | color | ) |
Convert MMSFBColor to a color string.
The output string has the syntax "#rrggbbaa".
rr - hex value for red gg - hex value for green bb - hex value for blue aa - hex value for alpha channel (value ff means full opaque)
color | color to be converted |
Definition at line 276 of file mmstypes.cpp.
MMSFBFullScreenMode getMMSFBFullScreenModeFromString | ( | string | fsm | ) |
Definition at line 122 of file mmstypes.cpp.
string getMMSFBFullScreenModeString | ( | MMSFBFullScreenMode | fsm | ) |
Definition at line 112 of file mmstypes.cpp.
MMSFBOutputType getMMSFBOutputTypeFromString | ( | string | ot | ) |
Definition at line 88 of file mmstypes.cpp.
string getMMSFBOutputTypeString | ( | MMSFBOutputType | ot | ) |
Definition at line 66 of file mmstypes.cpp.
MMSFBSurfacePixelFormat getMMSFBPixelFormatFromString | ( | string | pf | ) |
Definition at line 174 of file mmstypes.cpp.
string getMMSFBPixelFormatString | ( | MMSFBSurfacePixelFormat | pf | ) |
Definition at line 136 of file mmstypes.cpp.
MMSFBPointerMode getMMSFBPointerModeFromString | ( | string | pm | ) |
Definition at line 297 of file mmstypes.cpp.
string getMMSFBPointerModeString | ( | MMSFBPointerMode | pm | ) |
Definition at line 287 of file mmstypes.cpp.
MMSLanguage getMMSLanguageFromString | ( | string | lang | ) |
Definition at line 466 of file mmstypes.cpp.
string getMMSLanguageString | ( | MMSLanguage | lang | ) |
Definition at line 428 of file mmstypes.cpp.
unsigned int getVertexArraySize | ( | MMS_VERTEX_ARRAY * | array | ) |
bool initIndexArray | ( | MMS_INDEX_ARRAY * | array, | |
MMS_INDEX_ARRAY_TYPE | type, | |||
int | eNum = 0 , |
|||
unsigned int * | data = NULL | |||
) |
Initialize a MMS_INDEX_ARRAY.
array | MMS_INDEX_ARRAY to initialize | |
type | specifies what kind of primitives to render | |
eNum | number of indices or 0, default is 0 | |
data | pointer to existing index data or NULL, default is NULL |
If no data pointer is given by the caller, the function will allocate new space for index data.
Definition at line 640 of file mmstypes.cpp.
bool initVertexArray | ( | MMS_VERTEX_ARRAY * | array, | |
int | eSize, | |||
int | eNum, | |||
MMS_VERTEX_DATA_TYPE | dtype = MMS_VERTEX_DATA_TYPE_FLOAT , |
|||
void * | data = NULL | |||
) |
Initialize a MMS_VERTEX_ARRAY.
array | MMS_VERTEX_ARRAY to initialize | |
eSize | number of values per vertex | |
eNum | number of vertices | |
dtype | type of vertex data, default is MMS_VERTEX_DATA_TYPE_FLOAT | |
data | pointer to existing vertex data or NULL, default is NULL |
Definition at line 598 of file mmstypes.cpp.
bool isMMS3DObjectShown | ( | MMS3D_OBJECT * | object | ) |
Definition at line 858 of file mmstypes.cpp.
void loadIdentityMatrix | ( | MMSMatrix | result | ) |
Definition at line 713 of file mmstypes.cpp.
Definition at line 675 of file mmstypes.cpp.
void orthoMatrix | ( | MMSMatrix | result, | |
float | left, | |||
float | right, | |||
float | bottom, | |||
float | top, | |||
float | nearZ, | |||
float | farZ | |||
) |
Definition at line 836 of file mmstypes.cpp.
void perspectiveMatrix | ( | MMSMatrix | result, | |
float | fovy, | |||
float | aspect, | |||
float | nearZ, | |||
float | farZ | |||
) |
Definition at line 827 of file mmstypes.cpp.
void rotateMatrix | ( | MMSMatrix | result, | |
float | angle, | |||
float | x, | |||
float | y, | |||
float | z | |||
) |
Definition at line 748 of file mmstypes.cpp.
void scaleMatrix | ( | MMSMatrix | result, | |
float | sx, | |||
float | sy, | |||
float | sz | |||
) |
Definition at line 722 of file mmstypes.cpp.
void translateMatrix | ( | MMSMatrix | result, | |
float | tx, | |||
float | ty, | |||
float | tz | |||
) |
Definition at line 740 of file mmstypes.cpp.
const unsigned int FLOAT_MAX_BIASED_EXP = (0xFF << 23) |
Definition at line 1182 of file mmstypes.h.
const unsigned int HALF_FLOAT_MAX_BIASED_EXP = (0x1F << 10) |
Definition at line 1183 of file mmstypes.h.
const unsigned int HALF_FLOAT_MAX_BIASED_EXP_AS_SINGLE_FP_EXP = 0x47800000 |
Definition at line 1179 of file mmstypes.h.
const unsigned int HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EXP = 0x38000000 |
Definition at line 1175 of file mmstypes.h.