media: mfc: DRV4.0: use the crop information for QoS
authorAyoung Sim <a.sim@samsung.com>
Tue, 17 Apr 2018 10:22:54 +0000 (19:22 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:22 +0000 (20:22 +0300)
commit7925249eb46f0782251dc9ab4c77568dbfe85860
tree42b2fac256dedb8744eb2d50256171c120611d20
parentec916c03275c8a5444c3f479bb08d2e3fce142e9
media: mfc: DRV4.0: use the crop information for QoS

When driver calculates the size for QoS control,
there is a difference between decoder and encoder.
- encoder: cropped width, cropped height
- decoder: full image width, full image height

So in case of decoder, crop_width and img_width have same value.

Change-Id: I92acf2448b8541999889fbfb4bd1cacf261272d4
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_common.h
drivers/media/platform/exynos/mfc/s5p_mfc_irq.c
drivers/media/platform/exynos/mfc/s5p_mfc_qos.c