From b4a60205a6fb1e9f3442d0e478017181ae6e0914 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Sep 2023 12:47:08 +0900 Subject: [PATCH] Replace various Q_* and QT_* defines with TQ_* and TQT_* Signed-off-by: Michele Calgaro --- kaffeine/src/input/disc/paranoia.cpp | 4 ++-- kaffeine/src/player-parts/xine-part/kxinewidget.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kaffeine/src/input/disc/paranoia.cpp b/kaffeine/src/input/disc/paranoia.cpp index bd75770..293a122 100644 --- a/kaffeine/src/input/disc/paranoia.cpp +++ b/kaffeine/src/input/disc/paranoia.cpp @@ -400,7 +400,7 @@ void Paranoia::run() fn.open( IO_ReadWrite | IO_Truncate ); do { buf = paranoia_read_limited( p, paranoiaCallback, 3 ); - if ( Q_BYTE_ORDER == Q_BIG_ENDIAN ) { + if ( TQ_BYTE_ORDER == TQ_BIG_ENDIAN ) { for ( i=0; i>8)+16)<<8)|(((112*R-94*G-18*B+128)>>8)+128))<<8|(((-38*R-74*G+112*B+128)>>8)+128)) #else #define rgb2yuv(R,G,B) (unsigned int)(((((((-38*R-74*G+112*B+128)>>8)+128)<<8)| (((112*R-94*G-18*B+128)>>8)+128))<<8|(((66*R+129*G+25*B+128)>>8)+16))<<8) @@ -4080,7 +4080,7 @@ uchar* KXineWidget::yv12ToRgb (uint8_t *src_y, uint8_t *src_u, uint8_t *src_v, i clip_8_bit (g); clip_8_bit (b); -#if Q_BYTE_ORDER == TQ_LITTLE_ENDIAN +#if TQ_BYTE_ORDER == TQ_LITTLE_ENDIAN rgb[(i * width + j) * 4 + 0] = b; rgb[(i * width + j) * 4 + 1] = g; rgb[(i * width + j) * 4 + 2] = r;