1. 15 Mar, 2023 1 commit
  2. 14 Mar, 2023 2 commits
  3. 09 Mar, 2023 2 commits
    • Moto Hira's avatar
      Refactor StreamReader - let StreamProcessor own codec context (#3157) · a8f4e97b
      Moto Hira authored
      Summary:
      Pull Request resolved: https://github.com/pytorch/audio/pull/3157
      
      AVCodecContext plays central role in decoding and encoding.
      Currently in StreamReader, the object is owned inside of Decoder class
      and it's not accessible from other objects.
      
      This commit move the ownership of AVCodecContext out of Decoder to
      StreamProcessor class so that other components can check access its field.
      
      Also, the Decoder class, which is super thin wrapper around AVCodecContext
      object, is now absorbed to StreamProcessor class.
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D43924664
      
      fbshipit-source-id: e53254955d9ce16871e393bcd8bb2794ce6a51ff
      a8f4e97b
    • Moto Hira's avatar
      Remove private helper methods from StreamReader (#3156) · 430dd17c
      Moto Hira authored
      Summary:
      Pull Request resolved: https://github.com/pytorch/audio/pull/3156
      
      Remove helper methods that are not worthy of being private method
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D43919385
      
      fbshipit-source-id: 2ce4efaf5ec9418076e78c7ce1f842e0dd7e3028
      430dd17c
  4. 08 Mar, 2023 3 commits
    • cai525's avatar
      Fix documentation of functional and transforms (#3134) · 85cb37e2
      cai525 authored
      Summary:
      Address #3101. The documentation for `power=1` should represent magnitude instead of energy.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3134
      
      Reviewed By: mthrok
      
      Differential Revision: D43910652
      
      Pulled By: nateanl
      
      fbshipit-source-id: e0768438e819222a5dde6b86c5123ab0e8af59fb
      85cb37e2
    • moto's avatar
      Include format information after filter (#3155) · 146195d8
      moto authored
      Summary:
      This commit adds fields to OutputStream, which shows the result
      of fitlers, such as width and height after filtering.
      
      Before
      
      ```
      OutputStream(
          source_index=0,
          filter_description='fps=3,scale=width=320:height=320,format=pix_fmts=gray')
      ```
      
      After
      
      ```
      OutputVideoStream(
          source_index=0,
          filter_description='fps=3,scale=width=320:height=320,format=pix_fmts=gray',
          media_type='video',
          format='gray',
          width=320,
          height=320,
          frame_rate=3.0)
      ```
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3155
      
      Reviewed By: nateanl
      
      Differential Revision: D43882399
      
      Pulled By: mthrok
      
      fbshipit-source-id: 620676b1a06f293fdd56de8203a11120f228fa2d
      146195d8
    • moto's avatar
      Support overwriting PTS in StreamWriter (#3135) · 8d2f6f8d
      moto authored
      Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/3135
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D43724273
      
      Pulled By: mthrok
      
      fbshipit-source-id: 9b52823618948945a26e57d5b3deccbf5f9268c1
      8d2f6f8d
  5. 07 Mar, 2023 5 commits
  6. 06 Mar, 2023 1 commit
    • Moto Hira's avatar
      Refactor encoding process (#3146) · 8a9ab2a4
      Moto Hira authored
      Summary:
      After the series of simplification, audio/video encoding processes
      can be merged, and it allows the gets rid of the boilerplate code.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3146
      
      (Note: this ignores all push blocking failures!)
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D43815640
      
      fbshipit-source-id: 2a14e372b2cc75db7eeabc27d855a24c3f7d5063
      8a9ab2a4
  7. 04 Mar, 2023 2 commits
  8. 03 Mar, 2023 3 commits
  9. 02 Mar, 2023 5 commits
  10. 01 Mar, 2023 6 commits
  11. 28 Feb, 2023 3 commits
  12. 27 Feb, 2023 5 commits
  13. 25 Feb, 2023 1 commit
  14. 24 Feb, 2023 1 commit