From: jinhyung.jo Date: Thu, 16 Apr 2015 03:08:47 +0000 (+0900) Subject: VIGS: Modified the screen capture function X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~503^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=868ae58bf6c8b96d2c6ec7b95c3d652ba7fa78e3;p=sdk%2Femulator%2Fqemu.git VIGS: Modified the screen capture function Added the brightness composite routine. Change-Id: Ib81a032a07b8bae21c11bb63fc6cc94f7762466d Signed-off-by: Jinhyung Jo --- diff --git a/hw/vigs/vigs_server.c b/hw/vigs/vigs_server.c index 13575b538c..3da956a2b6 100644 --- a/hw/vigs/vigs_server.c +++ b/hw/vigs/vigs_server.c @@ -34,6 +34,7 @@ #include "vigs_surface.h" #include "vigs_utils.h" #include "work_queue.h" +#include "hw/pci/maru_brightness.h" struct vigs_server_work_item { @@ -458,7 +459,9 @@ static void vigs_server_capture_work(struct work_queue_item *wq_item) if (pixels) { captured = server->capture(server, root_sfc, pixels); - /* TODO: brightness composite to pixels */ + composite_brightness_image_to_pixel(pixels, + root_sfc->ws_sfc->width, + root_sfc->ws_sfc->height); } server->capture_ops->process_captured(captured,