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)
committerSunyoung Kang <sy0816.kang@samsung.com>
Tue, 29 May 2018 06:59:18 +0000 (15:59 +0900)
commit90315292408ceede1703d2398eac7406413a0856
tree61adda036d5317d8bb2980c6aa37e54708f0020f
parent4d0a5d4bfeee3a097987aa083b1d0bb274651e42
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