Added the brightness composite routine.
Change-Id: Ib81a032a07b8bae21c11bb63fc6cc94f7762466d
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
#include "vigs_surface.h"
#include "vigs_utils.h"
#include "work_queue.h"
+#include "hw/pci/maru_brightness.h"
struct vigs_server_work_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,