
This change introduces dce api to the encoder component to configure supported compression hw. This allows encoder to remain independent of the compression type and specification supported by the hw. Change-Id: I6bc35289495b05f57a83323cbab1ea14e9e15db0 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
32 rivejä
896 B
C
32 rivejä
896 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) 2016-2017, 2020 The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __SDE_ENCODER_DCE_H__
|
|
#define __SDE_ENCODER_DCE_H__
|
|
|
|
#include "sde_encoder.h"
|
|
|
|
/**
|
|
* sde_encoder_dce_disable : function to disable compression
|
|
* @sde_enc: pointer to virtual encoder structure
|
|
*/
|
|
void sde_encoder_dce_disable(struct sde_encoder_virt *sde_enc);
|
|
|
|
/**
|
|
* sde_encoder_dce_setup : function to configure compression block
|
|
* @sde_enc: pointer to virtual encoder structure
|
|
* @params: pointer to kickoff params
|
|
*/
|
|
int sde_encoder_dce_setup(struct sde_encoder_virt *sde_enc,
|
|
struct sde_encoder_kickoff_params *params);
|
|
|
|
/**
|
|
* sde_encoder_dce_flush :function to flush the compression configuration
|
|
* @sde_enc: pointer to virtual encoder structure
|
|
*/
|
|
void sde_encoder_dce_flush(struct sde_encoder_virt *sde_enc);
|
|
|
|
#endif /* __SDE_ENCODER_DCE_H__ */
|