android: jpeg: Add JEA implementation

This patch adds JEA implementation to replace libjpeg in CrOS platform,
where hardware accelerator is available.

Signed-off-by: Harvey Yang <chenghaoyang@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Harvey Yang 2023-02-08 03:33:19 +00:00 committed by Laurent Pinchart
parent 8702b9dac7
commit 2403f5141f
6 changed files with 116 additions and 1 deletions

View file

@ -8,9 +8,11 @@
#include <cros-camera/cros_camera_hal.h>
#include "../camera_hal_manager.h"
#include "../cros_mojo_token.h"
static void set_up([[maybe_unused]] cros::CameraMojoChannelManagerToken *token)
static void set_up(cros::CameraMojoChannelManagerToken *token)
{
gCrosMojoToken = token;
}
static void tear_down()