diff options
author | DichenZhang1 <140119224+DichenZhang1@users.noreply.github.com> | 2024-01-31 21:49:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 21:49:02 -0800 |
commit | f33d42eb5d19b0a3b90a89279be6e29912777341 (patch) | |
tree | 670034dc37d4da31c0d22080d7edbb1020a280c4 | |
parent | f25419dacb1b24900a9d15bfcd37a7a512d2cce4 (diff) | |
download | libultrahdr-f33d42eb5d19b0a3b90a89279be6e29912777341.tar.gz |
Update jpegr.h
-rw-r--r-- | lib/include/ultrahdr/jpegr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/include/ultrahdr/jpegr.h b/lib/include/ultrahdr/jpegr.h index 40dc56b..57dea96 100644 --- a/lib/include/ultrahdr/jpegr.h +++ b/lib/include/ultrahdr/jpegr.h @@ -103,8 +103,6 @@ struct jpegr_uncompressed_struct { ultrahdr_color_gamut colorGamut; // Values below are optional - // Pixel format. - ultrahdr_pixel_format pixelFormat = ULTRAHDR_PIX_FMT_UNSPECIFIED; // Pointer to chroma data, if it's NULL, chroma plane is considered to be immediately // after the luma plane. void* chroma_data = nullptr; @@ -120,6 +118,8 @@ struct jpegr_uncompressed_struct { // NOTE: if chroma_data is nullptr, chroma_stride is irrelevant. Just as the way, // chroma_data is derived from luma ptr, chroma stride is derived from luma stride. size_t chroma_stride = 0; + // Pixel format. + ultrahdr_pixel_format pixelFormat = ULTRAHDR_PIX_FMT_UNSPECIFIED; }; /* |