From ba67e5506bd93eef064d72883ff94dbadee14082 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 5 Aug 2017 00:03:44 +0200 Subject: Add support for skipping conversion to CIEXYZ (not complete) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some tools are colour space agnostic or even encoding agnostic, by skipping conversion to CIEXYZ when these tools are used, the rendering time can be significantly reduced. The video can also be split horizontally and vertically, and latted merged back, so it is not necessary to convert the entire video if only parts of it actually need it. Because some tools are less agnostic than other tools, partial conversion to CIEXYZ is also added. blind-convert must be updated, and all tools most be test Signed-off-by: Mattias Andrée --- src/blind-apply-palette.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/blind-apply-palette.c') diff --git a/src/blind-apply-palette.c b/src/blind-apply-palette.c index ad5fb4b..6b26736 100644 --- a/src/blind-apply-palette.c +++ b/src/blind-apply-palette.c @@ -35,6 +35,7 @@ main(int argc, char *argv[]) eopen_stream(&palette, argv[0]); SELECT_PROCESS_FUNCTION(&stream); + CHECK_N_CHAN(&stream, 4, 4); if (strcmp(stream.pixfmt, palette.pixfmt)) eprintf("videos use incompatible pixel formats\n"); -- cgit v1.2.3-70-g09d2