diff --git a/lib/CalypFrame.cpp b/lib/CalypFrame.cpp index 3473dbb..fddfd54 100644 --- a/lib/CalypFrame.cpp +++ b/lib/CalypFrame.cpp @@ -412,12 +412,12 @@ ClpULong CalypFrame::getTotalNumberOfPixels() const return numberPixels; } -unsigned char CalypFrame::getChromaWidthRatio() const +unsigned CalypFrame::getChromaWidthRatio() const { return d->m_pcPelFormat->log2ChromaWidth; } -unsigned char CalypFrame::getChromaHeightRatio() const +unsigned CalypFrame::getChromaHeightRatio() const { return d->m_pcPelFormat->log2ChromaHeight; } diff --git a/lib/CalypFrame.h b/lib/CalypFrame.h index f83dc5d..7554cc6 100644 --- a/lib/CalypFrame.h +++ b/lib/CalypFrame.h @@ -214,13 +214,13 @@ public: * Get chroma width ratio * @return ratio multiple of 2 */ - unsigned char getChromaWidthRatio() const; + unsigned getChromaWidthRatio() const; /** * Get chroma height ratio * @return ratio multiple of 2 */ - unsigned char getChromaHeightRatio() const; + unsigned getChromaHeightRatio() const; /** * Get number of pixels in each chroma channel