isoiff
IntroductionProvides tools to process images through iso media file format
Functions
ISOIFF_AddImagePropertyMP4Err ISOIFF_AddImageProperty ( ISOIFF_Image image, MP4AtomPtr property, u8 essential); ParametersDiscussionAdds a property to the image ISOIFF_AddImageRelationMP4Err ISOIFF_AddImageRelation ( ISOIFF_Image fromImage, ISOIFF_Image toImage, u32 relationType); ParametersDiscussionAdds a relation between two images to their collection. ISOIFF_AddImageToMetaMP4Err ISOIFF_AddImageToMeta ( ISOIFF_Meta fromMeta, ISOIFF_Image toImage, u32 relationType); ParametersDiscussionAdds a image to an meta item (This means there will be a relation from the meta item to the image) ISOIFF_AddMetaToImageMP4Err ISOIFF_AddMetaToImage ( ISOIFF_Image fromImage, ISOIFF_Meta toMeta, u32 relationType); ParametersDiscussionAdds a meta item to an image (This means there will be a relation from the image to the meta item) ISOIFF_CreateImageCollectionMP4Err ISOIFF_CreateImageCollection ( ISOIFF_ImageCollection *collection, u32 brand, u32 minorVersion); ParametersDiscussionCreates an image collection conforming to ISO Base Media Image File Format. ISOIFF_FreeImageMP4Err ISOIFF_FreeImage ( ISOIFF_Image image); ParametersDiscussionDeallocates the memory used by an ISOIFF_Image struct ISOIFF_FreeImageCollectionMP4Err ISOIFF_FreeImageCollection ( ISOIFF_ImageCollection collection); ParametersDiscussionDeallocates the memory used by an image collection ISOIFF_FreeMetaMP4Err ISOIFF_FreeMeta ( ISOIFF_Meta meta); ParametersDiscussionDeallocates the memory used by an ISOIFF_Meta struct ISOIFF_GetAllImagesWithTypeMP4Err ISOIFF_GetAllImagesWithType ( ISOIFF_ImageCollection collection, u32 type, ISOIFF_Image **images, u32 *numberOfImagesFound); ParametersDiscussionCollects all images of a given type from an image collections and presents the result as an array ISOIFF_GetAllMetasWithTypeMP4Err ISOIFF_GetAllMetasWithType ( ISOIFF_ImageCollection collection, u32 type, ISOIFF_Meta **metas, u32 *numberOfMetasFound); ParametersDiscussionCollects all meta items of a given type from an image collections and presents the result as an array ISOIFF_GetImageDataMP4Err ISOIFF_GetImageData ( ISOIFF_Image image, MP4Handle data); ParametersDiscussionGets the data of an image in form of an MP4Handle ISOIFF_GetImagePropertiesMP4Err ISOIFF_GetImageProperties ( ISOIFF_Image image, MP4GenericAtom **properties, u32 *propertiesFound); ParametersDiscussionObtains an array of properties from an image ISOIFF_GetImagesOfImageWithTypeMP4Err ISOIFF_GetImagesOfImageWithType ( ISOIFF_Image fromImage, u32 relationType, ISOIFF_Image **toImages, u32 *numberOfImagesFound); ParametersDiscussionCollects all images that an image points to, with a certain relation type. ISOIFF_GetImagesOfMetaWithTypeMP4Err ISOIFF_GetImagesOfMetaWithType ( ISOIFF_Meta fromMeta, u32 relationType, ISOIFF_Image **toImages, u32 *numberOfImagesFound); ParametersDiscussionCollects all images that an meta item points to, with a certain relation type. ISOIFF_GetImageTypeMP4Err ISOIFF_GetImageType ( ISOIFF_Image image, u32 *outType); ParametersDiscussionGets the 4cc type of an image ISOIFF_GetMetaDataMP4Err ISOIFF_GetMetaData ( ISOIFF_Meta meta, MP4Handle data); ParametersDiscussionGets the data of an meta item in form of an MP4Handle ISOIFF_GetMetasOfImageWithTypeMP4Err ISOIFF_GetMetasOfImageWithType ( ISOIFF_Image fromImage, u32 relationType, ISOIFF_Meta **toMetas, u32 *numberOfMetasFound); ParametersDiscussionCollects all meta itmes that an image points to, with a certain relation type. ISOIFF_GetMetaTypeMP4Err ISOIFF_GetMetaType ( ISOIFF_Meta meta, u32 *outType); ParametersDiscussionGets the 4cc type of an meta item ISOIFF_NewImageMP4Err ISOIFF_NewImage ( ISOIFF_ImageCollection collection, ISOIFF_Image *image, u32 type, MP4Handle data); ParametersDiscussionCreates and adds an image with a given type and data to an image collection ISOIFF_NewMetaMP4Err ISOIFF_NewMeta ( ISOIFF_ImageCollection collection, ISOIFF_Meta *meta, u32 type, MP4Handle data); ParametersDiscussionCreates and adds a meta item with a given type and data to an image collection ISOIFF_ReadCollectionFromFileMP4Err ISOIFF_ReadCollectionFromFile ( ISOIFF_ImageCollection *collection, const char *filename); ParametersDiscussionReads an image collection from a file ISOIFF_SetImageAsCoverMP4Err ISOIFF_SetImageAsCover ( ISOIFF_Image image); ParametersDiscussionSets an image as the cover image of its collection. (This means it will become the primary item) ISOIFF_WriteCollectionToFileMP4Err ISOIFF_WriteCollectionToFile ( ISOIFF_ImageCollection collection, const char *filename); ParametersDiscussionWrites an image collection to a file Typedefs
ISOIFF_ImageRepresents an image contained in an ISO Media Based Image File Format image collection typedef struct ISOIFF_ImageS *ISOIFF_Image; ISOIFF_ImageCollectionRepresents a collection of images (Stored conforming to ISO Media Based Image File Format) typedef struct ISOIFF_ImageCollectionS *ISOIFF_ImageCollection; ISOIFF_MetaRepresents an meta item contained in an ISO Media Based Image File Format image collection typedef struct ISOIFF_MetaS *ISOIFF_Meta; |