Improve code readability and bump to 1.0.0 57/320557/4
authorJiyong <jiyong.min@samsung.com>
Wed, 5 Mar 2025 00:12:33 +0000 (09:12 +0900)
committerJiyong <jiyong.min@samsung.com>
Wed, 5 Mar 2025 00:17:54 +0000 (09:17 +0900)
Change-Id: Ia86e72f21477d5b75d0420ebb58eef31fe176854

gstcs/mm_util_gstcs.c
packaging/libmm-imgp-gstcs.spec

index 85daa6b62135f0036e497565ea6fe6fc875eb84c..ca7eb81bc9d508ca5779d496519f8a4c4f640b17 100644 (file)
@@ -400,9 +400,10 @@ static int _mm_push_buffer_into_pipeline_new(unsigned char *src, gstcs_data_s *
 
        for (y = 0; y < height; y++) {
                guint8 *pLine = (guint8 *) &(src[src_row * y]);
+               guint8 stride_row_color = pLine[src_row - 1];
+
                for (i = 0; i < src_row; i++)
                        data[y * stride_row + i] = pLine[i];
-               guint8 stride_row_color = pLine[i - 1];
                for (i = src_row; i < stride_row; i++)
                        data[y * stride_row + i] = stride_row_color;
        }
index 2acf733bc93fb0186fab11eba8d33f4f166b1031..a0b95e36a996906a8c3becd869c0b4fdcf50e897 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-imgp-gstcs
 Summary:    Multimedia Framework Utility Library
-Version:    0.29
+Version:    1.0.0
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0