コード例 #1
0
void dce80_opp_program_bit_depth_reduction(
	struct output_pixel_processor *opp,
	const struct bit_depth_reduction_params *params)
{
	struct dce80_opp *opp80 = TO_DCE80_OPP(opp);

	set_truncation(opp80, params);
	set_spatial_dither(opp80, params);
	set_temporal_dither(opp80, params);
}
コード例 #2
0
ファイル: dcn10_opp.c プロジェクト: MaxKellermann/linux
static void oppn10_program_bit_depth_reduction(
	struct output_pixel_processor *opp,
	const struct bit_depth_reduction_params *params)
{
	struct dcn10_opp *oppn10 = TO_DCN10_OPP(opp);

	set_truncation(oppn10, params);
	set_spatial_dither(oppn10, params);
	/* TODO
	 * set_temporal_dither(oppn10, params);
	 */
}