summaryrefslogtreecommitdiffstats
path: root/k9vamps/k9vamps.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:18:35 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:18:35 -0600
commit99e47821ed59208c5490022ddb2d6f8ab2bc8b0d (patch)
tree6e8bdb4737921bbf360e04f833f9cbb5db999567 /k9vamps/k9vamps.cpp
parentabb61585f84129bd4ae481a10d81437a8246fea0 (diff)
downloadk9copy-99e47821ed59208c5490022ddb2d6f8ab2bc8b0d.tar.gz
k9copy-99e47821ed59208c5490022ddb2d6f8ab2bc8b0d.zip
Rename additional global TQt functions
Diffstat (limited to 'k9vamps/k9vamps.cpp')
-rwxr-xr-xk9vamps/k9vamps.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/k9vamps/k9vamps.cpp b/k9vamps/k9vamps.cpp
index 4d41146..f910979 100755
--- a/k9vamps/k9vamps.cpp
+++ b/k9vamps/k9vamps.cpp
@@ -368,7 +368,7 @@ int k9vamps::check_video_packet (uchar *ptr) {
if (ptr [7]) {
if ((ptr [7] & 0xc0) != 0xc0)
- qDebug (TQString("First video packet in sequence starting at %1 misses PTS or DTS, flags=%2").arg(rtell (ptr)).arg(ptr [7]));
+ tqDebug (TQString("First video packet in sequence starting at %1 misses PTS or DTS, flags=%2").arg(rtell (ptr)).arg(ptr [7]));
else {
sequence_header_code = (uint32_t) (ptr [6 + 3 + ptr [8] + 0]) << 24;
sequence_header_code |= (uint32_t) (ptr [6 + 3 + ptr [8] + 1]) << 16;
@@ -399,7 +399,7 @@ int k9vamps::check_video_packet (uchar *ptr) {
pad_packet_start_code |= (uint32_t) (ptr [3]);
if (pad_packet_start_code != 0x000001be)
- qDebug (TQString("Bad padding packet start code at %1: %2").arg(rtell (ptr + vid_packet_length)).arg(pad_packet_start_code));
+ tqDebug (TQString("Bad padding packet start code at %1: %2").arg(rtell (ptr + vid_packet_length)).arg(pad_packet_start_code));
else {
pad_packet_length = ptr [4] << 8;
pad_packet_length |= ptr [5];
@@ -409,7 +409,7 @@ int k9vamps::check_video_packet (uchar *ptr) {
// length of video packet plus padding packet must always match sector size
if (14 + vid_packet_length + pad_packet_length != SECT_SIZE)
- qDebug (TQString("Bad video packet length at %1: %2").arg(rtell (ptr)).arg(vid_packet_length));
+ tqDebug (TQString("Bad video packet length at %1: %2").arg(rtell (ptr)).arg(vid_packet_length));
return rc;
}
@@ -474,12 +474,12 @@ int k9vamps::requant (uchar *dst, uchar *src, int n, float fact) {
// if (rv>n)
-// qDebug("requant error");
+// tqDebug("requant error");
double realrqtfact=(double)(vin_bytes) / (double)(vout_bytes+rv);
avgdiff = ((m_avgfact) /realrqtfact);
- //qDebug ("factor : " +TQString::number(m_avgfact) +" --> " +TQString::number((float)n/(float)rv) +" avgdiff : " + TQString::number(avgdiff) +" rqt_visize :" +TQString::number(m_requant->rqt_visize) +" ps_size :" +TQString::number(ps_size) + " vin_bytes :" + TQString::number(vin_bytes)) ;
+ //tqDebug ("factor : " +TQString::number(m_avgfact) +" --> " +TQString::number((float)n/(float)rv) +" avgdiff : " + TQString::number(avgdiff) +" rqt_visize :" +TQString::number(m_requant->rqt_visize) +" ps_size :" +TQString::number(ps_size) + " vin_bytes :" + TQString::number(vin_bytes)) ;
return rv;