24
edits
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
== July 3rd - Input source modifications == | |||
I have modified jdatasrc.c to keep track of the current offset from the start of the file. This has allowed me to add a seek function, which is useful since offsets in header fields are normally specified from the point. I can also seek backwards provided I don't seek outside the current input buffer. | |||
I have also split the decompression object into three types - file, directory and image. A file object contains a list of directory objects, each of which contain one or two (or possibly more, currently uncertain) image objects. My justification - I still want to be able to decode a standalone image or directory as well as a file. Currently composited images will use a pointer to their parent's source and error managers, but their own memory manager. This seems to be working for now, but probably will need more thought. | |||
The specification gives a lot of detail on the file and image formats which is not present in the sample .jxr files. I am therefore going to move on since parsing image and tile layer data should have been complete weeks ago. | |||
== June 21st - Header parsing progress == | == June 21st - Header parsing progress == | ||
edits