Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
packJPG
.gitignore 4 Bytes
CMakeLists.txt 565 Bytes
Makefile 664 Bytes
PhotoCompressArchiver.cc 15.6 KB
PhotoCompressArchiver.hh 2.91 KB
main.cc 4.66 KB

Latest revisions

# Date Author Comment
2423ae90 02/27/2017 01:58 AM David Sorber

I finally found the mystery error that I've been trying to figure out for a while now. The issue was the dreaded too many file descriptors open. This was caused by not closing the pipe() file descriptors from the parent. I also noticed that handing each instance of packjpg the maximum number of files it can take leads to problems. I guess this is also a cause of "too many file descriptors open", so I have limited the number of files handed to each instance of packjpg to 40. The entire program now runs to completion using my Photos library as a (quite large) test data set!

43c9a095 02/22/2017 01:06 AM David Sorber

Fixing the bug I discovered yesterday... I meant to use rfind() instead of find(). I should be ready for another full test.

c8352650 02/21/2017 10:56 PM David Sorber

WIP commit, stashing these debugging changes so I can go mobile.

57e6c22f 02/21/2017 10:19 PM David Sorber

Finished up the changes to make argv a std::vector instead of a regular array. I also implemented the changes to control the size of argv based on system configuration and potentially spawn packJPG multiple times in order to handle a very large number of files. I ran a test on my Photos library and it sort of worked but I ran into some issues that I still need to diagnose.

e0b7f8b9 02/20/2017 12:56 AM David Sorber

WIP commit. I started converting the argv list to a std::vector and adding logic to make sure it does not exceed the maximum argv size.

08cef8d6 02/18/2017 08:42 PM David Sorber

Adding initial CMakeLists.txt. This version only builds PCA, it does not (yet) build packJPG as a subproject.

cd283ecd 02/18/2017 08:33 PM David Sorber

Removing accidentally added object file and adding a .gitignore file to prevent me from accidentally adding another one in the future.

0c2e61fd 02/18/2017 08:29 PM David Sorber

Adding an optimized version of the packJPG source to the source tree for this utility since it is entirely dependent on packJPG. I started to modify the Makefile but really I shoud just use CMake. I'll work on that next.

cec188e4 02/16/2017 09:45 PM David Sorber

Adding some minor edits along with a bit of debug code.

328d0fa5 02/11/2017 10:58 PM David Sorber

Adding proper option parsing and some general improvements. I've added an option for decompression but I still need to implement it.

View revisions

Also available in: Atom