"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/common/itemlocationbox.hpp" between
heif-3.6.1.tar.gz and heif-3.6.2.tar.gz

About: HEIF (High Efficiency Image File Format) is a visual media container format for images and image sequences (MPEG-standard). This HEIF engine demonstrates its powerful features and capabilities (under Nokia HEIF license).

itemlocationbox.hpp  (heif-3.6.1):itemlocationbox.hpp  (heif-3.6.2)
/* This file is part of Nokia HEIF library /* This file is part of Nokia HEIF library
* *
* Copyright (c) 2015-2020 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved. * Copyright (c) 2015-2021 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved.
* *
* Contact: heif@nokia.com * Contact: heif@nokia.com
* *
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are reserved. * subsidiaries. All rights are reserved.
* *
* Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior * Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior
* written consent of Nokia. * written consent of Nokia.
*/ */
skipping to change at line 94 skipping to change at line 94
std::uint16_t getExtentCount() const; std::uint16_t getExtentCount() const;
/** @brief Add an item location extent /** @brief Add an item location extent
* @param [in] extent Item Location Extent data structure */ * @param [in] extent Item Location Extent data structure */
void addExtent(const ItemLocationExtent& extent); void addExtent(const ItemLocationExtent& extent);
/** @brief Get the list of defined extents /** @brief Get the list of defined extents
* @return Extent List */ * @return Extent List */
const ExtentList& getExtentList() const; const ExtentList& getExtentList() const;
/** @brief Get an extent which is present in the etent list /** @brief Get an extent which is present in the extent list.
* @param [in] i 0-based extent index * @param [in] i 0-based extent index
* @return Item Location Extent data strcuture */ * @return Item Location Extent data structure. */
const ItemLocationExtent& getExtent(unsigned int i) const; const ItemLocationExtent& getExtent(unsigned int i) const;
/** @brief Writes the ItemLocation to the bitstream in the standard-defined format /** @brief Writes the ItemLocation to the bitstream in the standard-defined format
* @param [in] version version of the ItemLocation * @param [in] version version of the ItemLocation
* @param [out] bitstr output ISOBMFF::BitStream */ * @param [out] bitstr output ISOBMFF::BitStream */
void write(ISOBMFF::BitStream& bitstr, unsigned int version); // TODO: not- implemented! void write(ISOBMFF::BitStream& bitstr, unsigned int version); // TODO: not- implemented!
private: private:
std::uint32_t mItemID; ///< Item ID std::uint32_t mItemID; ///< Item ID
ConstructionMethod mConstructionMethod; ///< Construction method enumeratio n ConstructionMethod mConstructionMethod; ///< Construction method enumeratio n
skipping to change at line 168 skipping to change at line 168
/** @brief Add an item location entry /** @brief Add an item location entry
* @param [in] itemLoc ItemLocation data structure */ * @param [in] itemLoc ItemLocation data structure */
void addLocation(const ItemLocation& itemLoc); void addLocation(const ItemLocation& itemLoc);
/** @brief Add an Extent /** @brief Add an Extent
* @param [in] itemId Item ID to use * @param [in] itemId Item ID to use
* @param [in] extent ItemLocationExtent data structure */ * @param [in] extent ItemLocationExtent data structure */
void addExtent(std::uint32_t itemId, const ItemLocationExtent& extent); void addExtent(std::uint32_t itemId, const ItemLocationExtent& extent);
/** @brief Check if an itemId alreadyhas an item location entry /** @brief Check if an itemId already has an item location entry.
* @param [in] itemId Item ID * @param [in] itemId Item ID
* @return TRUE if present, FALSE if not present */ * @return TRUE if present, FALSE if not present */
bool hasItemIdEntry(std::uint32_t itemId) const; bool hasItemIdEntry(std::uint32_t itemId) const;
/** @brief Set the item data reference index /** @brief Set the item data reference index
* @param [in] itemId Item ID * @param [in] itemId Item ID
* @param [in] dataReferenceIndex Data Reference Index * @param [in] dataReferenceIndex Data Reference Index
* @return TRUE if item with item ID is found and data refrence is set, FAL SE if item with item Id not found */ * @return TRUE if item with item ID is found and data reference is set, FA LSE if item with item Id not found */
bool setItemDataReferenceIndex(std::uint32_t itemId, std::uint16_t dataRefer enceIndex); bool setItemDataReferenceIndex(std::uint32_t itemId, std::uint16_t dataRefer enceIndex);
/** @brief Get the item location vector /** @brief Get the item location vector
* @return Item Location vector of Item Location entries */ * @return Item Location vector of Item Location entries */
ItemLocationVector& getItemLocations(); ItemLocationVector& getItemLocations();
/** @brief Creates the bitstream that represents the box in the ISOBMFF file /** @brief Creates the bitstream that represents the box in the ISOBMFF file
* @param [out] bitstr Bitstream that contains the box data. */ * @param [out] bitstr Bitstream that contains the box data. */
void writeBox(ISOBMFF::BitStream& bitstr) const override; void writeBox(ISOBMFF::BitStream& bitstr) const override;
 End of changes. 5 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)