"sink_1::xpos=0 sink_1::ypos=0 sink_1::zorder=1 sink_1::alpha=0.7 ! "
"videoconvert ! ximagesink name=img_mixed "
"t_raw. ! queue ! mix.sink_0 "
- "t_raw. ! queue ! tensor_converter ! tensordec ! videoscale ! video/x-raw,width=%d,height=%d ! mix.sink_1 "
+ "t_raw. ! queue ! tensor_converter ! tensor_decoder ! videoscale ! video/x-raw,width=%d,height=%d ! mix.sink_1 "
"t_raw. ! queue ! videoconvert ! ximagesink name=img_origin",
width, height, width / 2, height / 2);
g_app.pipeline = gst_parse_launch (str_pipeline, NULL);
*
* [1st pipeline : videotestsrc-tensor_converter-tensor_sink]
* push buffer to appsrc
- * [2nd pipeline : appsrc-tensordec-videoconvert-ximagesink]
+ * [2nd pipeline : appsrc-tensor_decoder-videoconvert-ximagesink]
*
* Run example :
* Before running this example, GST_PLUGIN_PATH should be updated for nnstreamer plug-in.
/** init player pipeline */
str_pipeline =
g_strdup_printf
- ("appsrc name=player_src ! tensordec ! videoconvert ! ximagesink");
+ ("appsrc name=player_src ! tensor_decoder ! videoconvert ! ximagesink");
g_app.player_pipeline = gst_parse_launch (str_pipeline, NULL);
g_free (str_pipeline);
_check_cond_err (g_app.player_pipeline != NULL);
TEST_TYPE_AUDIO_U16_1000F, /**< pipeline for audio (U16) 1000 frames */
TEST_TYPE_TEXT, /**< pipeline for text */
TEST_TYPE_TEXT_3F, /**< pipeline for text 3 frames */
- TEST_TYPE_TENSORS, /**< pipeline for tensors with tensormux */
+ TEST_TYPE_TENSORS, /**< pipeline for tensors with tensor_mux */
TEST_TYPE_NEGO_FAILED, /**< pipeline to test caps negotiation */
TEST_TYPE_VIDEO_RGB_AGGR, /**< pipeline to test tensor-aggregator */
TEST_TYPE_AUDIO_S16_AGGR, /**< pipeline to test tensor-aggregator */
break;
break;
case TEST_TYPE_TENSORS:
- /** other/tensors with tensormux */
+ /** other/tensors with tensor_mux */
str_pipeline =
g_strdup_printf
- ("tensormux name=mux ! tensor_sink name=test_sink "
+ ("tensor_mux name=mux ! tensor_sink name=test_sink "
"videotestsrc num-buffers=%d ! video/x-raw,width=160,height=120,format=RGB,framerate=(fraction)30/1 ! tensor_converter ! mux.sink_0 "
"videotestsrc num-buffers=%d ! video/x-raw,width=160,height=120,format=RGB,framerate=(fraction)30/1 ! tensor_converter ! mux.sink_1 ",
option.num_buffers, option.num_buffers);