Skip to content
Snippets Groups Projects
Commit fb04e222 authored by Yang Wang's avatar Yang Wang
Browse files

fix compiling for 360 video

parent 77ed09f4
No related branches found
No related tags found
No related merge requests found
......@@ -1085,7 +1085,7 @@ bool VideoIOYuv::read(PelUnitBuf &pic, PelUnitBuf &picOrg, const InputColourSpac
const bool processComponent = (size_t)compID < picOrg.bufs.size();
Pel* const dst = processComponent ? picOrg.get(compID).bufAt(0,0) : nullptr;
#if EXTENSION_360_VIDEO
const uint32_t stride444 = picOrg.get(compID).stride;
const uint32_t stride444 = (uint32_t)picOrg.get(compID).stride;
#endif
if (!readPlane(dst, m_cHandle, is16bit, stride444, width444, height444, pad_h444, pad_v444, compID,
picOrg.chromaFormat, format, m_fileBitdepth[chType]))
......@@ -1111,7 +1111,7 @@ bool VideoIOYuv::read(PelUnitBuf &pic, PelUnitBuf &picOrg, const InputColourSpac
}
#if EXTENSION_360_VIDEO
if (pic.chromaFormat != NUM_CHROMA_FORMAT)
if (pic.chromaFormat != ChromaFormat::NUM)
ColourSpaceConvert(picOrg, pic, ipcsc, true);
#else
ColourSpaceConvert( picOrg, pic, ipcsc, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment