mv_3d: bug fix 54/291554/1
authorsangho park <sangho.g.park@samsung.com>
Tue, 18 Apr 2023 07:58:23 +0000 (16:58 +0900)
committersangho park <sangho.g.park@samsung.com>
Tue, 18 Apr 2023 08:01:11 +0000 (17:01 +0900)
[Version] : 0.27.14
[Issue type] : bug fix

fix bug for no-stride Y800 image

Change-Id: I6c6671af36303fbf2134b3192cc77d244bbb983a
Signed-off-by: sangho park <sangho.g.park@samsung.com>
mv_3d/3d/src/Mv3d.cpp
mv_common/src/MediaSource.cpp
packaging/capi-media-vision.spec

index 07490ea..6dd5437 100644 (file)
@@ -211,6 +211,7 @@ void Mv3d::GetBufferFromSource(mv_source_h source, unsigned char *&buffer, unsig
        case MEDIA_VISION_COLORSPACE_I420:
        case MEDIA_VISION_COLORSPACE_NV12:
        case MEDIA_VISION_COLORSPACE_NV21:
+       case MEDIA_VISION_COLORSPACE_Y800:
                type = DFS_DATA_TYPE_UINT8C1;
                break;
 
index 1fa5c4a..ac1abf0 100644 (file)
@@ -127,6 +127,7 @@ bool MediaSource::fill(const unsigned char *buffer, unsigned int bufferSize, uns
                 width, height, this);
        _width = width;
        _height = height;
+       plane.bytePerLine = _width;
 
        LOGD("Assign new colorspace (%i) of the internal buffer image for "
                 "the media source %p",
index 5a06a92..1a3c8cc 100644 (file)
@@ -1,6 +1,6 @@
 Name:        capi-media-vision
 Summary:     Media Vision library for Tizen Native API
-Version:     0.27.13
+Version:     0.27.14
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0 and BSD-3-Clause