vlc/vlc-3.0 | branch: master | Steve Lhomme <[email protected]> | Wed Oct 17 13:23:37 2018 +0200| [a6b3457f13adcf6e918cd0d534177d88c75fb1b3] | committer: Steve Lhomme
direct3d11: fix UTF-8 encoding > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=a6b3457f13adcf6e918cd0d534177d88c75fb1b3 --- modules/video_output/win32/direct3d11.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c index 54bbc9d191..b2f3555f44 100644 --- a/modules/video_output/win32/direct3d11.c +++ b/modules/video_output/win32/direct3d11.c @@ -335,7 +335,7 @@ static const char* globPixelShaderDefault = "\ const float B67_a = 0.17883277;\ const float B67_b = 0.28466892;\ const float B67_c = 0.55991073;\ - const float B67_inv_r2 = 4.0; /* 1/0.5� */\ + const float B67_inv_r2 = 4.0; /* 1/0.5² */\ if (x <= 0.5)\ x = x * x * B67_inv_r2;\ else\ @@ -1976,13 +1976,13 @@ static HRESULT CompilePixelShader(vout_display_t *vd, const d3d_format_t *format switch (format->bitsPerChannel) { case 8: - /* Rec. ITU-R BT.709-6 �4.6 */ + /* Rec. ITU-R BT.709-6 §4.6 */ itu_black_level = 16.f / 255.f; itu_white_level = 235.f / 255.f; itu_range_factor = (float)(235 - 16) / 255.f; break; case 10: - /* Rec. ITU-R BT.709-6 �4.6 */ + /* Rec. ITU-R BT.709-6 §4.6 */ itu_black_level = 64.f / 1023.f; itu_white_level = 940.f / 1023.f; itu_range_factor = (float)(940 - 64) / 1023.f; @@ -2396,7 +2396,7 @@ static void SetupQuadFlat(d3d_vertex_t *dst_data, const RECT *output, * the rest of the visible area must correspond to -1,1 */ switch (orientation) { - case ORIENT_ROTATED_90: /* 90� anti clockwise */ + case ORIENT_ROTATED_90: /* 90° anti clockwise */ /* right/top aligned */ MidY = (output->left + output->right) / 2.f; MidX = (output->top + output->bottom) / 2.f; @@ -2405,7 +2405,7 @@ static void SetupQuadFlat(d3d_vertex_t *dst_data, const RECT *output, left = (MidX - src_height) / (MidX - output->left); right = MidX / (MidX - (src_width - output->right)); break; - case ORIENT_ROTATED_180: /* 180� */ + case ORIENT_ROTATED_180: /* 180° */ /* right/top aligned */ MidY = (output->top + output->bottom) / 2.f; MidX = (output->left + output->right) / 2.f; @@ -2414,7 +2414,7 @@ static void SetupQuadFlat(d3d_vertex_t *dst_data, const RECT *output, left = -MidX / (MidX - output->left); right = (src_width - MidX) / (output->right - MidX); break; - case ORIENT_ROTATED_270: /* 90� clockwise */ + case ORIENT_ROTATED_270: /* 90° clockwise */ /* right/top aligned */ MidY = (output->left + output->right) / 2.f; MidX = (output->top + output->bottom) / 2.f; @@ -2828,12 +2828,12 @@ static int SetupQuad(vout_display_t *vd, const video_format_t *fmt, d3d_quad_t * switch (cfg->bitsPerChannel) { case 8: - /* Rec. ITU-R BT.709-6 �4.6 */ + /* Rec. ITU-R BT.709-6 §4.6 */ itu_black_level = 16.f / 255.f; itu_achromacy = 128.f / 255.f; break; case 10: - /* Rec. ITU-R BT.709-6 �4.6 */ + /* Rec. ITU-R BT.709-6 §4.6 */ itu_black_level = 64.f / 1023.f; itu_achromacy = 512.f / 1023.f; break;
_______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
