mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Remove the unused wuffs_base__image_buffer__loop
This commit is contained in:
1 parent
13d2814519
commit
39c1a3d179
17 files changed
+4
-309
No files matched your search
@@ -1232,25 +1232,6 @@ static inline void wuffs_base__image_buffer__update(
|
||||
}
|
||||
}
|
||||
|
||||
// wuffs_base__image_buffer__loop returns whether the image decoder should loop
|
||||
// back to the beginning of the animation, assuming that we've reached the end
|
||||
// of the encoded stream. If so, it increments b's count of the animation loops
|
||||
// played so far.
|
||||
static inline bool wuffs_base__image_buffer__loop(wuffs_base__image_buffer* b) {
|
||||
if (!b) {
|
||||
return false;
|
||||
}
|
||||
uint32_t n = b->private_impl.config.private_impl.num_loops;
|
||||
if (n == 0) {
|
||||
return true;
|
||||
}
|
||||
if (b->private_impl.loop_count < n - 1) {
|
||||
b->private_impl.loop_count++;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// wuffs_base__image_config returns the overall configuration for this frame.
|
||||
static inline wuffs_base__image_config* wuffs_base__image_buffer__image_config(
|
||||
wuffs_base__image_buffer* b) {
|
||||
|
||||
@@ -1232,25 +1232,6 @@ static inline void wuffs_base__image_buffer__update(
|
||||
}
|
||||
}
|
||||
|
||||
// wuffs_base__image_buffer__loop returns whether the image decoder should loop
|
||||
// back to the beginning of the animation, assuming that we've reached the end
|
||||
// of the encoded stream. If so, it increments b's count of the animation loops
|
||||
// played so far.
|
||||
static inline bool wuffs_base__image_buffer__loop(wuffs_base__image_buffer* b) {
|
||||
if (!b) {
|
||||
return false;
|
||||
}
|
||||
uint32_t n = b->private_impl.config.private_impl.num_loops;
|
||||
if (n == 0) {
|
||||
return true;
|
||||
}
|
||||
if (b->private_impl.loop_count < n - 1) {
|
||||
b->private_impl.loop_count++;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// wuffs_base__image_config returns the overall configuration for this frame.
|
||||
static inline wuffs_base__image_config* wuffs_base__image_buffer__image_config(
|
||||
wuffs_base__image_buffer* b) {
|
||||
|
||||
@@ -1232,25 +1232,6 @@ static inline void wuffs_base__image_buffer__update(
|
||||
}
|
||||
}
|
||||
|
||||
// wuffs_base__image_buffer__loop returns whether the image decoder should loop
|
||||
// back to the beginning of the animation, assuming that we've reached the end
|
||||
// of the encoded stream. If so, it increments b's count of the animation loops
|
||||
// played so far.
|
||||
static inline bool wuffs_base__image_buffer__loop(wuffs_base__image_buffer* b) {
|
||||
if (!b) {
|
||||
return false;
|
||||
}
|
||||
uint32_t n = b->private_impl.config.private_impl.num_loops;
|
||||
if (n == 0) {
|
||||
return true;
|
||||
}
|
||||
if (b->private_impl.loop_count < n - 1) {
|
||||
b->private_impl.loop_count++;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// wuffs_base__image_config returns the overall configuration for this frame.
|
||||
static inline wuffs_base__image_config* wuffs_base__image_buffer__image_config(
|
||||
wuffs_base__image_buffer* b) {
|
||||
|
||||
@@ -1232,25 +1232,6 @@ static inline void wuffs_base__image_buffer__update(
|
||||
}
|
||||
}
|
||||
|
||||
// wuffs_base__image_buffer__loop returns whether the image decoder should loop
|
||||
// back to the beginning of the animation, assuming that we've reached the end
|
||||
// of the encoded stream. If so, it increments b's count of the animation loops
|
||||
// played so far.
|
||||
static inline bool wuffs_base__image_buffer__loop(wuffs_base__image_buffer* b) {
|
||||
if (!b) {
|
||||
return false;
|
||||
}
|
||||
uint32_t n = b->private_impl.config.private_impl.num_loops;
|
||||
if (n == 0) {
|
||||
return true;
|
||||
}
|
||||
if (b->private_impl.loop_count < n - 1) {
|
||||
b->private_impl.loop_count++;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// wuffs_base__image_config returns the overall configuration for this frame.
|
||||
static inline wuffs_base__image_config* wuffs_base__image_buffer__image_config(
|
||||
wuffs_base__image_buffer* b) {
|
||||
|
||||
@@ -1232,25 +1232,6 @@ static inline void wuffs_base__image_buffer__update(
|
||||
}
|
||||
}
|
||||
|
||||
// wuffs_base__image_buffer__loop returns whether the image decoder should loop
|
||||
// back to the beginning of the animation, assuming that we've reached the end
|
||||
// of the encoded stream. If so, it increments b's count of the animation loops
|
||||
// played so far.
|
||||
static inline bool wuffs_base__image_buffer__loop(wuffs_base__image_buffer* b) {
|
||||
if (!b) {
|
||||
return false;
|
||||
}
|
||||
uint32_t n = b->private_impl.config.private_impl.num_loops;
|
||||
if (n == 0) {
|
||||
return true;
|
||||
}
|
||||
if (b->private_impl.loop_count < n - 1) {
|
||||
b->private_impl.loop_count++;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// wuffs_base__image_config returns the overall configuration for this frame.
|
||||
static inline wuffs_base__image_config* wuffs_base__image_buffer__image_config(
|
||||
wuffs_base__image_buffer* b) {
|
||||
|
||||
@@ -1232,25 +1232,6 @@ static inline void wuffs_base__image_buffer__update(
|
||||
}
|
||||
}
|
||||
|
||||
// wuffs_base__image_buffer__loop returns whether the image decoder should loop
|
||||
// back to the beginning of the animation, assuming that we've reached the end
|
||||
// of the encoded stream. If so, it increments b's count of the animation loops
|
||||
// played so far.
|
||||
static inline bool wuffs_base__image_buffer__loop(wuffs_base__image_buffer* b) {
|
||||
if (!b) {
|
||||
return false;
|
||||
}
|
||||
uint32_t n = b->private_impl.config.private_impl.num_loops;
|
||||
if (n == 0) {
|
||||
return true;
|
||||
}
|
||||
if (b->private_impl.loop_count < n - 1) {
|
||||
b->private_impl.loop_count++;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// wuffs_base__image_config returns the overall configuration for this frame.
|
||||
static inline wuffs_base__image_config* wuffs_base__image_buffer__image_config(
|
||||
wuffs_base__image_buffer* b) {
|
||||
|
||||
@@ -1232,25 +1232,6 @@ static inline void wuffs_base__image_buffer__update(
|
||||
}
|
||||
}
|
||||
|
||||
// wuffs_base__image_buffer__loop returns whether the image decoder should loop
|
||||
// back to the beginning of the animation, assuming that we've reached the end
|
||||
// of the encoded stream. If so, it increments b's count of the animation loops
|
||||
// played so far.
|
||||
static inline bool wuffs_base__image_buffer__loop(wuffs_base__image_buffer* b) {
|
||||
if (!b) {
|
||||
return false;
|
||||
}
|
||||
uint32_t n = b->private_impl.config.private_impl.num_loops;
|
||||
if (n == 0) {
|
||||
return true;
|
||||
}
|
||||
if (b->private_impl.loop_count < n - 1) {
|
||||
b->private_impl.loop_count++;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// wuffs_base__image_config returns the overall configuration for this frame.
|
||||
static inline wuffs_base__image_config* wuffs_base__image_buffer__image_config(
|
||||
wuffs_base__image_buffer* b) {
|
||||
|
||||
Reference in new issue
Block a user