Fix TIYUV420PackSemiPlanor color converter to use src crop

TIYUV420PackSemiPlanor color conversion routine is updated to
offset src_y using the given crop parameters. Previously it was
assuming that the mBits were already offset but at least in the
latest code base it is not, so it needs to take into account
the src crop appropriately.

bug:70844660

Change-Id: I206925ba254cf547241ff30c6211b4dc94c9cac7
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
diff --git a/media/libstagefright/colorconversion/ColorConverter.cpp b/media/libstagefright/colorconversion/ColorConverter.cpp
index 0982006..a0654c7 100644
--- a/media/libstagefright/colorconversion/ColorConverter.cpp
+++ b/media/libstagefright/colorconversion/ColorConverter.cpp
@@ -577,7 +577,8 @@
     uint16_t *dst_ptr = (uint16_t *)dst.mBits
         + dst.mCropTop * dst.mWidth + dst.mCropLeft;
 
-    const uint8_t *src_y = (const uint8_t *)src.mBits;
+    const uint8_t *src_y =
+        (const uint8_t *)src.mBits + src.mCropTop * src.mWidth + src.mCropLeft;
 
     const uint8_t *src_u =
         (const uint8_t *)src_y + src.mWidth * (src.mHeight - src.mCropTop / 2);