X-Git-Url: http://git.maemo.org/git/?p=mardrone;a=blobdiff_plain;f=mardrone%2Fvideo.cpp;fp=mardrone%2Fvideo.cpp;h=ae261ea1ec6144024c2140b1d70ddc3b355bb86d;hp=a535999d8d184e97f5307fe14f68c3031c2d5d83;hb=34003bf968627b6ddf7cc279eb5a26423340cc1c;hpb=a8aa6d737880cae4d85b742fe05d37c11d6c24e9 diff --git a/mardrone/video.cpp b/mardrone/video.cpp index a535999..ae261ea 100644 --- a/mardrone/video.cpp +++ b/mardrone/video.cpp @@ -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; }