Difference between revisions of "DPS915/M-N-M"
Mohamed Baig (talk | contribs) (→Potential Projects) |
Mohamed Baig (talk | contribs) |
||
Line 30: | Line 30: | ||
== Progress == | == Progress == | ||
=== Assignment 1 === | === Assignment 1 === | ||
+ | === Mohamed Baig: Steganography using Steghide === | ||
+ | : Steghide has certain dependencies that it uses to complete its function. | ||
+ | : '''Dependencies:''' | ||
+ | [[Image:Makefile_change.png|thumb|200px|Makefile changes made ]] | ||
+ | ::* libmash | ||
+ | ::* libcrypt | ||
+ | ::* libjpeg | ||
+ | ::* zlib | ||
+ | :* Ran the '''Configure''' file to see if I have all the Dependencies | ||
+ | :* Installed the all the dependencies | ||
+ | :* Ran '''Configure''' again to generate Makefile in the '''src''' folder | ||
+ | :* Altered the Makefile to enable profiling | ||
+ | :* Altered some source files to avoid errors | ||
+ | AuSampleValues.cc | ||
+ | <pre> | ||
+ | #include "AuSampleValues.h" | ||
+ | |||
+ | // AuMuLawSampleValue | ||
+ | template <> //My change | ||
+ | const BYTE AuMuLawSampleValue::MinValue = 0 ; | ||
+ | template <> //My change | ||
+ | const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ; | ||
+ | |||
+ | // AuPCM8SampleValue | ||
+ | template <> //My change | ||
+ | const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ; | ||
+ | template <> //My change | ||
+ | const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ; | ||
+ | |||
+ | // AuPCM16SampleValue | ||
+ | template <> //My change | ||
+ | const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ; | ||
+ | template <> //My change | ||
+ | const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ; | ||
+ | |||
+ | // AuPCM32SampleValue | ||
+ | template <> //My change | ||
+ | const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ; | ||
+ | template <> //My change | ||
+ | const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ; | ||
+ | </pre> | ||
+ | AuData.h | ||
+ | <pre> | ||
+ | #ifndef SH_AUDATA_H | ||
+ | #define SH_AUDATA_H | ||
+ | |||
+ | #include "BinaryIO.h" | ||
+ | #include "AudioData.h" | ||
+ | |||
+ | // AuMuLawAudioData | ||
+ | typedef AudioDataImpl<AuMuLaw,BYTE> AuMuLawAudioData ; | ||
+ | template <> //My change | ||
+ | inline BYTE AuMuLawAudioData::readValue (BinaryIO* io) const { return (io->read8()) ; } | ||
+ | template <> //My change | ||
+ | inline void AuMuLawAudioData::writeValue (BinaryIO* io, BYTE v) const { io->write8(v) ; } | ||
+ | |||
+ | // AuPCM8AudioData | ||
+ | typedef AudioDataImpl<AuPCM8,SBYTE> AuPCM8AudioData ; | ||
+ | template <> //My change | ||
+ | inline SBYTE AuPCM8AudioData::readValue (BinaryIO* io) const { return ((SBYTE) io->read8()) ; } | ||
+ | template <> //My change | ||
+ | inline void AuPCM8AudioData::writeValue (BinaryIO* io, SBYTE v) const { io->write8((BYTE) v) ; } | ||
+ | |||
+ | // AuPCM16AudioData | ||
+ | typedef AudioDataImpl<AuPCM16,SWORD16> AuPCM16AudioData ; | ||
+ | template <> //My change | ||
+ | inline SWORD16 AuPCM16AudioData::readValue (BinaryIO* io) const { return ((SWORD16) io->read16_be()) ; } | ||
+ | template <> //My change | ||
+ | inline void AuPCM16AudioData::writeValue (BinaryIO* io, SWORD16 v) const { io->write16_be((UWORD16) v) ; } | ||
+ | |||
+ | // AuPCM32AudioData | ||
+ | typedef AudioDataImpl<AuPCM32,SWORD32> AuPCM32AudioData ; | ||
+ | template <> //My change | ||
+ | inline SWORD32 AuPCM32AudioData::readValue (BinaryIO* io) const { return ((SWORD32) io->read32_be()) ; } | ||
+ | template <> //My change | ||
+ | inline void AuPCM32AudioData::writeValue (BinaryIO* io, SWORD32 v) const { io->write32_be((UWORD32) v) ; } | ||
+ | |||
+ | #endif // ndef SH_AUDATA_H | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | ---- | ||
=== Assignment 2 === | === Assignment 2 === | ||
=== Assignment 3 === | === Assignment 3 === |
Revision as of 09:19, 7 February 2013
GPU610/DPS915 | Student List | Group and Project Index | Student Resources | Glossary
Contents
Team: M-N-M
Team Members
Potential Projects
Project Name | Project Description | Status |
---|---|---|
C Compiler | Take the compilation process and transfer it to the GPU | Evaluating |
Galactic Collision Simulation | A 2D simulation of two galaxies colliding, with fully simulated gravity effects. | Evaluating |
Isomorphism of graphs | Check if two graphs are isomorphic in nature. This is a very straight forward program. | Evaluating |
Image Processing | Mathematical operations applied to images for colour negation, rotation, blurring effects, etc. | Evaluating |
Facial Recognition system | Speed up time taken to match face with database | Evaluating |
Steganography | Speed up the process of encrypting one type of file into another | Evaluating |
Progress
Assignment 1
Mohamed Baig: Steganography using Steghide
- Steghide has certain dependencies that it uses to complete its function.
- Dependencies:
- libmash
- libcrypt
- libjpeg
- zlib
- Ran the Configure file to see if I have all the Dependencies
- Installed the all the dependencies
- Ran Configure again to generate Makefile in the src folder
- Altered the Makefile to enable profiling
- Altered some source files to avoid errors
AuSampleValues.cc
#include "AuSampleValues.h" // AuMuLawSampleValue template <> //My change const BYTE AuMuLawSampleValue::MinValue = 0 ; template <> //My change const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ; // AuPCM8SampleValue template <> //My change const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ; template <> //My change const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ; // AuPCM16SampleValue template <> //My change const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ; template <> //My change const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ; // AuPCM32SampleValue template <> //My change const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ; template <> //My change const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ;
AuData.h
#ifndef SH_AUDATA_H #define SH_AUDATA_H #include "BinaryIO.h" #include "AudioData.h" // AuMuLawAudioData typedef AudioDataImpl<AuMuLaw,BYTE> AuMuLawAudioData ; template <> //My change inline BYTE AuMuLawAudioData::readValue (BinaryIO* io) const { return (io->read8()) ; } template <> //My change inline void AuMuLawAudioData::writeValue (BinaryIO* io, BYTE v) const { io->write8(v) ; } // AuPCM8AudioData typedef AudioDataImpl<AuPCM8,SBYTE> AuPCM8AudioData ; template <> //My change inline SBYTE AuPCM8AudioData::readValue (BinaryIO* io) const { return ((SBYTE) io->read8()) ; } template <> //My change inline void AuPCM8AudioData::writeValue (BinaryIO* io, SBYTE v) const { io->write8((BYTE) v) ; } // AuPCM16AudioData typedef AudioDataImpl<AuPCM16,SWORD16> AuPCM16AudioData ; template <> //My change inline SWORD16 AuPCM16AudioData::readValue (BinaryIO* io) const { return ((SWORD16) io->read16_be()) ; } template <> //My change inline void AuPCM16AudioData::writeValue (BinaryIO* io, SWORD16 v) const { io->write16_be((UWORD16) v) ; } // AuPCM32AudioData typedef AudioDataImpl<AuPCM32,SWORD32> AuPCM32AudioData ; template <> //My change inline SWORD32 AuPCM32AudioData::readValue (BinaryIO* io) const { return ((SWORD32) io->read32_be()) ; } template <> //My change inline void AuPCM32AudioData::writeValue (BinaryIO* io, SWORD32 v) const { io->write32_be((UWORD32) v) ; } #endif // ndef SH_AUDATA_H