Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2590)

Unified Diff: core/fxcodec/codec/fx_codec_jpx_unittest.cpp

Issue 1803043002: Reland "Fix sycc{420,422}_to_rgb issues." (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: fix unit test Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxcodec/codec/fx_codec_jpx_opj.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/codec/fx_codec_jpx_unittest.cpp
diff --git a/core/fxcodec/codec/fx_codec_jpx_unittest.cpp b/core/fxcodec/codec/fx_codec_jpx_unittest.cpp
index d58b152a78dcc0940be6c7ba8b25f1589e24948f..765d8a2e59359b674c8a01cea54f2a3ee672a0d0 100644
--- a/core/fxcodec/codec/fx_codec_jpx_unittest.cpp
+++ b/core/fxcodec/codec/fx_codec_jpx_unittest.cpp
@@ -496,8 +496,8 @@ TEST(fxcodec, YUV420ToRGB) {
const struct {
OPJ_UINT32 w;
bool expected;
- } cases[] = {{0, false}, {1, false}, {30, false}, {31, true},
- {32, true}, {33, true}, {34, false}, {UINT_MAX, false}};
+ } cases[] = {{0, false}, {1, false}, {30, false}, {31, true},
+ {32, true}, {33, false}, {34, false}, {UINT_MAX, false}};
for (int i = 0; i < sizeof(cases) / sizeof(cases[0]); ++i) {
y.w = cases[i].w;
y.h = y.w;
« no previous file with comments | « core/fxcodec/codec/fx_codec_jpx_opj.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698