mpvtools provides command line utilities and libraries in support of the OSTA MultiPhoto/Video initiative. The utilities and libraries are designed to be modular and single purpose with the assumption that they can be pipelined or otherwise composed
Be the first to post a text review of mpvtools. Rate and review a project by clicking thumbs up or thumbs down in the right column.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reader changes * Modified parser to permit parent elements to contain multiple <mpv:Metadata> child elements. This was achieved by redefining the use of the 'pmpvMetadata' member that many of the various Mpv structs have (defined in file mpvPar.h). The type of that member is unchanged, but its usage is different. Instead of pointing to an MpvXml instance that previously represented a single <mpv:Metadata> child element, it now points to a container MpvXml instance that can hold any number of child MpvXml instances, each of which corresponds to a child <mpv:Metadata> element. The container MpvXml instance is created only when needed, and its name, namesp, and charData members are always set to null pointers. Technically this change is not backward compatible with existing code that accesses the pmpvMetadata member directly. But if application code searches for <mpv:Metadata> elements exclusively through use of the four MpvFindXml...() accessor functions declared in file mpvAcc.h, then the change is backward compatible. Those functions are designed to properly search the contents of the newly introduced container MpvXml instances. * Eliminated a memory leak when multiple <nmf:Metadata> elements are included as children of the same parent element. (Note that only the first child is stored, since only one child <nmf:Metadata> element is permitted by the MPV specs.) * Changed the MPV_DECL_LIST, MPV_IMPL_LIST, and MPV_IMPL_LIST_ADDED_MEMBERS macros to provide a return value for the functions of form: MpvAddObjectValue(MpvObjectList* plist, const MpvObject* pvalue); These functions now return the number of elements successfully added to the 'plist' object, either 0 or 1. * Fixed 'const' error in declaration of function MpvStrToMBCS(). * Made some changes in support of testing wide-character configurations. Due to time constraints this work wasn't completed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Writer changes * Fixed invalid string call in getAssetIDPrefix(). * Modified MpvGenManifestGenerate() to include an encoding specification in the XML declaration of generated MPV files. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Accessor-function changes * Fixed "if" condition error in MpvFindRenditionByUsageAndType(). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - test changes * Modified test .pvm files and ref output files to provide more extensive testing of these elements: <mpv:Metadata> <nmf:Metadata> <mpv:ContentID> <mpv:DocumentID> <mpv:InstanceID> * Modified runtest.bat script to invoke test for function MpvGenManifestFromMem(), already provided in example application genTest.c. Added reference file gentest_dot.pvm. * Made minor cosmetic changes to various test apps. * Made some changes in support of testing wide-character configurations. Due to time constraints this work wasn't completed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - documentation changes * Regenerated documentation with minor changes.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reader changes * Modified parser to permit parent elements to contain multiple <mpv:Metadata> child elements. This was achieved by redefining the use of the 'pmpvMetadata' member that many of the various Mpv structs have (defined in file mpvPar.h). The type of that member is unchanged, but its usage is different. Instead of pointing to an MpvXml instance that previously represented a single <mpv:Metadata> child element, it now points to a container MpvXml instance that can hold any number of child MpvXml instances, each of which corresponds to a child <mpv:Metadata> element. The container MpvXml instance is created only when needed, and its name, namesp, and charData members are always set to null pointers. Technically this change is not backward compatible with existing code that accesses the pmpvMetadata member directly. But if application code searches for <mpv:Metadata> elements exclusively through use of the four MpvFindXml...() accessor functions declared in file mpvAcc.h, then the change is backward compatible. Those functions are designed to properly search the contents of the newly introduced container MpvXml instances. * Eliminated a memory leak when multiple <nmf:Metadata> elements are included as children of the same parent element. (Note that only the first child is stored, since only one child <nmf:Metadata> element is permitted by the MPV specs.) * Changed the MPV_DECL_LIST, MPV_IMPL_LIST, and MPV_IMPL_LIST_ADDED_MEMBERS macros to provide a return value for the functions of form: MpvAddObjectValue(MpvObjectList* plist, const MpvObject* pvalue); These functions now return the number of elements successfully added to the 'plist' object, either 0 or 1. * Fixed 'const' error in declaration of function MpvStrToMBCS(). * Made some changes in support of testing wide-character configurations. Due to time constraints this work wasn't completed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Writer changes * Fixed invalid string call in getAssetIDPrefix(). * Modified MpvGenManifestGenerate() to include an encoding specification in the XML declaration of generated MPV files. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Accessor-function changes * Fixed "if" condition error in MpvFindRenditionByUsageAndType(). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - test changes * Modified test .pvm files and ref output files to provide more extensive testing of these elements: <mpv:Metadata> <nmf:Metadata> <mpv:ContentID> <mpv:DocumentID> <mpv:InstanceID> * Modified runtest.bat script to invoke test for function MpvGenManifestFromMem(), already provided in example application genTest.c. Added reference file gentest_dot.pvm. * Made minor cosmetic changes to various test apps. * Made some changes in support of testing wide-character configurations. Due to time constraints this work wasn't completed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - documentation changes * Regenerated documentation with minor changes.
Be the first person to add a text review.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: