1. 21 Dec, 2021 1 commit
    • Kai Zhang's avatar
      Log io usage (#5038) · da7680f0
      Kai Zhang authored
      * add api usage log for io
      
      * cover VideoReader
      
      * cover c++ APIs
      
      * add api usage log for io
      
      * cover VideoReader
      
      * cover c++ APIs
      
      * add _cpp suffix to c++ APIs
      
      * use new API and change cpp format
      
      * remove _cpp suffix
      
      * adopt new API
      
      * lint
      da7680f0
  2. 17 Sep, 2021 1 commit
  3. 01 Sep, 2021 1 commit
  4. 19 Aug, 2021 1 commit
  5. 28 Jun, 2021 1 commit
  6. 28 Jan, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Add namespace on image C++ codebase (#3312) · 7621a8ed
      Vasilis Vryniotis authored
      * Moving jpegcommon inside cpu implementation
      
      * Adding namespaces on image and moving private methods to anonymous.
      
      * Fixing headers.
      
      * Renaming public image methods to match the ones on python.
      
      * Refactoring to remove the double ifs in common_jpeg.h
      7621a8ed
  7. 27 Jan, 2021 1 commit
  8. 10 Dec, 2020 1 commit
    • Vasilis Vryniotis's avatar
      Restructuring C++ project: (#3146) · 7d831a2f
      Vasilis Vryniotis authored
      Summary:
      * Reduce unnecessary header inclusions in models and io.
      
      * Move autocast to separate folder and hide autograd implementation in an anonymous namespace.
      
      * Moving files in subfolders.
      
      Reviewed By: fmassa
      
      Differential Revision: D25461523
      
      fbshipit-source-id: 756eeb6848aacaa474de4825ed4c1045d17e2cea
      7d831a2f
  9. 07 Oct, 2020 1 commit
  10. 25 Sep, 2020 1 commit
    • 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