video: driver: Enable flip and rotation
Enable encoder flip and rotation preprocessing features. Change-Id: Icb0448c2d09fbe9504e3f58701cd2653dc4559b0 Signed-off-by: Mihir Ganu <mganu@codeaurora.org> Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
This commit is contained in:

committed by
Akshata Sahukar

parent
f594a33c13
commit
cf3fd457b3
@@ -65,6 +65,14 @@ static inline is_output_meta_buffer(enum msm_vidc_buffer_type buffer_type)
|
||||
return buffer_type == MSM_VIDC_BUF_OUTPUT_META;
|
||||
}
|
||||
|
||||
static inline is_scaling_enabled(struct msm_vidc_inst *inst)
|
||||
{
|
||||
return inst->crop.left != inst->compose.left ||
|
||||
inst->crop.top != inst->compose.top ||
|
||||
inst->crop.width != inst->compose.width ||
|
||||
inst->crop.height != inst->compose.height;
|
||||
}
|
||||
|
||||
static inline is_internal_buffer(enum msm_vidc_buffer_type buffer_type)
|
||||
{
|
||||
return buffer_type == MSM_VIDC_BUF_BIN ||
|
||||
|
Reference in New Issue
Block a user