From f9857231d788d6f0b44ef21b3a87079937abef5b Mon Sep 17 00:00:00 2001 From: Elian Dib <elian.dib@inria.fr> Date: Fri, 9 Aug 2019 19:45:16 +0200 Subject: [PATCH] Cleaned a bit --- convert.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/convert.m b/convert.m index 67a49df..902125f 100644 --- a/convert.m +++ b/convert.m @@ -2,12 +2,12 @@ function frames = convert(frames,varargin) %CONVERT Summary of this function goes here % Detailed explanation goes here -[~,defBitDepth] = utils.precision(class(frames{1})); +[~,bitDepth] = utils.precision(class(frames{1})); p = inputParser; p.StructExpand = true; p.KeepUnmatched = true; p.addOptional('outColSpace' , 'ycbcr' , @ischar); p.addOptional( 'inColSpace' , 'rgb' , @ischar); -p.addOptional( 'bitDepth' , defBitDepth , @isnumeric); +p.addOptional( 'bitDepth' , bitDepth , @isnumeric); p.parse(varargin{:}); inColSpace = p.Results.inColSpace; -- GitLab