mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 15:32:53 +01:00
label rename: NO_CHANGE -> NoChange
Change-Id: I5b2beb93169d7c2bc95e6cdeb57770fc44b4963f
This commit is contained in:
parent
b4e731cd93
commit
b0c9d8af32
@ -356,7 +356,7 @@ static void MinimizeChangeRectangle(const WebPPicture* const src,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (rect->width_ == 0) goto NO_CHANGE;
|
if (rect->width_ == 0) goto NoChange;
|
||||||
|
|
||||||
// Right boundary.
|
// Right boundary.
|
||||||
for (i = rect->x_offset_ + rect->width_ - 1; i >= rect->x_offset_; --i) {
|
for (i = rect->x_offset_ + rect->width_ - 1; i >= rect->x_offset_; --i) {
|
||||||
@ -371,7 +371,7 @@ static void MinimizeChangeRectangle(const WebPPicture* const src,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (rect->width_ == 0) goto NO_CHANGE;
|
if (rect->width_ == 0) goto NoChange;
|
||||||
|
|
||||||
// Top boundary.
|
// Top boundary.
|
||||||
for (j = rect->y_offset_; j < rect->y_offset_ + rect->height_; ++j) {
|
for (j = rect->y_offset_; j < rect->y_offset_ + rect->height_; ++j) {
|
||||||
@ -386,7 +386,7 @@ static void MinimizeChangeRectangle(const WebPPicture* const src,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (rect->height_ == 0) goto NO_CHANGE;
|
if (rect->height_ == 0) goto NoChange;
|
||||||
|
|
||||||
// Bottom boundary.
|
// Bottom boundary.
|
||||||
for (j = rect->y_offset_ + rect->height_ - 1; j >= rect->y_offset_; --j) {
|
for (j = rect->y_offset_ + rect->height_ - 1; j >= rect->y_offset_; --j) {
|
||||||
@ -400,10 +400,10 @@ static void MinimizeChangeRectangle(const WebPPicture* const src,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (rect->height_ == 0) goto NO_CHANGE;
|
if (rect->height_ == 0) goto NoChange;
|
||||||
|
|
||||||
if (IsEmptyRect(rect)) {
|
if (IsEmptyRect(rect)) {
|
||||||
NO_CHANGE:
|
NoChange:
|
||||||
rect->x_offset_ = 0;
|
rect->x_offset_ = 0;
|
||||||
rect->y_offset_ = 0;
|
rect->y_offset_ = 0;
|
||||||
rect->width_ = 0;
|
rect->width_ = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user