Chromium Code Reviews| Index: core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c |
| diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c |
| index c4341ec1bbd942dee320d1b4dc5da7d53832b269..ac8bfb1ded6f1ee16ae2cd744c2ead0c619c2920 100644 |
| --- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c |
| +++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c |
| @@ -189,18 +189,6 @@ void opj_mct_decode_real( |
| c2 += 4; |
| } |
| n &= 7; |
| - } else { |
|
jabdelmalek
2014/06/06 17:25:31
why remove this?
|
| - for (i = 0; i < n; ++i) { |
| - OPJ_FLOAT32 y = c0[i]; |
| - OPJ_FLOAT32 u = c1[i]; |
| - OPJ_FLOAT32 v = c2[i]; |
| - OPJ_FLOAT32 r = y + (v * 1.402f); |
| - OPJ_FLOAT32 g = y - (u * 0.34413f) - (v * (0.71414f)); |
| - OPJ_FLOAT32 b = y + (u * 1.772f); |
| - c0[i] = r; |
| - c1[i] = g; |
| - c2[i] = b; |
| - } |
| } |
| #endif |
| for(i = 0; i < n; ++i) { |