From: Jeongmo Yang Date: Thu, 9 Aug 2018 10:29:16 +0000 (+0900) Subject: [tizencamerasrc] Update color balance functions X-Git-Tag: accepted/tizen/unified/20180813.061357^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F186412%2F1;p=platform%2Fupstream%2Fgst-plugins-tizen.git [tizencamerasrc] Update color balance functions [Version] 1.0.0-58 [Profile] Common [Issue Type] Update [Dependency module] N/A Change-Id: Ia8d807ea1b495d2aebc5ea304a1b56bcdb15c0aa Signed-off-by: Jeongmo Yang --- diff --git a/packaging/gst-plugins-tizen.spec b/packaging/gst-plugins-tizen.spec index f28ba25..cbe1603 100644 --- a/packaging/gst-plugins-tizen.spec +++ b/packaging/gst-plugins-tizen.spec @@ -9,7 +9,7 @@ Name: gst-plugins-tizen Version: 1.0.0 Summary: GStreamer tizen plugins (common) -Release: 58 +Release: 59 Group: Multimedia/Framework Url: http://gstreamer.freedesktop.org/ License: LGPL-2.1+ diff --git a/tizencamerasrc/src/gsttizencamerasrc.c b/tizencamerasrc/src/gsttizencamerasrc.c index 8cfb263..3a3a18a 100644 --- a/tizencamerasrc/src/gsttizencamerasrc.c +++ b/tizencamerasrc/src/gsttizencamerasrc.c @@ -154,7 +154,7 @@ static GstStaticPadTemplate src_factory = "width = (int) [ 1, 4096 ], " "height = (int) [ 1, 4096 ]; " "video/x-raw," - "format = (string) { YUYV }, " + "format = (string) { YUY2 }, " "width = (int) [ 1, 4096 ], " "height = (int) [ 1, 4096 ]; ")); diff --git a/tizencamerasrc/src/gsttizencamerasrccolorbalance.c b/tizencamerasrc/src/gsttizencamerasrccolorbalance.c index 3dcc761..98ad56b 100644 --- a/tizencamerasrc/src/gsttizencamerasrccolorbalance.c +++ b/tizencamerasrc/src/gsttizencamerasrccolorbalance.c @@ -72,7 +72,7 @@ void gst_tizencamerasrc_color_balance_set_value(GstTizenCameraSrc *camerasrc, Gs g_return_if_fail(camerasrc); g_return_if_fail(gst_tizencamerasrc_color_balance_contains_channel(camerasrc, camerasrc_color_channel)); - /* TODO */ + camera_hal_interface_set_command(camerasrc->hal_intf_handle, camerasrc_color_channel->id, (void *)value); return; } @@ -86,7 +86,7 @@ gint gst_tizencamerasrc_color_balance_get_value(GstTizenCameraSrc *camerasrc, Gs g_return_val_if_fail(camerasrc, FALSE); g_return_val_if_fail(gst_tizencamerasrc_color_balance_contains_channel(camerasrc, camerasrc_color_channel), FALSE); - /* TODO */ + camera_hal_interface_get_command(camerasrc->hal_intf_handle, camerasrc_color_channel->id, (void **)&value); return value; }