platform/upstream/nnstreamer-edge.git
2 years ago[Coverity] Fix coverity issue.
gichan [Mon, 4 Jul 2022 07:57:04 +0000 (16:57 +0900)]
[Coverity] Fix coverity issue.

 - Initialize command before using to avoid tained data.
 - Check return value whether it is negative or not.

Signed-off-by: gichan <gichan2.jang@samsung.com>
2 years ago[Style] Add clang format file
gichan [Mon, 4 Jul 2022 02:21:51 +0000 (11:21 +0900)]
[Style] Add clang format file

 Add clang format file
 - Copied from nnstreamer repo

Signed-off-by: gichan <gichan2.jang@samsung.com>
2 years ago[Edge] size of data handle
Jaeyun [Fri, 1 Jul 2022 08:58:37 +0000 (17:58 +0900)]
[Edge] size of data handle

Set arg - base type of edge-data handle.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
2 years ago[Edge] version info
Jaeyun [Fri, 1 Jul 2022 09:14:27 +0000 (18:14 +0900)]
[Edge] version info

Update version to 0.1.0 and add note about version information.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
2 years ago[Pkg] Add LICENSE file to rpm package
Sangjung Woo [Fri, 1 Jul 2022 10:27:26 +0000 (19:27 +0900)]
[Pkg] Add LICENSE file to rpm package

This patch adds the omitted LICENSE to the rpm package. This file is
mandatory for Tizen.org.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2 years ago[Build] fix build error on tizen
Jaeyun [Fri, 1 Jul 2022 09:27:28 +0000 (18:27 +0900)]
[Build] fix build error on tizen

Fix build error, temporal block the unittest.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
2 years ago[Test] update tcm config
Jaeyun [Fri, 1 Jul 2022 05:37:07 +0000 (14:37 +0900)]
[Test] update tcm config

Change tcc name to nnstreamer-edge.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
2 years ago[Debian] Add missing package
gichan [Fri, 1 Jul 2022 05:07:16 +0000 (14:07 +0900)]
[Debian] Add missing package

Add missing package for debian build.
 - Remove glib package later.

Signed-off-by: gichan <gichan2.jang@samsung.com>
2 years ago[Edge] remove previous pkg
Jaeyun [Fri, 1 Jul 2022 02:24:08 +0000 (11:24 +0900)]
[Edge] remove previous pkg

edge-sensor pkg is to provide a library for publishing data using mqtt.
Now we implemented new interfaces, so remove previous pkg.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
2 years ago[build] Check glib version to set proper build flag
Yongjoo Ahn [Fri, 1 Jul 2022 04:23:11 +0000 (13:23 +0900)]
[build] Check glib version to set proper build flag

- Set GLIB_USE_G_MEMDUP2 when the version is >= 2.68

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
2 years ago[Test] temporal block accepted/tizen/unified/20220701.055238 submit/tizen/20220701.024407
Jaeyun [Tue, 28 Jun 2022 06:56:44 +0000 (15:56 +0900)]
[Test] temporal block

Temporally block the unittest, we should enable this after migrating nnstreamer-edge library.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
2 years ago[Edge] migrate nnstreamer-edge
Jaeyun [Mon, 27 Jun 2022 10:45:49 +0000 (19:45 +0900)]
[Edge] migrate nnstreamer-edge

Migrate nnstreamer-edge library from nnstreamer repo.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
2 years ago[github] Add CODEOWNER file
gichan [Thu, 30 Jun 2022 09:27:11 +0000 (18:27 +0900)]
[github] Add CODEOWNER file

Add code owners for the edge repo. Define specified owner later.

Signed-off-by: gichan <gichan2.jang@samsung.com>
3 years ago[Sensor] Fix the indent format error
Sangjung Woo [Fri, 17 Sep 2021 05:45:52 +0000 (14:45 +0900)]
[Sensor] Fix the indent format error

This patch fixes the indent format error.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[Spec] Add testcoverage option
Sangjung Woo [Fri, 17 Sep 2021 04:03:11 +0000 (13:03 +0900)]
[Spec] Add testcoverage option

To check the line & function coverage, this patch adds the testcoverage option.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[Doxygen] Add doxygen tag
Gichan Jang [Fri, 17 Sep 2021 00:12:32 +0000 (09:12 +0900)]
[Doxygen] Add doxygen tag

Add doxygen bried tag for edge info structure.

Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
3 years ago[Indent] Fix indent
Gichan Jang [Fri, 17 Sep 2021 00:09:07 +0000 (09:09 +0900)]
[Indent] Fix indent

Fix indent reported by TAOS-CI.

Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
3 years ago[CI] Add gbs conf file
Gichan Jang [Fri, 17 Sep 2021 00:02:21 +0000 (09:02 +0900)]
[CI] Add gbs conf file

 - Add gbs conf file

Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
3 years ago[TEST] Add gtest
gichan [Wed, 15 Sep 2021 06:07:29 +0000 (15:07 +0900)]
[TEST] Add gtest

Add unit tests for edge sensor using GTest.

Signed-off-by: gichan <gichan2.jang@samsung.com>
3 years ago[doc] Add README.md for developers
Sangjung Woo [Thu, 9 Sep 2021 06:12:14 +0000 (15:12 +0900)]
[doc] Add README.md for developers

This patch adds README.md for developers to build and test
nnstreamer-edge-sensor library.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[test/sensor] Add more options to test various case
Sangjung Woo [Thu, 9 Sep 2021 06:06:18 +0000 (15:06 +0900)]
[test/sensor] Add more options to test various case

To test various case, this patch adds more options as below.

$ ./test_edge_sensor
Usage: ./tests/test_edge_sensor [-f jpeg_file] [-d directory] [-c count]

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[debian] Support debian package
Sangjung Woo [Wed, 1 Sep 2021 06:07:18 +0000 (15:07 +0900)]
[debian] Support debian package

This patch enables the debian package for Ubuntu release.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[RPM] Support rpm package
Sangjung Woo [Wed, 1 Sep 2021 05:06:17 +0000 (14:06 +0900)]
[RPM] Support rpm package

This patch enables the RPM package for Tizen build infra.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[test/sensor] Add test case to publish the jpeg data
Sangjung Woo [Tue, 6 Jul 2021 05:03:51 +0000 (14:03 +0900)]
[test/sensor] Add test case to publish the jpeg data

This test case publishes the jpeg data as "TestTopic" topic name 10
times. If data is successfully received, then the image is shown on the
server side.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[sensor] Add libedge-sensor library for edge sensor APIs
Sangjung Woo [Fri, 2 Jul 2021 06:47:36 +0000 (15:47 +0900)]
[sensor] Add libedge-sensor library for edge sensor APIs

This patch newly adds the libedge-sensor library and its Edge sensor APIs
to publish the sensor data to the GStreamer pipeline. This version
includes the below APIs.
- edge_open_connection(): Open MQTT connection
- edge_publish_single_msg(): Publish the single message that contains
  only one record.
- edge_close_connection(): Close the MQTT connection

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[sensor] Add MQTT common header
Sangjung Woo [Thu, 1 Jul 2021 09:47:09 +0000 (18:47 +0900)]
[sensor] Add MQTT common header

To communicate with GstMQTT element, this patch adds the
GstMQTTMessageHdr structure. The original file is located in
gst/mqtt/mqttcommon.h of the NNStreamer repo. To remove glib dependency,
this version uses fixed-width integer types (i.e. stdint.h) instead of
GLib types.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
5 years agoUpdate README.md
MyungJoo Ham [Thu, 28 Nov 2019 13:51:05 +0000 (22:51 +0900)]
Update README.md

5 years agoUpdate README.md
MyungJoo Ham [Thu, 28 Nov 2019 13:49:56 +0000 (22:49 +0900)]
Update README.md

5 years agoREADME: add requirements
MyungJoo Ham [Thu, 28 Nov 2019 13:49:20 +0000 (22:49 +0900)]
README: add requirements

Added a few requirements

5 years agoUpdate README.md
MyungJoo Ham [Fri, 1 Nov 2019 06:03:17 +0000 (15:03 +0900)]
Update README.md

5 years agoInitial commit
MyungJoo Ham [Fri, 1 Nov 2019 06:01:55 +0000 (15:01 +0900)]
Initial commit