Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

void _ipu_dp_set_csc_coefficients ( ipu_channel_t  channel,
int32_t  param[][3] 
)

This function sets the colorspace for of dp. modes.

Parameters:
channel Input parameter for the logical channel ID.
param If it's not NULL, update the csc table with this parameter.
Returns:
N/A

Definition at line 857 of file ipu_disp.c.

{
      int dp;
      struct dp_csc_param_t dp_csc_param;

      if (channel == MEM_FG_SYNC)
            dp = DP_SYNC;
      else if (channel == MEM_BG_SYNC)
            dp = DP_SYNC;
      else if (channel == MEM_BG_ASYNC0)
            dp = DP_ASYNC0;
      else
            return;

      dp_csc_param.mode = -1;
      dp_csc_param.coeff = param;
      __ipu_dp_csc_setup(dp, dp_csc_param, true);
}


Generated by  Doxygen 1.6.0   Back to index