float number;
for (int i = 0; i < frames_num; i++) {
- for (auto joint : bvh_->joints()) {
+ for (const auto &joint : bvh_->joints()) {
std::vector<float> data;
for (unsigned j = 0; j < joint->num_channels(); j++) {
file >> number;
Name: capi-media-vision
Summary: Media Vision library for Tizen Native API
-Version: 0.28.7
+Version: 0.28.8
Release: 0
Group: Multimedia/Framework
License: Apache-2.0 and BSD-3-Clause
ret = ImageHelper::loadImageToSource(image_path.c_str(), mv_source);
ASSERT_EQ(ret, MEDIA_VISION_ERROR_NONE);
- for (auto model : test_models) {
+ for (const auto &model : test_models) {
cout << "model name : " << model.model_file << endl;
ret = mv_image_classification_create(&handle);
ret = ImageHelper::loadImageToSource(IMG_DOG, mv_source);
ASSERT_EQ(ret, MEDIA_VISION_ERROR_NONE);
- for (auto model : test_models) {
+ for (const auto &model : test_models) {
cout << "model name : " << model.model_file << endl;
ret = mv_object_detection_create(&handle);
ret = ImageHelper::loadImageToSource(IMG_FACE, mv_source);
ASSERT_EQ(ret, MEDIA_VISION_ERROR_NONE);
- for (auto model : test_models) {
+ for (auto &model : test_models) {
cout << "model name : " << model.model_file << endl;
ret = mv_face_detection_create(&handle);
ret = ImageHelper::loadImageToSource(image_path.c_str(), mv_source);
ASSERT_EQ(ret, MEDIA_VISION_ERROR_NONE);
- for (auto model : test_models) {
+ for (const auto &model : test_models) {
mv_object_detection_3d_h handle;
cout << "model name : " << model.model_file << endl;