"Fossies" - the Fresh Open Source Software Archive  

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

nalutil.hpp  (heif-3.6.0):nalutil.hpp  (heif-3.6.1)
skipping to change at line 24 skipping to change at line 24
#ifndef NALUTIL_HPP #ifndef NALUTIL_HPP
#define NALUTIL_HPP #define NALUTIL_HPP
#include "customallocator.hpp" #include "customallocator.hpp"
/** /**
* @brief Returns the number of bytes in start code * @brief Returns the number of bytes in start code
* @details Start code consists of any number of zero bytes (0x00) followed by a * @details Start code consists of any number of zero bytes (0x00) followed by a
* one (0x01) byte. * one (0x01) byte.
* @param srcData NAL data to search from * @param srcData NAL data to search from
* @return Number of bytes in start code * @return Number of bytes in start code. 0 if a valid start code is not found.
*/ */
unsigned int findStartCodeLen(const Vector<uint8_t> &data); unsigned int findStartCodeLen(const Vector<uint8_t>& data);
/** /**
* Convert byte stream to Raw Byte Sequence Payload (RBSP) by removing emulation * Convert byte stream to Raw Byte Sequence Payload (RBSP) by removing emulation
* prevention bytes (0x03). * prevention bytes (0x03).
* Possible start code will be stripped from beginning. * Possible start code will be stripped from beginning.
* @param byteStr ByteStream to convert. * @param byteStr ByteStream to convert.
* @return Data as RBSP without emulation prevention bytes and start code. * @param output Data as RBSP without emulation prevention bytes and start code.
* @return False if NAL unit header was not found. True in success.
*/ */
Vector<uint8_t> convertByteStreamToRBSP(const Vector<uint8_t> &byteStr); bool convertByteStreamToRBSP(const Vector<uint8_t>& byteStr, Vector<uint8_t>& ou tput);
#endif // NALUTIL_HPP #endif // NALUTIL_HPP
 End of changes. 4 change blocks. 
4 lines changed or deleted 5 lines changed or added

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