Skip to content

Commit

Permalink
Update jpegr.h
Browse files Browse the repository at this point in the history
  • Loading branch information
DichenZhang1 authored Feb 1, 2024
1 parent f25419d commit f33d42e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/include/ultrahdr/jpegr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
};

/*
Expand Down

0 comments on commit f33d42e

Please sign in to comment.