"Fossies" - the Fresh Open Source Software Archive  

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

avcdecoderconfigrecord.cpp  (heif-3.6.0):avcdecoderconfigrecord.cpp  (heif-3.6.1)
skipping to change at line 40 skipping to change at line 40
, mBitDepthLumaMinus8(0) , mBitDepthLumaMinus8(0)
, mBitDepthChromaMinus8(0) , mBitDepthChromaMinus8(0)
, mPicWidth(0) , mPicWidth(0)
, mPicHeight(0) , mPicHeight(0)
, mNalArray() , mNalArray()
{ {
} }
bool AvcDecoderConfigurationRecord::makeConfigFromSPS(const Vector<uint8_t>& sps ) bool AvcDecoderConfigurationRecord::makeConfigFromSPS(const Vector<uint8_t>& sps )
{ {
const Vector<uint8_t> rbspData = convertByteStreamToRBSP(sps); Vector<uint8_t> rbspData;
if (convertByteStreamToRBSP(sps, rbspData) == false)
{
return false;
}
BitStream bitstr(rbspData); BitStream bitstr(rbspData);
SPSConfigValues spsConfig; SPSConfigValues spsConfig;
// ignore the first byte indicating type // ignore the first byte indicating type
bitstr.read8Bits(); bitstr.read8Bits();
if (!parseSPS(bitstr, spsConfig)) if (!parseSPS(bitstr, spsConfig))
{ {
return false; return false;
} }
mAvcProfileIndication = spsConfig.profile_idc; mAvcProfileIndication = spsConfig.profile_idc;
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

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