msm: camera: cre: Add CRE driver changes
Add new camera driver Camera Reformat Engine (CRE). CRs-Fixed: 2893978 Change-Id: Ia39b222493393bf7bb72525c86f0060ca0dc77c2 Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
4aa9286fd7
commit
23762a67ed
@@ -39,6 +39,9 @@
|
||||
#include "jpeg_enc_core.h"
|
||||
#include "cam_jpeg_dev.h"
|
||||
|
||||
#include "cre_core.h"
|
||||
#include "cam_cre_dev.h"
|
||||
|
||||
#include "cam_fd_hw_intf.h"
|
||||
#include "cam_fd_dev.h"
|
||||
|
||||
@@ -131,6 +134,11 @@ static const struct camera_submodule_component camera_ope[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static const struct camera_submodule_component camera_cre[] = {
|
||||
#ifdef CONFIG_SPECTRA_CRE
|
||||
{&cam_cre_init_module, &cam_cre_exit_module},
|
||||
#endif
|
||||
};
|
||||
static const struct camera_submodule_component camera_jpeg[] = {
|
||||
#ifdef CONFIG_SPECTRA_JPEG
|
||||
{&cam_jpeg_enc_init_module, &cam_jpeg_enc_exit_module},
|
||||
@@ -207,6 +215,11 @@ static const struct camera_submodule submodule_table[] = {
|
||||
.num_component = ARRAY_SIZE(camera_lrme),
|
||||
.component = camera_lrme,
|
||||
},
|
||||
{
|
||||
.name = "Camera CRE",
|
||||
.num_component = ARRAY_SIZE(camera_cre),
|
||||
.component = camera_cre,
|
||||
},
|
||||
{
|
||||
.name = "Camera CUSTOM",
|
||||
.num_component = ARRAY_SIZE(camera_custom),
|
||||
|
Reference in New Issue
Block a user