From 644aa141bb72329accd29d52c30628227fd36a43 Mon Sep 17 00:00:00 2001 From: "giantpune@gmail.com" Date: Thu, 6 Jan 2011 11:56:02 +0000 Subject: [PATCH] * add a thp player. based off dimok & thakis' work ( requires libjpeg ) git-svn-id: http://wiiqt.googlecode.com/svn/trunk@48 389f4c8b-5dfe-645f-db0e-df882bc27289 --- thp_player/ffw.png | Bin 0 -> 5379 bytes thp_player/gcvid.cpp | 890 ++++++++++++++++++++++++++++++++++++++ thp_player/gcvid.h | 341 +++++++++++++++ thp_player/main.cpp | 12 + thp_player/next.png | Bin 0 -> 5389 bytes thp_player/pause.png | Bin 0 -> 4949 bytes thp_player/play.png | Bin 0 -> 5014 bytes thp_player/prev.png | Bin 0 -> 5329 bytes thp_player/rc.qrc | 16 + thp_player/repeat.png | Bin 0 -> 5629 bytes thp_player/rev.png | Bin 0 -> 5332 bytes thp_player/star.png | Bin 0 -> 5449 bytes thp_player/stop.png | Bin 0 -> 5003 bytes thp_player/thp_player.pro | 26 ++ thp_player/thpwindow.cpp | 376 ++++++++++++++++ thp_player/thpwindow.h | 73 ++++ thp_player/thpwindow.ui | 485 +++++++++++++++++++++ thp_player/vol_high.png | Bin 0 -> 5682 bytes thp_player/vol_low.png | Bin 0 -> 5165 bytes thp_player/vol_med.png | Bin 0 -> 5375 bytes 20 files changed, 2219 insertions(+) create mode 100644 thp_player/ffw.png create mode 100755 thp_player/gcvid.cpp create mode 100755 thp_player/gcvid.h create mode 100644 thp_player/main.cpp create mode 100644 thp_player/next.png create mode 100644 thp_player/pause.png create mode 100644 thp_player/play.png create mode 100644 thp_player/prev.png create mode 100644 thp_player/rc.qrc create mode 100644 thp_player/repeat.png create mode 100644 thp_player/rev.png create mode 100644 thp_player/star.png create mode 100644 thp_player/stop.png create mode 100644 thp_player/thp_player.pro create mode 100644 thp_player/thpwindow.cpp create mode 100644 thp_player/thpwindow.h create mode 100644 thp_player/thpwindow.ui create mode 100644 thp_player/vol_high.png create mode 100644 thp_player/vol_low.png create mode 100644 thp_player/vol_med.png diff --git a/thp_player/ffw.png b/thp_player/ffw.png new file mode 100644 index 0000000000000000000000000000000000000000..0954fb5b4bfe83dbf17e9498bd01ced04b6c61bf GIT binary patch literal 5379 zcmWky2|QG5A0A8gog~ISSMxC;P0VGGolwXcvSf|PQp#8^kv${ZSP~)IxLGqOp9R0bl1j2A5u30T?Jp*Jk3oEAt!&{&pWHK!4b}2Q>VKS2)FQ`jR{g%BnA$$ z-!ro`Vy7~(a!JS(%;8la5RrH@Lp@u++2I@5$3@H7ljuE-y$`eNU&0>exh@8zOim3j zN$0Z#;sy!gGq6$H+jemTF54^uw6x-X)|}66NSs3ctfw8{3bM&Po%&af&w1|lnU2KW zmf79LD&Gh6;-Id>uhJcq^|OmF{w{hYpN`Zz9Nz2frvK9Jreods9QMN&-leFMo7%C( zK~{EQ7f2!I(X=4mxXa8k?0W7j!H^ut;}Gbco1Q?_tEl~*q1sN-joY7>eyomR3M+R9 zJR7OlVmFrOmI9CR5o7|)EDk{~LXhXM#f)g(Ei^xFv4@DEAuY*G|Gx1rJQpv6k|FP0 zs}~)maei*RMZ#~PyDjm{ktm$AP>SI~qoV~!f_@P^HBYKHgd=V)Z0zV z)8Q4KK9o3LQp}rstN&^Io||K1XQ#SMb}B*nVq8V~bBDatgwpy^dIED;sVG|a!X}3d zDdbYm-?;eA!#NaR7Od1o`LMaU*|^jSCCHUfe6uTRUm`{z`1ttvHB2bwFq%f2nVJ&g zPwInG7(6*L9N?m2x-17X@s|>o!a#Gx^<3UTQ|bg+nG!u%g@uKeL)$)2{`cR`Xqi!( zLX67XNYUS8_+g(DRPL2%1M8d(JYMty2Xkv(nhZw|1MRFz3K1|8%z{M^T))ImM@KmX z>)`9`?EJdAs%K!p5+@VuUkJ*PTGpe=^Q$Yv51HE7*m$MJHp1ihV3&6AtcRC}=d(zP zVON#^O#8;howrEK@M3m|mB^{Ob$x4*9J2S1y}k1Kdj7@5Mes!L4tCcYLzk~092+2w zjy#adZGV?sGp!m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|Sym1X^sxK)eYCW+XtP8NHRk7R!$G|6SC9WPbbp8MfwT}* zWOhvjX(^m7ESx{=ApOzmd6&hrv_V5_?N+%+1NB zk&%bfr^yabw~qV6Z!ZN*O6|vl4eaN2D!a5cM1a>VpZml< //NULL +#include //memcmp +#include +#include +#include +#include +using namespace std; + +void readThpHeader(FILE* f, ThpHeader& h) +{ + fread(&h, sizeof(h), 1, f); + h.version = qFromBigEndian(h.version); + h.maxBufferSize = qFromBigEndian(h.maxBufferSize); + h.maxAudioSamples = qFromBigEndian(h.maxAudioSamples); + u32 * ptr = (u32 *) &h.fps; + *ptr = qFromBigEndian(*ptr); + h.numFrames = qFromBigEndian(h.numFrames); + h.firstFrameSize = qFromBigEndian(h.firstFrameSize); + h.dataSize = qFromBigEndian(h.dataSize); + h.componentDataOffset = qFromBigEndian(h.componentDataOffset); + h.offsetsDataOffset = qFromBigEndian(h.offsetsDataOffset); + h.firstFrameOffset = qFromBigEndian(h.firstFrameOffset); + h.lastFrameOffset = qFromBigEndian(h.lastFrameOffset); +} + +void readThpComponents(FILE* f, ThpComponents& c) +{ + fread(&c, sizeof(c), 1, f); + c.numComponents = qFromBigEndian(c.numComponents); +} + +void readThpVideoInfo(FILE* f, ThpVideoInfo& i, bool isVersion11) +{ + fread(&i, sizeof(i), 1, f); + i.width = qFromBigEndian(i.width); + i.height = qFromBigEndian(i.height); + if(isVersion11) + i.unknown = qFromBigEndian(i.unknown); + else + { + i.unknown = 0; + fseek(f, -4, SEEK_CUR); + } +} + +void readThpAudioInfo(FILE* f, ThpAudioInfo& i, bool isVersion11) +{ + fread(&i, sizeof(i), 1, f); + i.numChannels = qFromBigEndian(i.numChannels); + i.frequency = qFromBigEndian(i.frequency); + i.numSamples = qFromBigEndian(i.numSamples); + if(isVersion11) + i.numData = qFromBigEndian(i.numData); + else + { + i.numData = 1; + fseek(f, -4, SEEK_CUR); + } +} + +void readMthHeader(FILE* f, MthHeader& h) +{ + fread(&h, sizeof(h), 1, f); + + h.unknown = qFromBigEndian(h.unknown); + h.unknown2 = qFromBigEndian(h.unknown2); + h.maxFrameSize = qFromBigEndian(h.maxFrameSize); + h.width = qFromBigEndian(h.width); + h.height = qFromBigEndian(h.height); + h.fps = qFromBigEndian(h.fps); + h.numFrames = qFromBigEndian(h.numFrames); + h.offset = qFromBigEndian(h.offset); + h.unknown5 = qFromBigEndian(h.unknown5); + h.firstFrameSize = qFromBigEndian(h.firstFrameSize); +} + +struct DecStruct +{ + const u8* currSrcByte; + u32 blockCount; + u8 index; + u8 shift; +}; + +void thpAudioInitialize(DecStruct& s, const u8* srcStart) +{ + s.currSrcByte = srcStart; + s.blockCount = 2; + s.index = (*s.currSrcByte >> 4) & 0x7; + s.shift = *s.currSrcByte & 0xf; + ++s.currSrcByte; +} + +s32 thpAudioGetNewSample(DecStruct& s) +{ + //the following if is executed all 14 calls + //to thpAudioGetNewSample() (once for each + //microblock) because mask & 0xf can contain + //16 different values and starts with 2 + if((s.blockCount & 0xf) == 0) + { + s.index = (*s.currSrcByte >> 4) & 0x7; + s.shift = *s.currSrcByte & 0xf; + ++s.currSrcByte; + s.blockCount += 2; + } + + s32 ret; + if((s.blockCount & 1) != 0) + { + s32 t = (*s.currSrcByte << 28) & 0xf0000000; + ret = t >> 28; //this has to be an arithmetic shift + ++s.currSrcByte; + } + else + { + s32 t = (*s.currSrcByte << 24) & 0xf0000000; + ret = t >> 28; //this has to be an arithmetic shift + } + + ++s.blockCount; + return ret; +} + +int thpAudioDecode(s16 * destBuffer, const u8* srcBuffer, bool separateChannelsInOutput, bool isInputStereo) +{ + if(destBuffer == NULL || srcBuffer == NULL) + return 0; + + ThpAudioBlockHeader* head = (ThpAudioBlockHeader*)srcBuffer; + + u32 channelInSize = qFromBigEndian(head->channelSize); + u32 numSamples = qFromBigEndian(head->numSamples); + + const u8* srcChannel1 = srcBuffer + sizeof(ThpAudioBlockHeader); + const u8* srcChannel2 = srcChannel1 + channelInSize; + + s16* table1 = head->table1; + s16* table2 = head->table2; + + s16* destChannel1, * destChannel2; + u32 delta; + + if(separateChannelsInOutput) + { + //separated channels in output + destChannel1 = destBuffer; + destChannel2 = destBuffer + numSamples; + delta = 1; + } + else + { + //interleaved channels in output + destChannel1 = destBuffer; + destChannel2 = destBuffer + 1; + delta = 2; + } + + DecStruct s; + if(!isInputStereo) + { + //mono channel in input + + thpAudioInitialize(s, srcChannel1); + + s16 prev1 = qFromBigEndian(*(s16*)(srcBuffer + 72)); + s16 prev2 = qFromBigEndian(*(s16*)(srcBuffer + 74)); + + for(u32 i = 0; i < numSamples; ++i) + { + s64 res = (s64)thpAudioGetNewSample(s); + res = ((res << s.shift) << 11); //convert to 53.11 fixedpoint + + //these values are 53.11 fixed point numbers + s64 val1 = qFromBigEndian(table1[2*s.index]); + s64 val2 = qFromBigEndian(table1[2*s.index + 1]); + + //convert to 48.16 fixed point + res = (val1*prev1 + val2*prev2 + res) << 5; + + //rounding: + u16 decimalPlaces = res & 0xffff; + if(decimalPlaces > 0x8000) //i.e. > 0.5 + //round up + ++res; + else if(decimalPlaces == 0x8000) //i.e. == 0.5 + if((res & 0x10000) != 0) + //round up every other number + ++res; + + //get nonfractional parts of number, clamp to [-32768, 32767] + s32 final = (res >> 16); + if(final > 32767) final = 32767; + else if(final < -32768) final = -32768; + + prev2 = prev1; + prev1 = final; + *destChannel1 = (s16)final; + *destChannel2 = (s16)final; + destChannel1 += delta; + destChannel2 += delta; + } + } + else + { + //two channels in input - nearly the same as for one channel, + //so no comments here (different lines are marked with XXX) + + thpAudioInitialize(s, srcChannel1); + s16 prev1 = qFromBigEndian(*(s16*)(srcBuffer + 72)); + s16 prev2 = qFromBigEndian(*(s16*)(srcBuffer + 74)); + for(u32 i = 0; i < numSamples; ++i) + { + s64 res = (s64)thpAudioGetNewSample(s); + res = ((res << s.shift) << 11); + s64 val1 = qFromBigEndian(table1[2*s.index]); + s64 val2 = qFromBigEndian(table1[2*s.index + 1]); + res = (val1*prev1 + val2*prev2 + res) << 5; + u16 decimalPlaces = res & 0xffff; + if(decimalPlaces > 0x8000) + ++res; + else if(decimalPlaces == 0x8000) + if((res & 0x10000) != 0) + ++res; + s32 final = (res >> 16); + if(final > 32767) final = 32767; + else if(final < -32768) final = -32768; + prev2 = prev1; + prev1 = final; + *destChannel1 = (s16)final; + destChannel1 += delta; + } + + thpAudioInitialize(s, srcChannel2);//XXX + prev1 = qFromBigEndian(*(s16*)(srcBuffer + 76));//XXX + prev2 = qFromBigEndian(*(s16*)(srcBuffer + 78));//XXX + for(u32 j = 0; j < numSamples; ++j) + { + s64 res = (s64)thpAudioGetNewSample(s); + res = ((res << s.shift) << 11); + s64 val1 = qFromBigEndian(table2[2*s.index]);//XXX + s64 val2 = qFromBigEndian(table2[2*s.index + 1]);//XXX + res = (val1*prev1 + val2*prev2 + res) << 5; + u16 decimalPlaces = res & 0xffff; + if(decimalPlaces > 0x8000) + ++res; + else if(decimalPlaces == 0x8000) + if((res & 0x10000) != 0) + ++res; + s32 final = (res >> 16); + if(final > 32767) final = 32767; + else if(final < -32768) final = -32768; + prev2 = prev1; + prev1 = final; + *destChannel2 = (s16)final; + destChannel2 += delta; + } + } + + return numSamples; +} + + +VideoFrame::VideoFrame() + : _data(NULL), _w(0), _h(0), _p(0) +{} + +VideoFrame::~VideoFrame() +{ dealloc(); } + +void VideoFrame::resize(int width, int height) +{ + if(width == _w && height == _h) + return; + + dealloc(); + _w = width; + _h = height; + + //24 bpp, 4 byte padding + _p = 3*width; + _p += (4 - _p%4)%4; + + _data = new u8[_p*_h]; +} + +int VideoFrame::getWidth() const +{ return _w; } + +int VideoFrame::getHeight() const +{ return _h; } + +int VideoFrame::getPitch() const +{ return _p; } + +u8* VideoFrame::getData() +{ return _data; } + +const u8* VideoFrame::getData() const +{ return _data; } + +void VideoFrame::dealloc() +{ + if(_data != NULL) + delete [] _data; + _data = NULL; + _w = _h = _p = 0; +} + +//swaps red and blue channel of a video frame +void swapRB(VideoFrame& f) +{ + u8* currLine = f.getData(); + + int hyt = f.getHeight(); + int pitch = f.getPitch(); + + for(int y = 0; y < hyt; ++y) + { + for(int x = 0, x2 = 2; x < pitch; x += 3, x2 += 3) + { + u8 t = currLine[x]; + currLine[x] = currLine[x2]; + currLine[x2] = t; + } + currLine += pitch; + } +} + +enum FILETYPE +{ + THP, MTH, JPG, + UNKNOWN = -1 +}; + +FILETYPE getFiletype(FILE* f) +{ + long t = ftell(f); + fseek(f, 0, SEEK_SET); + + u8 buff[4]; + fread(buff, 1, 4, f); + + FILETYPE ret = UNKNOWN; + if(memcmp("THP\0", buff, 4) == 0) + ret = THP; + else if(memcmp("MTHP", buff, 4) == 0) + ret = MTH; + else if(buff[0] == 0xff && buff[1] == 0xd8) + ret = JPG; + + fseek(f, t, SEEK_SET); + return ret; +} + +long getFilesize(FILE* f) +{ + long t = ftell(f); + fseek(f, 0, SEEK_END); + long ret = ftell(f); + fseek(f, t, SEEK_SET); + return ret; +} + +void decodeJpeg(const u8* data, int size, VideoFrame& dest); + + +VideoFile::VideoFile(FILE* f) + : _f(f) +{} + +VideoFile::~VideoFile() +{ + if(_f != NULL) + fclose(_f); + _f = NULL; +} + +int VideoFile::getWidth() const +{ return 0; } + +int VideoFile::getHeight() const +{ return 0; } + +float VideoFile::getFps() const +{ return 0.f; } + +int VideoFile::getFrameCount() const +{ return 0; } + +int VideoFile::getCurrentFrameNr() const +{ return 0; } + +void VideoFile::loadNextFrame() +{} +void VideoFile::SetFrameNo( u32 frameNo ){ Q_UNUSED( frameNo ); } + +void VideoFile::getCurrentFrame(VideoFrame& f) const +{ +Q_UNUSED( f ); } + +bool VideoFile::hasSound() const +{ return false; } + +int VideoFile::getNumChannels() const +{ return 0; } + +int VideoFile::getFrequency() const +{ return 0; } + +int VideoFile::getMaxAudioSamples() const +{ return 0; } + +int VideoFile::getCurrentBuffer(s16* data) const +{ + Q_UNUSED( data ); + return 0; } + +void VideoFile::loadFrame(VideoFrame& frame, const u8* data, int size) const +{ + decodeJpeg(data, size, frame); +} + + +ThpVideoFile::ThpVideoFile(FILE* f) + : VideoFile(f) +{ + readThpHeader(f, _head); + + //this is just to find files that have this field != 0, i + //have no such a file + assert(_head.offsetsDataOffset == 0); + + readThpComponents(f, _components); + for(u32 i = 0; i < _components.numComponents; ++i) + { + if(_components.componentTypes[i] == 0) //video + readThpVideoInfo(_f, _videoInfo, _head.version == 0x00011000); + else if(_components.componentTypes[i] == 1) //audio + { + readThpAudioInfo(_f, _audioInfo, _head.version == 0x00011000); + assert(_head.maxAudioSamples != 0); + } + } + + _numInts = 3; + if(_head.maxAudioSamples != 0) + _numInts = 4; + + _currFrameNr = -1; + _nextFrameOffset = _head.firstFrameOffset; + _nextFrameSize = _head.firstFrameSize; + _currFrameData.resize(_head.maxBufferSize); //include some padding + loadNextFrame(); +} + +int ThpVideoFile::getWidth() const +{ return _videoInfo.width; } + +int ThpVideoFile::getHeight() const +{ return _videoInfo.height; } + +float ThpVideoFile::getFps() const +{ return _head.fps; } + +int ThpVideoFile::getFrameCount() const +{ return _head.numFrames; } + +int ThpVideoFile::getCurrentFrameNr() const +{ return _currFrameNr; } + +//TODO, really seek to correct frame +void ThpVideoFile::SetFrameNo( u32 frameNo ) +{ + Q_UNUSED( frameNo ); + _currFrameNr = 0; + _nextFrameOffset = _head.firstFrameOffset; + _nextFrameSize = _head.firstFrameSize; +} + +void ThpVideoFile::loadNextFrame() +{ + ++_currFrameNr; + if(_currFrameNr >= (int) _head.numFrames) + { + _currFrameNr = 0; + _nextFrameOffset = _head.firstFrameOffset; + _nextFrameSize = _head.firstFrameSize; + } + + fseek(_f, _nextFrameOffset, SEEK_SET); + fread(&_currFrameData[0], 1, _nextFrameSize, _f); + + _nextFrameOffset += _nextFrameSize; + _nextFrameSize = qFromBigEndian(*(u32*)&_currFrameData[0]); +} + +void ThpVideoFile::getCurrentFrame(VideoFrame& f) const +{ + int size = qFromBigEndian(*(u32*)(&_currFrameData[0] + 8)); + loadFrame(f, &_currFrameData[0] + 4*_numInts, size); +} + +bool ThpVideoFile::hasSound() const +{ return _head.maxAudioSamples != 0; } + +int ThpVideoFile::getNumChannels() const +{ + if(hasSound()) + return _audioInfo.numChannels; + else + return 0; +} + +int ThpVideoFile::getFrequency() const +{ + if(hasSound()) + return _audioInfo.frequency; + else + return 0; +} + +int ThpVideoFile::getMaxAudioSamples() const +{ return _head.maxAudioSamples; } + +int ThpVideoFile::getCurrentBuffer(s16* data) const +{ + if(!hasSound()) + return 0; + + int jpegSize = qFromBigEndian(*(u32*)(&_currFrameData[0] + 8)); + const u8* src = &_currFrameData[0] + _numInts*4 + jpegSize; + + return thpAudioDecode(data, src, false, _audioInfo.numChannels == 2); +} + +MthVideoFile::MthVideoFile(FILE* f) + : VideoFile(f) +{ + readMthHeader(f, _head); + + _currFrameNr = -1; + _nextFrameOffset = _head.offset; + _nextFrameSize = _head.firstFrameSize; + _thisFrameSize = 0; + + _currFrameData.resize(_head.maxFrameSize); + loadNextFrame(); +} + + +int MthVideoFile::getWidth() const +{ return _head.width; } + +int MthVideoFile::getHeight() const +{ return _head.height; } + +float MthVideoFile::getFps() const +{ + return (float) 1.0f*_head.fps; //TODO: This has to be in there somewhere +} + +int MthVideoFile::getFrameCount() const +{ + return _head.numFrames; +} + +int MthVideoFile::getCurrentFrameNr() const +{ return _currFrameNr; } + +//TODO, really seek to correct frame +void MthVideoFile::SetFrameNo( u32 frameNo ) +{ + Q_UNUSED( frameNo ); + _currFrameNr = 0; + _nextFrameOffset = _head.offset; + _nextFrameSize = _head.firstFrameSize; +} + +void MthVideoFile::loadNextFrame() +{ + ++_currFrameNr; + if(_currFrameNr >= (int) _head.numFrames) + { + _currFrameNr = 0; + _nextFrameOffset = _head.offset; + _nextFrameSize = _head.firstFrameSize; + } + + fseek(_f, _nextFrameOffset, SEEK_SET); + _currFrameData.resize(_nextFrameSize); + fread(&_currFrameData[0], 1, _nextFrameSize, _f); + _thisFrameSize = _nextFrameSize; + + u32 nextSize; + nextSize = qFromBigEndian(*(u32*)(&_currFrameData[0])); + _nextFrameOffset += _nextFrameSize; + _nextFrameSize = nextSize; + +} + +void MthVideoFile::getCurrentFrame(VideoFrame& f) const +{ + int size = _thisFrameSize; + loadFrame(f, &_currFrameData[0] + 4, size - 4); +} + + +JpgVideoFile::JpgVideoFile(FILE* f) + : VideoFile(f) +{ + vector data(getFilesize(f)); + fread(&data[0], 1, getFilesize(f), f); + + loadFrame(_currFrame, &data[0], getFilesize(f)); +} + +int JpgVideoFile::getWidth() const +{ return _currFrame.getWidth(); } + +int JpgVideoFile::getHeight() const +{ return _currFrame.getHeight(); } + +int JpgVideoFile::getFrameCount() const +{ return 1; } + +void JpgVideoFile::getCurrentFrame(VideoFrame& f) const +{ + f.resize(_currFrame.getWidth(), _currFrame.getHeight()); + memcpy(f.getData(), _currFrame.getData(),f.getPitch()*f.getHeight()); +} + +VideoFile* openVideo(const string& fileName) +{ + FILE* f = fopen(fileName.c_str(), "rb"); + if(f == NULL) + return NULL; + + FILETYPE type = getFiletype(f); + switch(type) + { + case THP: + return new ThpVideoFile(f); + case MTH: + return new MthVideoFile(f); + case JPG: + return new JpgVideoFile(f); + + default: + fclose(f); + return NULL; + } +} + +void closeVideo(VideoFile*& vf) +{ + if(vf != NULL) + delete vf; + vf = NULL; +} + +//as mentioned above, we have to convert 0xff to 0xff 0x00 +//after the image date has begun (ie, after the 0xff 0xda marker) +//but we must not convert the end-of-image-marker (0xff 0xd9) +//this way. There may be 0xff 0xd9 bytes embedded in the image +//data though, so I add 4 bytes to the input buffer +//and fill them with zeroes and check for 0xff 0xd9 0 0 +//as end-of-image marker. this is not correct, but works +//and is easier to code... ;-) +//a better solution would be to patch jpeglib so that this conversion +//is not neccessary + +u8 endBytesThp[] = { 0xff, 0xd9, 0, 0 }; //used in thp files +u8 endBytesMth[] = { 0xff, 0xd9, 0xff, 0 }; //used in mth files + +int countRequiredSize(const u8* data, int size, int& start, int& end) +{ + start = 2*size; + int count = 0; + + int j; + for(j = size - 1; data[j] == 0; --j) + ; //search end of data + + if(data[j] == 0xd9) //thp file + end = j - 1; + else if(data[j] == 0xff) //mth file + end = j - 2; + + for(int i = 0; i < end; ++i) + { + if(data[i] == 0xff) + { + //if i == srcSize - 1, then this would normally overrun src - that's why 4 padding + //bytes are included at the end of src + if(data[i + 1] == 0xda && start == 2*size) + start = i; + if(i > start) + ++count; + } + } + return size + count; +} + +void convertToRealJpeg(u8* dest, const u8* src, int srcSize, int start, int end) +{ + int di = 0; + for(int i = 0; i < srcSize; ++i, ++di) + { + dest[di] = src[i]; + //if i == srcSize - 1, then this would normally overrun src - that's why 4 padding + //bytes are included at the end of src + if(src[i] == 0xff && i > start && i < end) + { + ++di; + dest[di] = 0; + } + } +} + +void decodeRealJpeg(const u8* data, int size, VideoFrame& dest); + +void decodeJpeg(const u8* data, int size, VideoFrame& dest) +{ + //convert format so jpeglib understands it... + int start = 0, end = 0; + int newSize = countRequiredSize(data, size, start, end); + u8* buff = new u8[newSize]; + convertToRealJpeg(buff, data, size, start, end); + + //...and feed it to jpeglib + decodeRealJpeg(buff, newSize, dest); + + delete [] buff; +} + +extern "C" +{ +#include +} + +//the following functions are needed to let +//libjpeg read from memory instead of from a file... +//it's a little clumsy to do :-| +const u8* g_jpegBuffer; +int g_jpegSize; +bool g_isLoading = false; + +void jpegInitSource(j_decompress_ptr cinfo) +{ Q_UNUSED( cinfo ); } + +boolean jpegFillInputBuffer(j_decompress_ptr cinfo) +{ + cinfo->src->next_input_byte = g_jpegBuffer; + cinfo->src->bytes_in_buffer = g_jpegSize; + return TRUE; +} + +void jpegSkipInputData(j_decompress_ptr cinfo, long num_bytes) +{ + cinfo->src->next_input_byte += num_bytes; + cinfo->src->bytes_in_buffer -= num_bytes; +} + +boolean jpegResyncToRestart(j_decompress_ptr cinfo, int desired) +{ + jpeg_resync_to_restart(cinfo, desired); + return TRUE; +} + +void jpegTermSource(j_decompress_ptr cinfo) +{ Q_UNUSED( cinfo ); } + +void jpegErrorHandler(j_common_ptr cinfo) +{ + char buff[1024]; + (*cinfo->err->format_message)(cinfo, buff); + //MessageBox(g_hWnd, buff, "JpegLib error:", MB_OK); +} + +void decodeRealJpeg(const u8* data, int size, VideoFrame& dest) +{ + if(g_isLoading) + return; + g_isLoading = true; + + /* + //debug + FILE* fout = fopen("curr.jpg", "wb"); + fwrite(data, size, 1, fout); + fclose(fout); + //*/ + + //decompressor state + jpeg_decompress_struct cinfo; + jpeg_error_mgr errorMgr; + + //read from memory manager + jpeg_source_mgr sourceMgr; + + cinfo.err = jpeg_std_error(&errorMgr); + errorMgr.error_exit = jpegErrorHandler; + + jpeg_create_decompress(&cinfo); + + //setup read-from-memory + g_jpegBuffer = data; + g_jpegSize = size; + sourceMgr.bytes_in_buffer = size; + sourceMgr.next_input_byte = data; + sourceMgr.init_source = jpegInitSource; + sourceMgr.fill_input_buffer = jpegFillInputBuffer; + sourceMgr.skip_input_data = jpegSkipInputData; + sourceMgr.resync_to_restart = jpegResyncToRestart; + sourceMgr.term_source = jpegTermSource; + cinfo.src = &sourceMgr; + + jpeg_read_header(&cinfo, TRUE); + +#if 0 + //set quality/speed parameters to speed: + cinfo.do_fancy_upsampling = FALSE; + cinfo.do_block_smoothing = FALSE; + + //this actually slows decoding down: + //cinfo.dct_method = JDCT_FASTEST; +#endif + + jpeg_start_decompress(&cinfo); + + dest.resize(cinfo.output_width, cinfo.output_height); + + if(cinfo.num_components == 3) + { + int y = 0; + while(cinfo.output_scanline < cinfo.output_height) + { + //invert image because windows wants it downside up + u8* destBuffer = &dest.getData()[y*dest.getPitch()]; + + //NO idea why jpeglib wants a pointer to a pointer + jpeg_read_scanlines(&cinfo, &destBuffer, 1); + ++y; + } + + //jpeglib gives an error in jpeg_finish_decompress() if no all + //scanlines are read by the application... :-| + //(but because we read all scanlines, it's not really needed) + cinfo.output_scanline = cinfo.output_height; + + } + else + { + //MessageBox(g_hWnd, "Only RGB videos are currently supported.", "oops?", MB_OK); + } + + jpeg_finish_decompress(&cinfo); + jpeg_destroy_decompress(&cinfo); + g_isLoading = false; +} diff --git a/thp_player/gcvid.h b/thp_player/gcvid.h new file mode 100755 index 0000000..f0535cc --- /dev/null +++ b/thp_player/gcvid.h @@ -0,0 +1,341 @@ +/*************************************************************************** + * Copyright (C) 2010 + * by thakis + * + * Modification and adjustment for the Wii by Dimok + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any + * damages arising from the use of this software. + * + * Permission is granted to anyone to use this software for any + * purpose, including commercial applications, and to alter it and + * redistribute it freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you + * must not claim that you wrote the original software. If you use + * this software in a product, an acknowledgment in the product + * documentation would be appreciated but is not required. + * + * 2. Altered source versions must be plainly marked as such, and + * must not be misrepresented as being the original software. + * + * 3. This notice may not be removed or altered from any source + * distribution. + * + * gcvid.h + ***************************************************************************/ + +#ifndef THAKIS_GCVID_H +#define THAKIS_GCVID_H THAKIS_GCVID_H + +#include //FILE* +#include +#include + +//typedef unsigned char boolean; +typedef unsigned char u8; +typedef short s16; +typedef unsigned short u16; +typedef int s32; +typedef unsigned int u32; +typedef long long s64; +typedef float f32; + +#pragma pack(push, 1) + +///////////////////////////////////////////////////////////////////// +//THP + +struct ThpHeader +{ + char tag[4]; //'THP\0' + + //from monk's thp player: + u32 version; //0x00011000 = 1.1, 0x00010000 = 1.0 + u32 maxBufferSize; + u32 maxAudioSamples; //!= 0 if sound is stored in file + + + float fps; //usually 29.something (=0x41efc28f) for ntsc + u32 numFrames; + u32 firstFrameSize; //size of first frame + + u32 dataSize; //size of file - ThpHeader.offset + + //from monk's thp player: + u32 componentDataOffset; //ThpComponents stored here + u32 offsetsDataOffset; //?? if != 0, offset to table with offsets of all frames? + + u32 firstFrameOffset; + u32 lastFrameOffset; +}; + +//monk: + +struct ThpComponents +{ + u32 numComponents; //usually 1 or 2 (video or video + audio) + + //component type 0 is video, type 1 is audio, + //type 0xff is "no component" (numComponent many entries + //are != 0xff) + u8 componentTypes[16]; +}; + +struct ThpVideoInfo +{ + u32 width; + u32 height; + u32 unknown; //only for version 1.1 thp files +}; + +struct ThpAudioInfo +{ + u32 numChannels; + u32 frequency; + u32 numSamples; + u32 numData; //only for version 1.1 - that many + //audio blocks are after each video block + //(for surround sound?) +}; + +//endmonk + + +//a frame image is basically a normal jpeg image (without +//the jfif application marker), the only important difference +//is that after the image start marker (0xff 0xda) values +//of 0xff are simply written as 0xff whereas the jpeg +//standard requires them to be written as 0xff 0x00 because +//0xff is the start of a 2-byte control code in jpeg + +//frame (offsets relative to frame start): +//u32 total (image, sound, etc) size of NEXT frame +//u32 size1 at 0x04 (total size of PREV frame according to monk) +//u32 image data size at 0x08 +//size of one audio block ONLY IF THE FILE HAS SOUND. ThpAudioInfo.numData +//many audio blocks after jpeg data +//jpeg data +//audio block(s) + +struct ThpAudioBlockHeader +{ + //size 80 byte + u32 channelSize; //size of one channel in bytes + u32 numSamples; //number of samples/channel + s16 table1[16]; //table for first channel + s16 table2[16]; //table for second channel + s16 channel1Prev1; + s16 channel1Prev2; + s16 channel2Prev1; + s16 channel2Prev2; +}; + +//audio block: +//u32 size of this audioblock +// +//u32 numBytes/channel of audioblock - that many bytes per channel after adpcm table) +// +//u32 number of samples per channel +// +//2*16 shorts adpcm table (one per channel - always stored both, +//even for mono files), 5.11 fixed point values +// +//4 s16: 2 shorts prev1 and prev2 for each channel (even for mono files) +// +//sound data + +//sound data: +//8 byte are 14 samples: +//the first byte stores index (upper nibble) and shift (lower nibble), +//the following 7 bytes contain 14o samples a 4 bit each + + +///////////////////////////////////////////////////////////////////// +//MTH ("mute thp"?) + +//similar to a thp file, but without sound + +struct MthHeader +{ + //one of the unknown has to be fps in some form + + char tag[4]; //'MTHP' + u32 unknown; + u32 unknown2; + u32 maxFrameSize; + + u32 width; + u32 height; + u32 fps; + u32 numFrames; + + u32 offset; + u32 unknown5; + u32 firstFrameSize; + + //5 padding u32's follow +}; + +//frame: +//u32 size of NEXT frame +//jpeg data + +//see thp (above) for jpeg format. there's a small difference, though: +//mth jpegs end with 0xff 0xd9 0xff instead of 0xff 0xd9 + +#pragma pack(pop) + +//little helper class that represents one frame of video +//data is 24 bpp, scanlines aligned to 4 byte boundary +class VideoFrame +{ +public: + VideoFrame(); + ~VideoFrame(); + + void resize(int width, int height); + + int getWidth() const; + int getHeight() const; + int getPitch() const; + u8* getData(); + const u8* getData() const; + + void dealloc(); + +private: + u8* _data; + int _w; + int _h; + int _p; //pitch in bytes + + //copy constructor and asignment operator are not allowed + //VideoFrame(const VideoFrame& f); + VideoFrame& operator=(const VideoFrame& f); +}; + +//swaps red and blue channel of a video frame +void swapRB(VideoFrame& f); + + +class VideoFile +{ +public: + VideoFile(FILE* f); + virtual ~VideoFile(); + + + virtual int getWidth() const; + virtual int getHeight() const; + virtual float getFps() const; + virtual int getFrameCount() const; + virtual int getCurrentFrameNr() const; + + virtual void loadNextFrame(); + + virtual void getCurrentFrame(VideoFrame& frame) const; + virtual void SetFrameNo( u32 frameNo ); + + //sound support: + virtual bool hasSound() const; + virtual int getNumChannels() const; + virtual int getFrequency() const; + virtual int getMaxAudioSamples() const; + virtual int getCurrentBuffer(s16* data) const; + + +protected: + + FILE* _f; + + //void loadFrame(long offset, int size); + void loadFrame(VideoFrame& frame, const u8* data, int size) const; + +}; + +VideoFile* openVideo(const std::string& fileName); +void closeVideo(VideoFile*& vf); + + +class ThpVideoFile : public VideoFile +{ +public: + ThpVideoFile(FILE* f); + + virtual int getWidth() const; + virtual int getHeight() const; + virtual float getFps() const; + virtual int getFrameCount() const; + + virtual int getCurrentFrameNr() const; + + virtual void loadNextFrame(); + + virtual void getCurrentFrame(VideoFrame& frame) const; + virtual void SetFrameNo( u32 frameNo ); + + virtual bool hasSound() const; + virtual int getNumChannels() const; + virtual int getFrequency() const; + virtual int getMaxAudioSamples() const; + virtual int getCurrentBuffer(s16* data) const; + + +protected: + ThpHeader _head; + ThpComponents _components; + ThpVideoInfo _videoInfo; + ThpAudioInfo _audioInfo; + int _numInts; + + int _currFrameNr; + int _nextFrameOffset; + int _nextFrameSize; + std::vector _currFrameData; +}; + +class MthVideoFile : public VideoFile +{ +public: + MthVideoFile(FILE* f); + + virtual int getWidth() const; + virtual int getHeight() const; + virtual float getFps() const; + virtual int getFrameCount() const; + + virtual int getCurrentFrameNr() const; + virtual void SetFrameNo( u32 frameNo ); + + virtual void loadNextFrame(); + + virtual void getCurrentFrame(VideoFrame& frame) const; + +protected: + MthHeader _head; + + int _currFrameNr; + int _nextFrameOffset; + int _nextFrameSize; + int _thisFrameSize; + std::vector _currFrameData; +}; + +class JpgVideoFile : public VideoFile +{ +public: + JpgVideoFile(FILE* f); + + virtual int getWidth() const; + virtual int getHeight() const; + virtual int getFrameCount() const; + + virtual void getCurrentFrame(VideoFrame& frame) const; + +private: + VideoFrame _currFrame; +}; + +#endif //THAKIS_GCVID_H diff --git a/thp_player/main.cpp b/thp_player/main.cpp new file mode 100644 index 0000000..a7e05d9 --- /dev/null +++ b/thp_player/main.cpp @@ -0,0 +1,12 @@ +#include +#include "thpwindow.h" + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + Q_INIT_RESOURCE( rc ); + ThpWindow w; + w.show(); + + return a.exec(); +} diff --git a/thp_player/next.png b/thp_player/next.png new file mode 100644 index 0000000000000000000000000000000000000000..7c663b380bb5f686b84d31a2eb3792a0239b9419 GIT binary patch literal 5389 zcmWky2|Uy9A0Ij9$`o46nVfT#>*ux%qg7<&=g1uua{a;_xpTDSnA}Px{H;*VVs2WZ zB;=U0#oVhT*Z=9e=ezG~+xPW6-+eys&-?xUJSkT$ne%ara6=#vK8%H_4Y+E7QxnPo z-nl=*gTaL**v1?MA%8$DgAW|;R_3OVqrb1xw-s678?HMR4&XMPlYdVZNPZz4e90Mt z!J;`QS=hKmhs@Jga;cKdT%7T_} zwXP+)NE*8Cop}GbVty6({n6A{6S&u?0v!7Zqj9g8du*s`X`Cgs!GfopUBtTIUnGlE zd7+UD`ziC%3H*Hb^{uep1w1{v2){ldkrx~>&C2u2>qSV;mgjmi{hy6J!wqH|-QqWl z98CXka08xHR)^fdWU@t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new file mode 100644 index 0000000000000000000000000000000000000000..89844fd28a4372ce73f18d5ae0b825b36699e56a GIT binary patch literal 4949 zcmWky2|SbkAD>*qFj1D=?H{_(Pi%5z?ztu8swG11BayRMB}XALieXzSQ{G*Ykb7p6~IzKkxVF{dt~RTN(@UOYnn0AVE_T16$z!A8=}bd4MZk zC0Gl%afH|!qd;VuTCkF_Z2Ll>;LrpCV zd6^ts{8DEfz2@XVpreDP26}d0w0Ufk#- zx77skg<^7o=JWa@w}@Jw)4qM~rxX1%r~6?!`<<@V45m{p~Fv7X;rT3Sqs`iF9QXGv@} zTcNJ5?y+F2;sRxyy8tY!ObF$;LRW*E9%)qp$(pAZmwG!{&_CPPjgbczH`YK52xMq*SkODWRV+m96f~ZtW*!ZaJeBHhqBM91bQ5S@>VCncCNK>HOY>z``Gt!aPGd1M(};TvmJAAvNabu*X+|1XI<;>s zGJ=*yE}c_WeiR}k$7N18z*{#HEpk;fHIwjoxfxaj$QsKhSForFk~K~53mZd|=(Px4 z-PllH-#?v0LykLE>c9UCS8Q#quWPBRt5;E3^>WNASEnHrh!>8hyWILhwyK84$1)qE**m&JujnMJi3tW{YpA)o zS(>)<9NKaT!ifSqW+mRMOUY2Mni~4#?&##y^6eW$`u_rhN|`nMFDX#3+mM9=DOK59rOL(V1 zLn3B9)8WfMe-=dl>N>XBBA}edZs>4nhzu*XE!kU|o12S~YqL&=UznA|5#_SGG5-ES z|40HgM+H7DjsBj=9}2sh|xs|MlZ7DhbnwF3^;? zyxqH8JE<$^638*s&HMLZz<|lBE|gHd#uaxTA9Q~l21Z4eVpafABk z9UsW#WhF8GjO0)CL~j65Eas+%2e)ymB!@es{g#N#b~CRE63N%`>Y??Sd(5h9UqmC0 z%B5o#PmX}Ta6wGdn}Z~ywp(R7e*TojK7JfD*}|QN2ttizCyLybA5{cXAJje2310p- z{ODvd^1T5KU|J3r_cYHxM^PLG?o!G z`c)CkQk^#09w}t8Soilg82xnmqbQxUQs?Tz>S}Qc`P7ReeV48tK7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Wm4tTZuCA1t7>2W@3ly7NpctOEnNLCnD- zAzAaxEkSqj{~oZjkVV4c+FM@ibB}$n+rF%@hgnU(=|KB%>LjOc#JR2l%Y&Fj89BwM zW+^*32(o%$5Mbr7tf-j)#iXQlVO9z9aliS8%Y~xa&Q<4|9X52jH6lrdvnX!=`E-Y~ zEC1$Mm2>`#v~6_fiCz2nck8*my?uSr;1c*8AY5TzD&zY2v9g*P9Rh82MJ#IeyyZ?J z6MAB!pans$$7E#@fBZl$`}R{zAZ`dWfHCd<%DC6e<^8{d{l!gZsUR1=WnCWo7<4jd zV`KAL1+y}b(iIFVdD>CA48|XMn0ndg`|J!R|@jnh4FO3bj>0s^h;eF7_KMNv}C=13+Ia1#1&;(){9D~Ae;=IrqUv+HoOZaEPOUHPm z+egt6N6D_?B%{OcsjW|E(;c#XkMbYhI_zwi7Pn|J@ZW6{iDhA7QLyAteI%Z`j3=nm zbb@*HM#ZfAA6dak$v3V z*GsDccgsVYKOS^W|7)F1P(FxGjZ(uSO@a=0mi~b+UajHb;dr5_9SNrPYkRtm-1@<5 z)>6IOA4-?~8q3Se-&qlHA}sQMW*Q?dk4x`5E$pOQWZ7By{j~P5wJliRn(J`|yj@#c z`$oMGhf3DuP3_4mFJ~-&P*quJT37b&V7);*AZ7c{<&zGZS^W2|Rq(wLqJh>`sZ_GW F{tt@zFFgPN literal 0 HcmV?d00001 diff --git a/thp_player/rc.qrc b/thp_player/rc.qrc new file mode 100644 index 0000000..a398b44 --- /dev/null +++ b/thp_player/rc.qrc @@ -0,0 +1,16 @@ + + + ffw.png + next.png + pause.png + play.png + prev.png + repeat.png + rev.png + star.png + stop.png + vol_high.png + vol_low.png + vol_med.png + + diff --git a/thp_player/repeat.png b/thp_player/repeat.png new file mode 100644 index 0000000000000000000000000000000000000000..6004c5dc234e1b2ed4d16f999675cd4742b70103 GIT binary patch literal 5629 zcmW+)2{=^!7akEqmI-Ar)}&Dql4LB6j4fj)gp4(ekFjJO)nI6pgluJLd@abHv5(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@~>3XR%_e%3!i^X<Kt^dvSnuEb{;pdGX`<@5+-)@fG&Ad^+ z(t4Nux{^!NPa|Q>I2CzIUXc4rhUXqF4G)ncTh&{=Bs%v8aE(>V6=sjn%Kw>Gb~n{r&&K zL#d4;c)Ogw7i~A6eCIAH_VvqAcPX;r)I_05fEyAqQ+K&IBO@dC|1hw(nG4+y#3g|J vaUkh2>bH_+;XuHQ;AwVBnYwRc+YY$WCvIOW{__kAcC!#;jG2C!o-65p`N^~* literal 0 HcmV?d00001 diff --git a/thp_player/rev.png b/thp_player/rev.png new file mode 100644 index 0000000000000000000000000000000000000000..f1e9ceaf2a6533348df56b64e67042075ac93d71 GIT binary patch literal 5332 zcmWky2RxK-96uv>nP;DDNtf)5QwSLy87CuqB_ra@vNKMJD<@>H5ISUK6GHi0i8Hb~ z5{k0U?*Dl2-uM07^Lg+6z3=b&eaG*4YHX;>M1PJR0)a50Z)%x+=Bug`*KWWc6mhFt4OD;x+8GXElu58ar%Ogx`>uMExr4>>PsKQ z6qz4*5_qodCM>UoXN7DuQr1}xRrzlRzL%W*ee?Wt*Y(!ru-T#Iupx|3to`WdXq-pg zlraLg=5Gsyh@z=`5Cl;Tf~Yaa87$vg)As`up0!uDQ|9fsN1gtd$Bqr0*45NZwb7+N)#BuB zUQbVtqVJ%td8M6dZSc-&i;LxbGHTtJ;{tE*J09&3`peoF+8%_dS!@9k(qU#+M-PsHPQgL8tW%`9x|$_opf)y>9KB0b@>#bsqT z3AB(7M05cXt_gw28zkp)YCkSOf>A7Av}})pK@E@dGd!7tA+|F;xb@@+&wtJC=G8tp>dE49?LLO?Yh$b2Je#=Fp}dmS>7D5MsRH zGsud|Z=r+u+v;A;))7z9MBsdExiK7%*%+J|Ar0_O!y=Q>nwpx6uCA_vf&v2JR4FkB^UK4A>nJB8)dyQgM#zun#=Wewt6n&d$zI9UUFJf5Ul(St!|W zBO~wLmz216Q;r`%#GG&4lNprJ`UPv3n<$k54t2L-)Brtk?8J zqu<5dUz5>oZE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sWMQpFkAT6GAAq+6IJcSTe0>TQXo1a@mSx+1mKU!z$T`U7=&MchZz&ilM_q5rUzVbq_v%u zazOKo9mR>UoO$&&&2=(W?qsyU-lzz^;mLVg5v@9_SU5G1M-VN**1gW7PFz9HDzN}o zWO9~dFHjXic>pqL)RX8n?ZXEJz0uaz)_m6awEld% z%Kkg_U2r^kqN&1Y7FA2$gBrTE|2y6o%2o@zDu`Q{S~8$AfKibGMrLQFc-#H2wmLmT zGYOf6pS#Qg(%9Z^&t(;_daloB&_&Gl&Yg~8gUmc6Jr_4OrqmRK1`7FOc{%CR-C;NR z;WtWmixUc-=wjqg+v)A)lTAPA@cEd)!`5|bRn%^Lr1M}G6zrrS-LVx-< zsWeRan2f4wqKy=EQ2F!H=Ef@>Q54IOvZ_l~%g*j}&OgB*)ts>1$rYop)!W%cCZ%&S z3C!!*M0x8<(#X3O9-X6##vWsri*#RZRX$OcPbS@a?kEZXtESM>hViuk5a;uWM2eo|06%|__BRjQAa7#Ngs$3VQZHp= z?jK9UcFx9Q8YnLJU_auQ0;97QY$RK+=$1&c2K>~Zfqt4$4XCOw-}!3hW6)zlW6s_1 z)y>;FazyW*Jn zr^?Ipxo&fO6csZ#);BU@X=-k^$kA}px6Us$U8UhsxWFO6Y!;#uiTO1){m-P9)+q0cw@1w^Oj!bNL@GaMU(+2t z3;xr^K?N4oD8u-CW3py>uI+ecqvhepA+hZ15p5Jf!SKa;_KSwUHp3!>l0PkyQG-Cw z*q~oi-=j(?1t>iNtplUgD3^PU_V;4H$5_5C6y9r&QW6pzY&h#Tr22er=c9DX-?-2F z7qdkU_wys>9`5~FNCIu5Us_oi&5Hk379oZX(^;j;Lah-MPQo+k2y>1zBW%127>>!d z4Wsw9wYO${`z0%914y<*-cu@f_M8_FjhByeP1lGM74{)`__+voLenAYf24XeH~;_u literal 0 HcmV?d00001 diff --git a/thp_player/star.png b/thp_player/star.png new file mode 100644 index 0000000000000000000000000000000000000000..e209cd4dbd117ffc0dfa10cf309c5094c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v}Ez9}GCW`Jp5y_cquq`0a?yqe6FE95@8^_ttADfL1+lM$ykE*5@dRJ?5ltKX%CW)|#U%FrF m8CbbWNU`16*6Gos6QtJxs2{A&M>ecEv#s442s9)d! literal 0 HcmV?d00001 diff --git a/thp_player/stop.png b/thp_player/stop.png new file mode 100644 index 0000000000000000000000000000000000000000..807cf24cf7146081beeae43490677ec1bf6e4d25 GIT binary patch literal 5003 zcmWky2{cr1934w2+k_bVHrba^6C?W;V`uDJS&}{5R7m!*%T8p9GLnpp?E4?dHe`~@ zT9zS&8jRilb>8{jJMW$Iz3-mi?|%2*_fjp*4OuVnT>ybVtVkn$Yv8H^3}q$;;Ov=9 zvjkjd!mJH-L3pCTI&j0_VPdEcI{SA#@2tuLo}3Rhats53m^uFq8c@ko2=I_G9BF32 zI735!f&bDt%9;fP;$%kZ>)80rk2(2g*iNHQ_af%Q7AWz(SBoH02@z&Xy|KvAzL#me z?B{J8Ynt$XUs#pBe(fY}Y};t(Tr}eF^R_&A9hv*p-Rl8ezx3-galR`c|plG;5_Iyh| zKN<3}yZZh!v#6bsv>B){KbI~A^ob?|_Wsn+_@MWFCja0T)#1y@gAbJ^MUf?AtJ>w3 z4|GZIYC)0Vu8IzY1xjY9X1R37!gFS%Vz90RGF~dJN0mnhoahcAp3@1|F+Rw;?YPi> zQ#(c>_zv-@W0mi>MuTgklWH#fUaGjCpRX}B}K*B^2mu3UPO>kcUe=Ho4;V6M|S(DR94lX*iBucv$u zuP0bHR*8WG|L6nn|2@-u;@22CAM&(&p(SLAznd#q(gORi!$zi4B=O7i)RgV0cY`Sj ze$IFr4SSyrJ^wP_Z`;IC5y`REhS&Bh!Qnrm1-rIJ>g(%oy!eRtHaB-7$*#G-xUWb* zyE0M~;) zL9H%qC=_ZalV9aV`oNEyL0{f}SEF8r?@~sS=X*BRY zQTl)xj5`FZ``oQ=X?3i$C4wRmw9u8=+N!E=ML$Bw9`c%)no7DPYxmr``niijAB+W< zC01%G@uF*{iPem>Tp(-DXT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Q`htdE5 literal 0 HcmV?d00001 diff --git a/thp_player/thp_player.pro b/thp_player/thp_player.pro new file mode 100644 index 0000000..37fae8e --- /dev/null +++ b/thp_player/thp_player.pro @@ -0,0 +1,26 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2011-01-05T10:05:50 +# +#------------------------------------------------- + +QT += core gui multimedia + +TARGET = thp_player +TEMPLATE = app + + +SOURCES += main.cpp\ + thpwindow.cpp \ + gcvid.cpp + +HEADERS += thpwindow.h \ + gcvid.h + +FORMS += thpwindow.ui + +CONFIG += static +LIBS += -ljpeg + +RESOURCES += \ + rc.qrc diff --git a/thp_player/thpwindow.cpp b/thp_player/thpwindow.cpp new file mode 100644 index 0000000..db383c2 --- /dev/null +++ b/thp_player/thpwindow.cpp @@ -0,0 +1,376 @@ +#include "thpwindow.h" +#include "ui_thpwindow.h" +#include "../WiiQt/tools.h" + +#define MAX_BUFFERS 50 //in frames +#define BUFFER_DELAY 200 //time to wait between checking buffer size ( msecs ) + +ThpWindow::ThpWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::ThpWindow) +{ + ui->setupUi( this ); + ui->mainToolBar->setVisible( false ); + ui->label_fName->clear(); + ui->label_fpsT->clear(); + ui->label_itemNo->clear(); + ui->label_sizeT->clear(); + ui->label_timeCur->clear(); + ui->label_timeFull->clear(); + ui->label_video->clear(); + ui->scrollArea->setWidgetResizable( false ); + EnableGui( false ); + ui->statusBar->addPermanentWidget( ui->label_fName, 0 ); + ui->statusBar->addPermanentWidget( ui->label_itemNo, 0 ); + + AudioOutputDevice = NULL; + AudioOutput = NULL; + videoFile = NULL; + dontBuffer = false; + //currentDir = QDir::currentPath(); + currentDir = "/media/Jenna/jenna/c/gui_fork/SSBB_JAP/DATA/files/movie"; + + //workaround for some bullshit bug in the Qt libs + foreach( const QAudioDeviceInfo &deviceInfo, QAudioDeviceInfo::availableDevices( QAudio::AudioOutput ) ) + { + qDebug() << "l:" << deviceInfo.deviceName(); + } + + connect( &timer, SIGNAL( timeout() ), this, SLOT( ShowNextFrame() ) ); + +} + +ThpWindow::~ThpWindow() +{ + dontBuffer = true; + timer.stop(); + delete ui; + if(videoFile) + { + closeVideo( videoFile ); + videoFile = NULL; + } + if( AudioOutput ) + { + AudioOutput->stop(); + delete AudioOutput; + AudioOutput = NULL; + } +} + +//open file +void ThpWindow::on_actionOpen_triggered() +{ + timer.stop(); + dontBuffer = true; + playList.clear(); + curPlayListPos = 0; + QStringList fNames = QFileDialog::getOpenFileNames( this, tr("Open Files"), currentDir, tr("Wii/GC Videos (*.thp *.mth)") ); + if( fNames.isEmpty() ) + return; + + foreach( QString str, fNames ) + playList << str; + + currentDir = QFileInfo( playList.at( 0 ) ).absolutePath(); + + PlayPlayListItem( 0 ); +} + +//open folder +void ThpWindow::on_actionOpen_Folder_triggered() +{ + timer.stop(); + dontBuffer = true; + playList.clear(); + curPlayListPos = 0; + QString dirName = QFileDialog::getExistingDirectory( this, tr( "Open Folder" ), currentDir ); + if( dirName.isEmpty() ) + return; + + currentDir = dirName; + + QDir dir( dirName ); + QFileInfoList fil = dir.entryInfoList( QStringList() << "*.thp" << "*.mth" , QDir::Files ); + //qDebug() << "found" << fil.size() << "items"; + foreach( QFileInfo fi, fil ) + playList << fi.absoluteFilePath(); + + PlayPlayListItem( 0 ); +} + +void ThpWindow::PlayPlayListItem( quint32 i ) +{ + //qDebug() << "ThpWindow::PlayPlayListItem" << i; + if( !playList.size() ) //no videos to play + { + ui->label_itemNo->clear(); + return; + } + + if( i >= (quint32)playList.size() ) //all videos are played + { + curPlayListPos = 0; //skip back to beginning + if( !ui->pushButton_loop->isChecked() ) //dont loop + { + ui->pushButton_playPause->setChecked( false ); + timer.stop(); + dontBuffer = true; + } + } + + ui->label_itemNo->setText( QString( "%1 / %2").arg( curPlayListPos + 1 ).arg( playList.size() ) ); + LoadVideo( playList.at( curPlayListPos ) ); +} + +void ThpWindow::LoadVideo( const QString &path ) +{ + //qDebug() << "ThpWindow::LoadVideo" << path; + EnableGui( false ); + std::string filepath = path.toUtf8().constData(); + + ui->progressBar_buffer->setValue( 0 ); + + //stop current video + timer.stop(); + if( videoFile ) + { + closeVideo( videoFile ); + videoFile = NULL; + } + + Frames.clear(); + SoundBuffers.clear(); + + videoFile = openVideo( filepath ); + if( !videoFile ) + { + QMessageBox::information( this, tr("Player"), tr("Cannot load %1.").arg( path ) ); + return; + } + + //dontBuffer = false; + ui->label_video->setFixedSize( videoFile->getWidth(), videoFile->getHeight() ); + frameCnt = videoFile->getFrameCount(); + curFrame = 0; + for( quint8 i = 0; i < 3; i++ ) + LoadNextFrame(); + + CreateAudioOutput(); + + //show some info in the gui + ui->label_fpsT->setText( QString( "%1" ).arg( videoFile->getFps(), 0, 'f', 3 ) ); + ui->label_sizeT->setText( QString( "%1 x %2" ).arg( videoFile->getWidth() ).arg( videoFile->getHeight() ) ); + ui->label_fName->setText( QFileInfo( path ).fileName() ); + ui->horizontalSlider_pos->setMaximum( frameCnt ); + + //set timer for animation + qreal delay = 1000.0f/videoFile->getFps(); + ui->label_timeFull->setText( TimeTxt( delay * videoFile->getFrameCount() )); + timer.setInterval( delay ); + + //if play button is clicked, just play + if( ui->pushButton_playPause->isChecked() ) + timer.start(); + //otherwise just load the first frame + else + ShowNextFrame(); + + //allow the buttons to work + EnableGui( true ); +} + +QString ThpWindow::TimeTxt( quint64 msecs ) +{ + quint32 hours = msecs / 3600000; + msecs -= ( hours * 3600000 ); + quint32 minutes = msecs / 60000; + msecs -= ( minutes * 60000 ); + quint32 seconds = msecs / 1000; + msecs -= ( seconds * 1000 ); + return QString( "%1:%2:%3.%4" ).arg( hours, 2, 10, QChar( '0' ) ) + .arg( minutes, 2, 10, QChar( '0' ) ) + .arg( seconds, 2, 10, QChar( '0' ) ) + .arg( msecs, 3, 10, QChar( '0' ) ); +} + +void ThpWindow::LoadNextFrame() +{ + //qDebug() << "ThpWindow::LoadNextFrame()"; + VideoFrame VideoF; + videoFile->loadNextFrame(); + videoFile->getCurrentFrame(VideoF); + QImage image(VideoF.getData(), VideoF.getWidth(), VideoF.getHeight(), QImage::Format_RGB888); + if (image.isNull()) + return; + + Frames.push_back(QPixmap::fromImage(image)); + + + int SoundPos = SoundBuffers.size(); + SoundBuffers.resize(SoundBuffers.size()+1); + SoundBuffers[SoundPos].Buffer.resize(videoFile->getMaxAudioSamples()*2); + SoundBuffers[SoundPos].Size = videoFile->getCurrentBuffer(&SoundBuffers[SoundPos].Buffer[0])*2*2; +} + +void ThpWindow::ShowNextFrame() +{ + //qDebug() << "ThpWindow::ShowNextFrame()" << Frames.size() << curFrame << frameCnt; + if( Frames.size() < 3 ) + { + BufferIfNeeded(); + return; + } + if( ++curFrame >= frameCnt ) //end of video + { + PlayPlayListItem( ++curPlayListPos ); + return; + } + + ui->horizontalSlider_pos->setValue( curFrame ); + qreal delay = 1000.0f/videoFile->getFps(); + ui->label_timeCur->setText( TimeTxt( delay * videoFile->getCurrentFrameNr() ) ); + + ui->label_video->setPixmap(Frames[2]); + //ui->label_video->setPixmap(Frames[0]); + + if( AudioOutputDevice && ui->pushButton_vol->isChecked() ) + //&& SoundBuffers.size() > 2 + //&& SoundBuffers[ 2 ].Buffer.size() + //&& SoundBuffers[ 2 ].Size ) + AudioOutputDevice->write((char *) &SoundBuffers[2].Buffer[0], SoundBuffers[2].Size); + + Frames.erase(Frames.begin()); + SoundBuffers.erase(SoundBuffers.begin()); +} + +void ThpWindow::BufferIfNeeded() +{ + + if( dontBuffer ) + return; //break the buffer loop + + if( Frames.size() < MAX_BUFFERS )//we need to read a frame + { + LoadNextFrame(); + } + + //show buffer in the gui + int b = ((float)Frames.size() / (float)MAX_BUFFERS) * 100.0f; + ui->progressBar_buffer->setValue( b ); + + //wait a bit and call this function again + QTimer::singleShot( BUFFER_DELAY, this, SLOT( BufferIfNeeded() ) ); +} + +void ThpWindow::CreateAudioOutput() +{ + //qDebug() << "ThpWindow::CreateAudioOutput()" << timer.isActive(); + + if( AudioOutput ) + { + AudioOutput->stop(); + delete AudioOutput; + AudioOutput = NULL; + } + AudioOutputDevice = NULL; + + AudioFormat.setFrequency( videoFile->getFrequency() ); + AudioFormat.setChannels( videoFile->getNumChannels() ); + AudioFormat.setSampleSize( 16 ); + AudioFormat.setCodec( "audio/pcm" ); + AudioFormat.setByteOrder( QAudioFormat::LittleEndian ); + AudioFormat.setSampleType( QAudioFormat::SignedInt ); + + QAudioDeviceInfo info( QAudioDeviceInfo::defaultOutputDevice() ); + if( !info.isFormatSupported( AudioFormat ) ) + { + AudioFormat = info.nearestFormat( AudioFormat );//try to find a usable audio playback format + if( !info.isFormatSupported( AudioFormat ) ) + { + qWarning() << "unsupported audio format: can't play anything"; + ui->statusBar->showMessage( tr( "Can't find suitable audio format" ), 5000 ); + return; + } + } + AudioOutput = new QAudioOutput( AudioFormat, this ); + if( !AudioOutput ) + { + ui->statusBar->showMessage( tr( "Audio output error" ), 5000 ); + qWarning() << "!AudioOutput"; + return; + } + AudioOutputDevice = AudioOutput->start(); + if( AudioOutput->error() ) + { + ui->statusBar->showMessage( tr( "Audio output error" ), 5000 ); + qWarning() << "AudioOutput->error()" << AudioOutput->error(); + AudioOutput->stop(); + AudioOutputDevice = NULL; + } +} + +//enable/disable buttons +void ThpWindow::EnableGui( bool enable ) +{ + ui->pushButton_ffw->setEnabled( enable ); + ui->pushButton_loop->setEnabled( enable ); + ui->pushButton_next->setEnabled( enable ); + ui->pushButton_playPause->setEnabled( enable ); + ui->pushButton_prev->setEnabled( enable ); + ui->pushButton_rewind->setEnabled( enable ); + ui->pushButton_stop->setEnabled( enable ); + ui->pushButton_vol->setEnabled( enable ); +} + +//play button +void ThpWindow::on_pushButton_playPause_clicked() +{ + if( ui->pushButton_playPause->isChecked() ) + { + dontBuffer = false;//start buffering again after stopped + timer.start(); + } + else + { + //dontBuffer = true;//ok to buffer while paused + timer.stop(); + } +} + +//next button +void ThpWindow::on_pushButton_next_clicked() +{ + PlayPlayListItem( ++curPlayListPos ); +} + +//prev button +void ThpWindow::on_pushButton_prev_clicked() +{ + if( !curPlayListPos ) + curPlayListPos = playList.size(); + PlayPlayListItem( --curPlayListPos ); +} + +//stop button +void ThpWindow::on_pushButton_stop_clicked() +{ + //stop playback + timer.stop(); + ui->pushButton_playPause->setChecked( false ); + + //clear buffer + dontBuffer = true; + Frames.clear(); + SoundBuffers.clear(); + ui->progressBar_buffer->setValue( 0 ); + + //set video to first frame + videoFile->SetFrameNo( 0 ); + + //read a few frames into buffer + curFrame = 0; + for( quint8 i = 0; i < 3; i++ ) + LoadNextFrame(); + + //show first frame in gui + ShowNextFrame(); +} diff --git a/thp_player/thpwindow.h b/thp_player/thpwindow.h new file mode 100644 index 0000000..6f0f2da --- /dev/null +++ b/thp_player/thpwindow.h @@ -0,0 +1,73 @@ +#ifndef THPWINDOW_H +#define THPWINDOW_H + +#include +#include +#include "gcvid.h" +#include "../WiiQt/includes.h" + +namespace Ui { + class ThpWindow; +} + +typedef struct +{ + std::vector< qint16 > Buffer; + int Size; +} SoundFrame; + +class ThpWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit ThpWindow( QWidget *parent = 0 ); + ~ThpWindow(); + + void LoadVideo( const QString &path ); + +private: + Ui::ThpWindow *ui; + void LoadNextFrame(); + + VideoFile * videoFile; + QAudioOutput* AudioOutput; + QIODevice* AudioOutputDevice; + //QBuffer AudioOutputDevice; + QAudioFormat AudioFormat; + std::vector Frames; + std::vector SoundBuffers; + + void CreateAudioOutput(); + + QTimer timer; + bool dontBuffer; + + QString TimeTxt( quint64 msecs ); + quint64 frameCnt; + quint64 curFrame; + + QStringList playList; + quint32 curPlayListPos; + void PlayPlayListItem( quint32 i ); + QString currentDir; + + void EnableGui( bool enable = true ); + QSize MaxSizeForRatio( qreal w, qreal h ); + +private slots: + //void on_actionFit_To_Window_triggered(bool checked); + void on_pushButton_stop_clicked(); + void on_pushButton_prev_clicked(); + void on_pushButton_next_clicked(); + void on_actionOpen_Folder_triggered(); + void on_pushButton_playPause_clicked(); + void ShowNextFrame(); + void BufferIfNeeded(); + void on_actionOpen_triggered(); + +//protected: + //void resizeEvent ( QResizeEvent * event ); +}; + +#endif // THPWINDOW_H diff --git a/thp_player/thpwindow.ui b/thp_player/thpwindow.ui new file mode 100644 index 0000000..04e6736 --- /dev/null +++ b/thp_player/thpwindow.ui @@ -0,0 +1,485 @@ + + + ThpWindow + + + + 0 + 0 + 644 + 714 + + + + ThpWindow + + + + + 2 + + + 2 + + + + + + 640 + 520 + + + + true + + + Qt::AlignCenter + + + + + 0 + 0 + 636 + 516 + + + + + 0 + + + 0 + + + + + + 0 + 0 + + + + video goes here + + + true + + + Qt::AlignCenter + + + + + + + + + + + 2 + + + QLayout::SetDefaultConstraint + + + + + 2 + + + + + 0 + + + + + false + + + + 486 + 0 + + + + Qt::Horizontal + + + false + + + false + + + + + + + curTime + + + Qt::AlignCenter + + + + + + + + + 2 + + + + + + + + + :/prev.png:/prev.png + + + + 36 + 36 + + + + false + + + false + + + + + + + + + + + :/rev.png:/rev.png + + + + 36 + 36 + + + + false + + + false + + + + + + + + + + + :/play.png + :/pause.png:/play.png + + + + 36 + 36 + + + + true + + + false + + + + + + + + + + + :/stop.png:/stop.png + + + + 36 + 36 + + + + false + + + false + + + + + + + + + + + :/ffw.png:/ffw.png + + + + 36 + 36 + + + + false + + + false + + + + + + + + + + + :/next.png:/next.png + + + + 36 + 36 + + + + false + + + false + + + + + + + + + + + :/repeat.png:/repeat.png + + + + 36 + 36 + + + + true + + + false + + + + + + + Qt::Horizontal + + + + 20 + 20 + + + + + + + + + + + + :/vol_low.png + :/vol_high.png:/vol_low.png + + + + 36 + 36 + + + + true + + + true + + + + + + + + + + + 2 + + + QLayout::SetFixedSize + + + + + totalTime + + + Qt::AlignCenter + + + + + + + QLayout::SetMinAndMaxSize + + + QFormLayout::AllNonFixedFieldsGrow + + + 2 + + + 2 + + + + + FPS: + + + + + + + fps + + + + + + + Size: + + + + + + + x x y + + + + + + + Buffer + + + + + + + 0 + + + + + + + + + + + + + + + + TextLabel + + + + + + + TextLabel + + + + + + + + + 0 + 0 + 644 + 27 + + + + + File + + + + + + + + + TopToolBarArea + + + false + + + + + + Open File + + + Ctrl+O + + + + + Open Folder + + + Ctrl+P + + + + + + + + + diff --git a/thp_player/vol_high.png b/thp_player/vol_high.png new file mode 100644 index 0000000000000000000000000000000000000000..a1ed330afe37b04b73e24aeca04bed4ed7dbdf2e GIT binary patch literal 5682 zcmWky2|SeR7asc%nq-+u*16dR!yQs~SsIyZ%NjAZ>`bzS?38ScBKuO@8yQ=6S+g}U zG1(fszoqPyvHQRMX8(TQeD8P8dCv1Z=Y3}Mj~)lxWi|)|!hyN1Z2~?O!Ak+k4Bpv> z;C|qP&d)?o3ql;^{{en5JKWLJhMfI*6ny+Q4IE+hy=?_fJ9qKViw=^N0|y6L9$~OL zEL1v1wyOf1R3tqF!c&dW*1YRF-EHmVX)}`fWTP?PZ+S3reLT5pfsE*RXc9%wI^o3n zj_X40hwzB0uczYB6~#y4W+x}Do99KsXZoHyiKYw(Lf-t! zbz*hBdEjlQ%$vxq{oD9o?pKacKGNX0io>I zIJp-W7k3{^vHm+VQ5br>{;Jl8BjUUeBdiC{PTut-RWC`CF4Mx!Y}E3@!*`bkiqGoX zT^>9*mmzC6T~YdTZ*+8Yx~Zv2M(egmRtX1&0LSxtU=98d)VUMmh{Z2x|({(vXNPEiHJtQ?Q^ECj^Btc37B=Bp3bH@ZkgczT_+BbFrP< zt*x!Yb_$i}_+&nqNxo99_ndeba_d%CzzhupJOqh=bq0ziJHoVrj7m$j2#6S5U-a{$ zl~S5Zf5A(wbmx4S!$qxxix)3;jky0_{1`%OJ+NS1`$(Inf*jY^c}`U8!D3`)XdGHk zuR-Z&k`NdnlDxLDHayPPmXEmV;Oxwlx2$Q*?V1(W)O7RP$O!ljje_V)Lqo#w`il+&Y@YCLPZ% zilOA?qqev4-^RuqS4YcNHaB}qu-U1kMR3jd+0UQZN=iz6_tvbw3=Dwi*2b$C>Zby( zfZRlRDxM=%7nDlQD=i^JF($zd4h|Y)zaJbP9T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