shm folder rename

This commit is contained in:
ItsMAX0112 2024-11-04 03:14:17 +05:30
parent 5ebcf72b1f
commit 0cc2998922
6 changed files with 1390 additions and 22 deletions

View File

@ -14,27 +14,11 @@ using namespace std;
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
// if(argc != 3) if(argc != 3)
// { {
// cout << "usage: ./a.out <path-to-original-image> <path-to-transformed-image>\n\n"; cout << "usage: ./a.out <path-to-original-image> <path-to-transformed-image>\n\n";
// exit(0); exit(0);
// } }
// auto startread = chrono::high_resolution_clock::now();
// struct image_t *input_image = read_ppm_file(argv[1]);
// auto endread = std::chrono::high_resolution_clock::now();
// auto startsmooth = chrono::high_resolution_clock::now();
// struct image_t *smoothened_image = S1_smoothen(input_image);
// auto endsmooth = std::chrono::high_resolution_clock::now();
// auto startdetail = chrono::high_resolution_clock::now();
// struct image_t *details_image = S2_find_details(input_image, smoothened_image);
// auto enddetail = std::chrono::high_resolution_clock::now();
// auto startsharp = chrono::high_resolution_clock::now();
// struct image_t *sharpened_image = S3_sharpen(input_image, details_image);
// auto endsharp = std::chrono::high_resolution_clock::now();
int pipe1[2]; int pipe1[2];
int pipe2[2]; int pipe2[2];

View File

@ -1,4 +1,4 @@
SHMDIR = sharedMemory SHMDIR = shm
SHRPDIR = sharpener SHRPDIR = sharpener
THRDDIR = threads THRDDIR = threads
PIPDIR = pipes PIPDIR = pipes

1384
lab4/src/output_part2_2.ppm Normal file

File diff suppressed because one or more lines are too long