网
网络3K
Unregistered / Unconfirmed
GUEST, unregistred user!
STRM_PARAM是类型
typedef struct
{
FLOAT xPos, yPos;
FLOAT xSize, ySize;
FLOAT fAlpha;
BOOL bFlipped, bMirrored;
} STRM_PARAM;
const STRM_PARAM strParamInit[1] = {
{0.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0, 0, {0,0,0,0}}
};
const float X_EDGE_BUFFER = 0.025f;
// Distance from screen border
const float Y_EDGE_BUFFER = 0.05f;
// Distance from screen border
const float SECONDARY_WIDTH = 0.4f;
// Width of subpicture in comp space
const float SECONDARY_HEIGHT = 0.4f;
// Height of subpicture in comp space
const QUADRANT quad[4] = {
X_EDGE_BUFFER, Y_EDGE_BUFFER,
SECONDARY_WIDTH, SECONDARY_HEIGHT,
(1.0f - SECONDARY_WIDTH - X_EDGE_BUFFER), Y_EDGE_BUFFER,
SECONDARY_WIDTH, SECONDARY_HEIGHT,
(1.0f - SECONDARY_WIDTH - X_EDGE_BUFFER), (1.0f - SECONDARY_HEIGHT - Y_EDGE_BUFFER),
SECONDARY_WIDTH, SECONDARY_HEIGHT,
X_EDGE_BUFFER, (1.0f - SECONDARY_HEIGHT - Y_EDGE_BUFFER),
SECONDARY_WIDTH, SECONDARY_HEIGHT
};
typedef struct
{
FLOAT xPos, yPos;
FLOAT xSize, ySize;
FLOAT fAlpha;
BOOL bFlipped, bMirrored;
} STRM_PARAM;
const STRM_PARAM strParamInit[1] = {
{0.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0, 0, {0,0,0,0}}
};
const float X_EDGE_BUFFER = 0.025f;
// Distance from screen border
const float Y_EDGE_BUFFER = 0.05f;
// Distance from screen border
const float SECONDARY_WIDTH = 0.4f;
// Width of subpicture in comp space
const float SECONDARY_HEIGHT = 0.4f;
// Height of subpicture in comp space
const QUADRANT quad[4] = {
X_EDGE_BUFFER, Y_EDGE_BUFFER,
SECONDARY_WIDTH, SECONDARY_HEIGHT,
(1.0f - SECONDARY_WIDTH - X_EDGE_BUFFER), Y_EDGE_BUFFER,
SECONDARY_WIDTH, SECONDARY_HEIGHT,
(1.0f - SECONDARY_WIDTH - X_EDGE_BUFFER), (1.0f - SECONDARY_HEIGHT - Y_EDGE_BUFFER),
SECONDARY_WIDTH, SECONDARY_HEIGHT,
X_EDGE_BUFFER, (1.0f - SECONDARY_HEIGHT - Y_EDGE_BUFFER),
SECONDARY_WIDTH, SECONDARY_HEIGHT
};