Acceleration sensor control and basic vision framework
[mardrone] / mardrone / video.cpp
index a535999..ae261ea 100644 (file)
@@ -103,7 +103,6 @@ void VideoThread::run()
     picture.cr_line_size  = pictureWidth / 2;
     picture.y_pad         = 0;
     picture.c_pad         = 0;
-    qDebug() << "videoThread::run() 3";
     video_codec_open(&controller, (codec_type_t)UVLC_CODEC);
     //stateTimer->start(1000);
     qDebug() << "videoThread::run() initialized";
@@ -137,7 +136,7 @@ void VideoThread::videoDataReady()
    quint16 port;
    videoData.resize(videoSock->pendingDatagramSize ());
    l=videoSock->readDatagram(videoData.data(),videoData.size(),&host,&port);
-   qDebug() << "videoThread::videoDataReady" <<" l=" << l << "from"  << host ;
+//   qDebug() << "videoThread::videoDataReady" <<" l=" << l << "from"  << host ;
    decodeTransform(videoData);
 }
 
@@ -157,7 +156,7 @@ void VideoThread::decodeTransform(QByteArray &videoData)
     //video_decode_picture( &controller, &picture, &stream, &got_image );
     if( got_image )
         {
-            qDebug() <<"VideoThread::decodeTransform got image" << picture.width << picture.height << image->byteCount() << image->bytesPerLine();
+          //  qDebug() <<"VideoThread::decodeTransform got image" << picture.width << picture.height << image->byteCount() << image->bytesPerLine();
           // we got one picture
           // out->size = 1;
           picture.complete     = 1;
@@ -165,7 +164,7 @@ void VideoThread::decodeTransform(QByteArray &videoData)
           vp_stages_YUV420P_to_RGB565(NULL,&picture,image->bits(),image->bytesPerLine());
 
 
-          qDebug() << "pic " << num_picture_decoded;
+       //   qDebug() << "pic " << num_picture_decoded;
         }