Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd5a2f0d authored by George Shen's avatar George Shen
Browse files

msm: cvp: enable ICA of DME feature



Enable ICA (Independent Component Analysis) property of DME
(Descriptor-based Motion Estimate) feature.Increased size
of DME configuration packet to allow user space add ICA
properties into the HFI (Host Firmware Interface) packet.

Change-Id: I1ae87da8bf5589f238e2bfc17f3709f663fd3315
Signed-off-by: default avatarGeorge Shen <sqiao@codeaurora.org>
parent a4c24b35
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -1097,7 +1097,6 @@ struct hfi_msg_session_cvp_dme_packet_type {
	u32 skip_mv_calc;
	u32 src_buf_addr;
	u32 src_buf_size;
	u32 nSrcBuffer_size;
	u32 src_frame_ctx_buf_addr;
	u32 src_frame_ctx_buf_size;
	u32 ref_buf_addr;
@@ -1111,16 +1110,6 @@ struct hfi_msg_session_cvp_dme_packet_type {
	u32 proc_frame_width;
	u32 proc_frame_height;
	u32 transform_confidence;
	u32 frame_sum_gradient;
	u32 frame_sum_square_gradient1;
	u32 frame_sum_square_gradient2;
	u16 n_luma_hist[8];
	s32 mvx_sum;
	s32 mvy_Sum;
	u32 num_mvs;
	s32 final_transform[9];
	s32 pad;
	s64 transform[9];
};

struct hfi_msg_session_cvp_persist_packet_type {
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ struct msm_cvp_client_data {
#define CVP_DFS_FRAME_CMD_SIZE 16
#define CVP_DFS_FRAME_BUFFERS_OFFSET 8

#define CVP_DME_CONFIG_CMD_SIZE   181
#define CVP_DME_CONFIG_CMD_SIZE   194
#define CVP_DME_FRAME_CMD_SIZE 28
#define CVP_DME_FRAME_BUFFERS_OFFSET 12
#define CVP_DME_BUF_NUM	8