"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/common/editbox.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).

editbox.hpp  (heif-3.6.1):editbox.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 75 skipping to change at line 75
/** @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;
/** @brief Parses an Edit List Box bitstream and fills in the necessary memb er variables /** @brief Parses an Edit List Box bitstream and fills in the necessary memb er variables
* @param [in] bitstr Bitstream that contains the box data */ * @param [in] bitstr Bitstream that contains the box data */
void parseBox(ISOBMFF::BitStream& bitstr) override; void parseBox(ISOBMFF::BitStream& bitstr) override;
private: private:
Vector<EntryVersion0> mEntryVersion0; ///< vector of edit list entries of t Vector<EntryVersion0> mEntryVersion0; ///< Edit list entries of type versio
ype verison 0 n 0.
Vector<EntryVersion1> mEntryVersion1; ///< vector of edit list entries of t Vector<EntryVersion1> mEntryVersion1; ///< Edit list entries of type versio
ype verison 1 n 1.
}; };
/** @brief Implementation of getEntry(). Returns the entry in the Edit List at g iven 0-based index. /** @brief Implementation of getEntry(). Returns the entry in the Edit List at g iven 0-based index.
* @details Template is used in order to support entries of type version 0 and version 1. * @details Template is used in order to support entries of type version 0 and version 1.
* @returns Edit List Entry at 0-based index [index] * @returns Edit List Entry at 0-based index [index]
* @throws Run-time Error if a wrong version edit list entry is attempted * @throws Run-time Error if a wrong version edit list entry is attempted
*/ */
template <typename T> template <typename T>
const T& EditListBox::getEntry(const std::uint32_t index) const const T& EditListBox::getEntry(const std::uint32_t index) const
{ {
 End of changes. 2 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)