[Phission-cvs] phission/projects/VDK/PhissionTests/include BlobTest.h, NONE, 1.1 RedTestImageOne.h,
Brought to you by:
pthoren
Update of /cvsroot/phission/phission/projects/VDK/PhissionTests/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8975/PhissionTests/include Added Files: BlobTest.h RedTestImageOne.h RedTestImageTwo.h TestImageOne.h TestImageTwo.h phRWLockTest.h phThreadTest.h Log Message: This project is meant for VDSP++ 4.5 and the new driver/System Service Libraries --- NEW FILE: phThreadTest.h --- #ifndef PHTHREADTEST_H #define PHTHREADTEST_H #if defined(__ADSPBLACKFIN__) #define main phThreadTest_main #endif #endif --- NEW FILE: TestImageOne.h --- /* GIMP header image file format (RGB): /home/phil/TestImageOne.h */ static uint32_t TestImageOne_width = 160; static uint32_t TestImageOne_height = 120; /* Call this macro repeatedly. After each use, the pixel data can be extracted */ #define TestImageOne_HEADER_PIXEL(data,pixel) {\ pixel[0] = (((data[0] - 33) << 2) | ((data[1] - 33) >> 4)); \ pixel[1] = ((((data[1] - 33) & 0xF) << 4) | ((data[2] - 33) >> 2)); \ pixel[2] = ((((data[2] - 33) & 0x3) << 6) | ((data[3] - 33))); \ data += 4; \ } static char *TestImageOne_header_data = "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" [...1176 lines suppressed...] "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" ""; --- NEW FILE: RedTestImageTwo.h --- /* GIMP RGB C-Source image dump (RedTestImageTwo) */ static const struct { uint32_t width; uint32_t height; uint32_t bytes_per_pixel; /* 3:RGB, 4:RGBA */ char *comment; uint8_t pixel_data[160 * 120 * 3 + 1]; } red_test_image_two = { 160, 120, 3, "Created with The GIMP", "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" [...3019 lines suppressed...] "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376", }; --- NEW FILE: RedTestImageOne.h --- /* GIMP RGB C-Source image dump (RedTestImageOne) */ static const struct { uint32_t width; uint32_t height; uint32_t bytes_per_pixel; /* 3:RGB, 4:RGBA */ char *comment; uint8_t pixel_data[160 * 120 * 3 + 1]; } red_test_image_one = { 160, 120, 3, "Created with The GIMP", "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" [...3019 lines suppressed...] "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376\376" "\376\376\376\376\376\376\376\376", }; --- NEW FILE: TestImageTwo.h --- /* GIMP header image file format (RGB): /home/phil/TestImageTwo.h */ static uint32_t TestImageTwo_width = 160; static uint32_t TestImageTwo_height = 120; /* Call this macro repeatedly. After each use, the pixel data can be extracted */ #define TestImageTwo_HEADER_PIXEL(data,pixel) {\ pixel[0] = (((data[0] - 33) << 2) | ((data[1] - 33) >> 4)); \ pixel[1] = ((((data[1] - 33) & 0xF) << 4) | ((data[2] - 33) >> 2)); \ pixel[2] = ((((data[2] - 33) & 0x3) << 6) | ((data[3] - 33))); \ data += 4; \ } static char *TestImageTwo_header_data = "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" [...1176 lines suppressed...] "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" "````````````````````````````````````````````````````````````````" ""; --- NEW FILE: phRWLockTest.h --- #ifndef PHRWLOCKTEST_H #define PHRWLOCKTEST_H #if defined(__ADSPBLACKFIN__) #define main phRWLockTest_main #endif #endif --- NEW FILE: BlobTest.h --- #ifndef BLOBTEST_H #define BLOBTEST_H #define main BlobTest_main #endif |