1. 24 Jan, 2022 1 commit
  2. 19 Jan, 2022 1 commit
  3. 17 Jan, 2022 1 commit
    • Daniel Falbel's avatar
      Conditionally include Python in the C++ builds. (#5190) · 5e56575e
      Daniel Falbel authored
      
      
      * Conditionally include Python in the C++ builds.
      
      Added an option `USE_PYTHON` that allows users to decide to link to Python3 or not.
      
      * Also conditionally include this defintion.
      
      * Define `USE_PYTHON` for the Windows builds.
      
      * Remove Python3 reference in CMake test as it's no longer required.
      
      * Accidentally removed the closing > from the decl.
      
      * Also add `USE_PYTHON` when building the separate image library on Windows.
      
      * Also conditionally include this depening on USE_PYTHON.
      
      * Go back to require Python for this example.
      
      * Find Python in the hello world example.
      
      * Add a paragraph documenting the `USE_PYTHON` option.
      Co-authored-by: default avatarPrabhat Roy <prabhatroy@fb.com>
      5e56575e
  4. 30 Dec, 2021 1 commit
    • Prabhat Roy's avatar
      Add video GPU decoder (#5019) · 64d21d12
      Prabhat Roy authored
      
      
      * [WIP] Add video GPU decoder
      
      * Expose use_dev_frame to python class and handle it internally
      
      * Fixed invalid argument CUDA error
      
      * Fixed empty and missing frames
      
      * Free remaining frames in the queue
      
      * Added nv12 to yuv420 conversion support for host frames
      
      * Added unit test and cleaned up code
      
      * Use CUDA_HOME inside if
      
      * Undo commented out code
      
      * Add Readme
      
      * Remove output_format and use_device_frame optional arguments from the VideoReader API
      
      * Cleaned up init()
      
      * Fix warnings
      
      * Fix python linter errors
      
      * Fix linter issues in setup.py
      
      * clang-format
      
      * Make reformat private
      
      * Member function naming
      
      * Add comments
      
      * Variable renaming
      
      * Code cleanup
      
      * Make return type of decode() void
      
      * Replace printing errors with throwing runtime_error
      
      * Replaced runtime_error with TORCH_CHECK in demuxer.h
      
      * Use CUDAGuard instead of cudaSetDevice
      
      * Remove printf
      
      * Use Tensor instead of uint8* and remove cuMemAlloc/cuMemFree
      
      * Use TORCH_CHECK instead of runtime_error
      
      * Use TORCHVISION_INCLUDE and TORCHVISION_LIBRARY to pass video codec location
      
      * Include ffmpeg_include_dir
      
      * Remove space
      
      * Removed use of runtime_error
      
      * Update Readme
      
      * Check for bsf.h
      
      * Change struct initialisation style
      
      * Clean-up get_operating_point
      
      * Make variable naming convention uniform
      
      * Move checking for bsf.h around
      
      * Fix linter error
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      64d21d12
  5. 22 Dec, 2021 1 commit
  6. 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
  7. 16 Dec, 2021 1 commit
  8. 14 Dec, 2021 1 commit
  9. 22 Nov, 2021 1 commit
  10. 11 Nov, 2021 1 commit
  11. 10 Nov, 2021 2 commits
  12. 05 Nov, 2021 1 commit
  13. 03 Nov, 2021 1 commit
    • Bruno Korbar's avatar
      Fast seek implementation (#3179) · 4ccef06c
      Bruno Korbar authored
      
      
      * modify processPacket to support fast seek
      
      * add fastSeek to ProcessPacket decoder definition
      
      * add fastseek flag to DecoderParametersStruct
      
      * add fastseek flag to the process packet call
      
      * no default params in C++ implementation
      
      * enable flag in C++ implementation
      
      * make order of parameters more normal
      
      * register new seek with python api
      
      * [somewhat broken] test suite for keyframes using pyav
      
      * revert " changes
      
      * add type annotations to init
      
      * Adding tests
      
      * linter
      
      * Flake doesn't show up :|
      
      * Change from unitest to pytest syntax
      
      * add return type
      Co-authored-by: default avatarPrabhat Roy <prabhatroy@fb.com>
      4ccef06c
  14. 26 Oct, 2021 3 commits
  15. 25 Oct, 2021 1 commit
  16. 21 Oct, 2021 1 commit
  17. 18 Oct, 2021 1 commit
  18. 27 Sep, 2021 1 commit
  19. 17 Sep, 2021 1 commit
  20. 10 Sep, 2021 1 commit
  21. 06 Sep, 2021 1 commit
  22. 01 Sep, 2021 1 commit
  23. 26 Aug, 2021 2 commits
  24. 19 Aug, 2021 1 commit
  25. 16 Aug, 2021 1 commit
  26. 12 Aug, 2021 1 commit
  27. 04 Aug, 2021 1 commit
  28. 28 Jul, 2021 1 commit
  29. 28 Jun, 2021 1 commit
  30. 24 Jun, 2021 1 commit
  31. 10 Jun, 2021 1 commit
  32. 09 Jun, 2021 2 commits
  33. 08 Jun, 2021 1 commit
  34. 07 Jun, 2021 1 commit
  35. 04 Jun, 2021 1 commit