Skip to content

Commit

Permalink
Run clang-format-16
Browse files Browse the repository at this point in the history
  • Loading branch information
ccameron-chromium authored and wantehchang committed Jun 27, 2024
1 parent 4654e63 commit 4a67281
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/gainmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,11 @@ avifResult avifRGBImageComputeGainMap(const avifRGBImage * baseRgbImage,
float channelMin[3] = { 0 };
for (int j = 0; j < height; ++j) {
for (int i = 0; i < width; ++i) {
avifGetRGBAPixel(gainMapMetadata.useBaseColorSpace ? altRgbImage : baseRgbImage, i, j,
gainMapMetadata.useBaseColorSpace ? &altRGBInfo : &baseRGBInfo, rgba);
avifGetRGBAPixel(gainMapMetadata.useBaseColorSpace ? altRgbImage : baseRgbImage,
i,
j,
gainMapMetadata.useBaseColorSpace ? &altRGBInfo : &baseRGBInfo,
rgba);

// Convert to linear.
for (int c = 0; c < 3; ++c) {
Expand Down

0 comments on commit 4a67281

Please sign in to comment.