First steps to extend dynamic profiles for Pixel Shift and HDR images
This commit is contained in:
@@ -692,6 +692,10 @@ bool FrameData::getHDR () const
|
||||
{
|
||||
return isHDR;
|
||||
}
|
||||
std::string FrameData::getRawType () const
|
||||
{
|
||||
return isPixelShift ? "PS" : isHDR ? "HDR" : "STD";
|
||||
}
|
||||
IIOSampleFormat FrameData::getSampleFormat () const
|
||||
{
|
||||
return sampleFormat;
|
||||
@@ -808,6 +812,11 @@ bool FramesData::getHDR (unsigned int frame) const
|
||||
return frames.empty() || frame >= frames.size() ? false : frames.at(0)->getHDR ();
|
||||
}
|
||||
|
||||
std::string FramesData::getRawType (unsigned int frame) const
|
||||
{
|
||||
return frames.empty() || frame >= frames.size() ? "STD" : frames.at(0)->getRawType();
|
||||
}
|
||||
|
||||
IIOSampleFormat FramesData::getSampleFormat (unsigned int frame) const
|
||||
{
|
||||
return frames.empty() || frame >= frames.size() ? IIOSF_UNKNOWN : frames.at(frame)->getSampleFormat ();
|
||||
|
Reference in New Issue
Block a user