From 9fb445288c5918b4204592cc8fb1adb134f40fe8 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Wed, 5 Jun 2019 00:11:42 +0100 Subject: [PATCH] Change function outputs --- lib/CalypFrame.cpp | 4 ++-- lib/CalypFrame.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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