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

Commit 97748fe6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Convert csc custom matrix enable bool to hfi mask"

parents 148e1ec0 d6aa1acd
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1632,7 +1632,11 @@ int create_pkt_cmd_session_set_property(
			&pkt->rg_property_data[1];

		hfi->input_color_primaries = hal->input_color_primaries;
		hfi->custom_matrix_enabled = hal->custom_matrix_enabled;
		if (hal->custom_matrix_enabled)
			/* Bit Mask to enable all custom values */
			hfi->custom_matrix_enabled = 0x7;
		else
			hfi->custom_matrix_enabled = 0x0;
		memcpy(hfi->csc_matrix, hal->csc_matrix,
				sizeof(hfi->csc_matrix));
		memcpy(hfi->csc_bias, hal->csc_bias, sizeof(hfi->csc_bias));