提交 633383bd 编写于 作者: J jp9000

libobs/media-io/video-matrices.c: Fix VC warnings

上级 d9d0d874
......@@ -34,47 +34,48 @@ struct {
float float_range_min[3];
float float_range_max[3];
float matrix[2][16];
} static format_info[] = {
{VIDEO_CS_601,
0.114, 0.299, {16, 16, 16}, {235, 240, 240},
0.114f, 0.299f, {16, 16, 16}, {235, 240, 240},
{{16, 128, 128}, {0, 128, 128}},
#ifndef COMPUTE_MATRICES
{ 16/255., 16/255., 16/255.},
{235/255., 240/255., 240/255.},
{ 16.0f/255.0f, 16.0f/255.0f, 16.0f/255.0f},
{235.0f/255.0f, 240.0f/255.0f, 240.0f/255.0f},
{
{
1.164384, 0.000000, 1.596027, -0.874202,
1.164384, -0.391762, -0.812968, 0.531668,
1.164384, 2.017232, 0.000000, -1.085631,
0.000000, 0.000000, 0.000000, 1.000000
1.164384f, 0.000000f, 1.596027f, -0.874202f,
1.164384f, -0.391762f, -0.812968f, 0.531668f,
1.164384f, 2.017232f, 0.000000f, -1.085631f,
0.000000f, 0.000000f, 0.000000f, 1.000000f
},
{
1.000000, 0.000000, 1.407520, -0.706520,
1.000000, -0.345491, -0.716948, 0.533303,
1.000000, 1.778976, 0.000000, -0.892976,
0.000000, 0.000000, 0.000000, 1.000000
1.000000f, 0.000000f, 1.407520f, -0.706520f,
1.000000f, -0.345491f, -0.716948f, 0.533303f,
1.000000f, 1.778976f, 0.000000f, -0.892976f,
0.000000f, 0.000000f, 0.000000f, 1.000000f
}
}
#endif
},
{VIDEO_CS_709,
0.0722, 0.2126, {16, 16, 16}, {235, 240, 240},
0.0722f, 0.2126f, {16, 16, 16}, {235, 240, 240},
{{16, 128, 128}, {0, 128, 128}},
#ifndef COMPUTE_MATRICES
{ 16/255., 16/255., 16/255.},
{235/255., 240/255., 240/255.},
{ 16.0f/255.0f, 16.0f/255.0f, 16.0f/255.0f},
{235.0f/255.0f, 240.0f/255.0f, 240.0f/255.0f},
{
{
1.164384, 0.000000, 1.792741, -0.972945,
1.164384, -0.213249, -0.532909, 0.301483,
1.164384, 2.112402, 0.000000, -1.133402,
0.000000, 0.000000, 0.000000, 1.000000
1.164384f, 0.000000f, 1.792741f, -0.972945f,
1.164384f, -0.213249f, -0.532909f, 0.301483f,
1.164384f, 2.112402f, 0.000000f, -1.133402f,
0.000000f, 0.000000f, 0.000000f, 1.000000f
},
{
1.000000, 0.000000, 1.581000, -0.793600,
1.000000, -0.188062, -0.469967, 0.330305,
1.000000, 1.862906, 0.000000, -0.935106,
0.000000, 0.000000, 0.000000, 1.000000
1.000000f, 0.000000f, 1.581000f, -0.793600f,
1.000000f, -0.188062f, -0.469967f, 0.330305f,
1.000000f, 1.862906f, 0.000000f, -0.935106f,
0.000000f, 0.000000f, 0.000000f, 1.000000f
}
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册