tvg_saver: save the missing scene reserve count. (#771)
authorHermet Park <hermetpark@gmail.com>
Mon, 6 Sep 2021 06:38:18 +0000 (15:38 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 7 Sep 2021 00:45:14 +0000 (09:45 +0900)
commit72b773cdee5f4bcc9e1910c41546acdbb43b0867
tree4b15dfcf4ac60d4e2989937cf6d3b2f88db078fd
parentbf2b728e05d9511e06b8fcb6efaad08529b4c880
tvg_saver: save the missing scene reserve count. (#771)

This reserved count was just missed,
Aside from it, tvg_loader logic is not well organized (hard to expect)
We can refine it by recovering the data tree structure in the reverse order.

@Issues: https://github.com/Samsung/thorvg/issues/768
src/examples/images/test.tvg
src/lib/tvgBinaryDesc.h
src/loaders/tvg/tvgTvgBinInterpreter.cpp
src/savers/tvg/tvgTvgSaver.cpp
src/savers/tvg/tvgTvgSaver.h