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

Commit 7757d6c1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: skip scaling check for decoder"

parents 7f6d37b1 10ba1ac5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/jiffies.h>
@@ -5574,8 +5574,8 @@ int msm_vidc_check_scaling_supported(struct msm_vidc_inst *inst)
	u32 input_height, input_width, output_height, output_width;
	struct v4l2_format *f;

	if (is_grid_session(inst)) {
		s_vpr_h(inst->sid, "Skip scaling check for HEIC\n");
	if (is_grid_session(inst) || is_decode_session(inst)) {
		s_vpr_h(inst->sid, "Skip scaling check\n");
		return 0;
	}