Refactor djpeg.c to provide test interface
djpeg.c contains a standalone program to decode JPEG images. One use
of djpeg is to generate input for libjpeg-turbo unit tests.
This commit refactors djpeg.c to provide an interface to run the
djpeg code programmatically. A gtest wrapper containing JPEG
decompression unit tests will be introduced in a subsequent commit.
Bug: 993876
Change-Id: I22e35b14b14968156dae9c74785c5e95e2c0c3cb
diff --git a/README.chromium b/README.chromium
index b5db62e..1a3fe63 100644
--- a/README.chromium
+++ b/README.chromium
@@ -85,6 +85,7 @@
- Refactor jpegtran.c to provide test interface
- Add input JPEG images for djpeg and jpegtran tests
- Add gtest wrapper for jpegtran tests
+ - Refactor djpeg.c to provide test interface
Refer to working-with-nested-repos [1] for details of how to setup your git
svn client to update the code (for making local changes, cherry picking from