Inheritance: TraceFilter
 public void Update()
 {
     m_SourceFilter = new SourceFilter();
     var rgbInput = m_SourceFilter.Transform(x => new RgbFilter(x));
     m_Filter = CreateSafeFilter(Chain, rgbInput)
         .SetSize(Renderer.TargetSize)
         .Compile();
     m_Filter.Initialize();
 }
        private IResizeableFilter MakeInitialFilter()
        {
            m_SourceFilter = new SourceFilter();

            if (Renderer.InputFormat.IsRgb())
                return m_SourceFilter;

            if (Renderer.ChromaSize.Width < Renderer.LumaSize.Width || Renderer.ChromaSize.Height < Renderer.LumaSize.Height)
                return new ChromaFilter(new YSourceFilter(), new ChromaSourceFilter(), chromaScaler: new InternalChromaScaler(m_SourceFilter));

            return m_SourceFilter;
        }