From fc1c3397097885d16034341c7d312e3399f0d06f Mon Sep 17 00:00:00 2001 From: ronag Date: Thu, 9 Feb 2012 22:21:30 +0000 Subject: [PATCH] git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.1.0@2325 362d55ac-95cf-4e76-9f9a-cbaa9c17b72d --- accelerator/cpu/image/image_mixer.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/accelerator/cpu/image/image_mixer.cpp b/accelerator/cpu/image/image_mixer.cpp index 81cf71bb7..3a198f692 100644 --- a/accelerator/cpu/image/image_mixer.cpp +++ b/accelerator/cpu/image/image_mixer.cpp @@ -152,6 +152,14 @@ private: auto source = item.buffers.at(0)->data(); + // TODO: Blend using divide and conquer instead of accumulation. + // TODO: Add support for fill translations. + // TODO: Add support for mask translations. + // TODO: Add support for opacity. + // TODO: Add support for mix transition. + // TODO: Add support for push transition. + // TODO: Add support for wipe transition. + // TODO: Add support for slide transition. tbb::parallel_for(start, height, step, [&](int y) { cpu::blend(dest + y*width*4, source + y*width*4, width*4); @@ -161,6 +169,7 @@ private: void convert(std::vector& items, int width, int height) { + // TODO: Don't convert buffers multiple times just because they are in different items due to e.g. interlacing. tbb::parallel_for_each(items.begin(), items.end(), [&](item& item) { if(item.pix_desc.format == core::pixel_format::bgra && -- 2.39.5