• Edgar Andrés Margffoy Tuay's avatar
    Add encoding and writing JPEG ops (#2696) · 662373f6
    Edgar Andrés Margffoy Tuay authored
    
    
    * Add decode and write JPEG ops
    
    * Fix styling issues
    
    * Use int64_t instead of int
    
    * Use std::string
    
    * Use jpegcommon.h for read_jpeg
    
    * Minor updates to error handling in read
    
    * Include header only once
    
    * Reverse header inclusion
    
    * Update common header
    
    * Add common definitions
    
    * Include string
    
    * Include header?
    
    * Include header?
    
    * Add Python frontend calls
    
    * Use unsigned long directly
    
    * Fix style issues
    
    * Include cstddef
    
    * Ignore clang-format on cstddef
    
    * Also include stdio
    
    * Add JPEG and PNG include dirs
    
    * Use C10_EXPORT
    
    * Add JPEG encoding test
    
    * Set quality to 75 by default and add write jpeg test
    
    * Minor error correction
    
    * Use assertEquals by assertEqual
    
    * Remove test results
    
    * Use pre-saved PIL output
    
    * Remove extra PIL call
    
    * Use read_jpeg instead of PIL
    
    * Add error tests
    
    * Address review comments
    
    * Fix style issues
    
    * Set test case to uint8
    
    * Update test error check
    
    * Apply suggestions from code review
    
    * Fix clang-format
    
    * Fix lint
    
    * Fix test
    
    * Remove unused file
    
    * Fix regex error message
    
    * Fix tests
    Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
    662373f6
CMakeLists.txt 2.67 KB