mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Add a decoder.decode_lsd skeleton.
This commit is contained in:
1 parent
2543999c61
commit
8d1bf15d70
5 files changed
+35
-7
No files matched your search
@@ -208,6 +208,9 @@ const char* puffs_gif_status_string(puffs_gif_status s) {
|
||||
puffs_gif_status puffs_gif_decoder_decode_header(puffs_gif_decoder* self,
|
||||
puffs_base_buf1* a_src);
|
||||
|
||||
puffs_gif_status puffs_gif_decoder_decode_lsd(puffs_gif_decoder* self,
|
||||
puffs_base_buf1* a_src);
|
||||
|
||||
// ---------------- Constructor and Destructor Implementations
|
||||
|
||||
// PUFFS_MAGIC is a magic number to check that constructors are called. It's
|
||||
@@ -297,6 +300,10 @@ puffs_gif_status puffs_gif_decoder_decode(puffs_gif_decoder* self,
|
||||
if (status) {
|
||||
goto cleanup0;
|
||||
}
|
||||
status = puffs_gif_decoder_decode_lsd(self, a_src);
|
||||
if (status) {
|
||||
goto cleanup0;
|
||||
}
|
||||
|
||||
cleanup0:
|
||||
self->private_impl.status = status;
|
||||
@@ -332,6 +339,13 @@ puffs_gif_status puffs_gif_decoder_decode_header(puffs_gif_decoder* self,
|
||||
return status;
|
||||
}
|
||||
|
||||
puffs_gif_status puffs_gif_decoder_decode_lsd(puffs_gif_decoder* self,
|
||||
puffs_base_buf1* a_src) {
|
||||
puffs_gif_status status = self->private_impl.status;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
void puffs_gif_lzw_decoder_set_literal_width(puffs_gif_lzw_decoder* self,
|
||||
uint32_t a_lw) {
|
||||
if (!self) {
|
||||
|
||||
Reference in new issue
Block a user