"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/common/hevcdecoderconfigrecord.hpp" between
heif-3.6.0.tar.gz and heif-3.6.1.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).

hevcdecoderconfigrecord.hpp  (heif-3.6.0):hevcdecoderconfigrecord.hpp  (heif-3.6.1)
skipping to change at line 37 skipping to change at line 37
*/ */
class HevcDecoderConfigurationRecord : public DecoderConfigurationRecord class HevcDecoderConfigurationRecord : public DecoderConfigurationRecord
{ {
public: public:
HevcDecoderConfigurationRecord(); HevcDecoderConfigurationRecord();
~HevcDecoderConfigurationRecord() override = default; ~HevcDecoderConfigurationRecord() override = default;
/** /**
* Read configuration parameters from a SPS NAL unit. * Read configuration parameters from a SPS NAL unit.
* @param sps Sequence Parameter Set data * @param sps Sequence Parameter Set data
* @return True if success, false if there was no input data or processing S PS failed.
*/ */
void makeConfigFromSPS(const Vector<std::uint8_t> &sps); bool makeConfigFromSPS(const Vector<std::uint8_t>& sps);
/** /**
* Add NAL unit to the NAL unit array * Add NAL unit to the NAL unit array
* @param sps Sequence Parameter Set data * @param sps Sequence Parameter Set data
* @param nalUnitType Type of the NAL unit * @param nalUnitType Type of the NAL unit
* @param arrayCompleteness TBD * @param arrayCompleteness TBD
*/ */
void addNalUnit(const Vector<std::uint8_t> &sps, HevcNalUnitType nalUnitType , bool arrayCompleteness); void addNalUnit(const Vector<std::uint8_t>& sps, HevcNalUnitType nalUnitType , bool arrayCompleteness);
/** /**
* Serialize decoder configuration to ISOBMFF::BitStream. * Serialize decoder configuration to ISOBMFF::BitStream.
* @param [in,out] bitstr Decoder configuration appended is appended to * @param [in,out] bitstr Decoder configuration appended is appended to
* bitstr. * bitstr.
*/ */
void writeDecConfigRecord(ISOBMFF::BitStream &bitstr) const; void writeDecConfigRecord(ISOBMFF::BitStream& bitstr) const;
/** /**
* Deserialize HevcDecoderConfigurationRecord from ISOBMFF::BitStream * Deserialize HevcDecoderConfigurationRecord from ISOBMFF::BitStream
* @param [in,out] bitstr ISOBMFF::BitStream including decoder configuration * @param [in,out] bitstr ISOBMFF::BitStream including decoder configuration
* data. ISOBMFF::BitStream position is modified accordingly. * data. ISOBMFF::BitStream position is modified accordingly.
*/ */
void parseConfig(ISOBMFF::BitStream &bitstr); void parseConfig(ISOBMFF::BitStream& bitstr);
/** /**
* @brief Append one parameter set of type nalUnitType. * @brief Append one parameter set of type nalUnitType.
* @details If NAL unit of type nalUnitType is not found, nothing is appende d. * @details If NAL unit of type nalUnitType is not found, nothing is appende d.
* @param [in,out] byteStream Vector where the parameter set is appended * @param [in,out] byteStream Vector where the parameter set is appended
* @param nalUnitType NAL unit type to append * @param nalUnitType NAL unit type to append
*/ */
void getOneParameterSet(Vector<std::uint8_t> &byteStream, HevcNalUnitType na lUnitType) const; void getOneParameterSet(Vector<std::uint8_t>& byteStream, HevcNalUnitType na lUnitType) const;
/** /**
* @pre makeConfigFromSPS has been called successfully. * @pre makeConfigFromSPS has been called successfully.
* @return Picture width in pixels. * @return Picture width in pixels.
*/ */
std::uint16_t getPicWidth() const; std::uint16_t getPicWidth() const;
/** /**
* @pre makeConfigFromSPS has been called successfully. * @pre makeConfigFromSPS has been called successfully.
* @return Picture height in pixels. * @return Picture height in pixels.
*/ */
std::uint16_t getPicHeight() const; std::uint16_t getPicHeight() const;
/** /**
* @pre makeConfigFromSPS or parseConfig has been called successfully. * @pre makeConfigFromSPS or parseConfig has been called successfully.
* @return Average frame rate * @return Average frame rate
*/ */
std::uint16_t getAvgFrameRate() const; std::uint16_t getAvgFrameRate() const;
/* @brief Returns configuration parameter map for this record */ /* @brief Returns configuration parameter map for this record */
void getConfigurationMap(ConfigurationMap &aMap) const override; void getConfigurationMap(ConfigurationMap& aMap) const override;
/** /**
* @return Returns chroma_format_idc value. * @return Returns chroma_format_idc value.
*/ */
std::uint8_t getChromaFormat() const; std::uint8_t getChromaFormat() const;
/** /**
* @return Return general contraint flags. * @return Return general contraint flags.
*/ */
Vector<std::uint8_t> getGeneralConstraintFlags() const; Vector<std::uint8_t> getGeneralConstraintFlags() const;
 End of changes. 7 change blocks. 
6 lines changed or deleted 7 lines changed or added

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