[MM][CAPI] Copy the YUV data from TBM surface by each plane
authorvm.arjun <vm.arjun@samsung.com>
Fri, 27 Nov 2015 14:15:10 +0000 (19:45 +0530)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
commit3e887ed85c616f380d5c0eb5d7000d4351106bcd
treeb7a9905f3d57f8126ec4c209cfe20037b493a2f6
parent0dddd1c2459117e8cc14e6402d7539cc33432aff
[MM][CAPI] Copy the YUV data from TBM surface by each plane

Now copying YUV plane to shared memory uses correct start point of
each plane's pointer using libyuv function.
Before this change, there was segmentation fault because it was trying to
access complete YUV size where plane[0] was allocated of only Y size

Reference: http://165.213.202.130/gerrit/#/c/88539/

Reviewed by: msu.koo, sm.venugopal, sns.park

Change-Id: Id8b4e7ae3b267cb3b5d103a6ecb4d63ae6fc8d9a
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
Signed-off-by: vm.arjun <vm.arjun@samsung.com>
tizen_src/chromium_impl/media/base/tizen/media_player_bridge_capi.cc
tizen_src/chromium_impl/media/base/tizen/media_source_player_capi.cc