mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
webp-lossless-bitstream-spec: fix struct member refs
remove trailing '_' to match the definition of ColorTransformElement Bug: webp:611 Change-Id: I741213b389fc88473c72c64090a4733f51d87925
This commit is contained in:
parent
56cf562570
commit
982c177c8a
@ -408,9 +408,9 @@ void ColorTransform(uint8 red, uint8 blue, uint8 green,
|
||||
int tmp_blue = blue;
|
||||
|
||||
// Applying the transform is just subtracting the transform deltas
|
||||
tmp_red -= ColorTransformDelta(trans->green_to_red_, green);
|
||||
tmp_blue -= ColorTransformDelta(trans->green_to_blue_, green);
|
||||
tmp_blue -= ColorTransformDelta(trans->red_to_blue_, red);
|
||||
tmp_red -= ColorTransformDelta(trans->green_to_red, green);
|
||||
tmp_blue -= ColorTransformDelta(trans->green_to_blue, green);
|
||||
tmp_blue -= ColorTransformDelta(trans->red_to_blue, red);
|
||||
|
||||
*new_red = tmp_red & 0xff;
|
||||
*new_blue = tmp_blue & 0xff;
|
||||
|
Loading…
Reference in New Issue
Block a user