".github/vscode:/vscode.git/clone" did not exist on "a35bff0170417dbae0cd4e24eb3e36ab4391da3f"
  1. 24 Oct, 2023 1 commit
  2. 11 Oct, 2023 1 commit
  3. 09 Oct, 2023 1 commit
  4. 07 Apr, 2023 1 commit
    • Moto Hira's avatar
      Tweak managed pointer interface (#3249) · ea78478e
      Moto Hira authored
      Summary:
      Pull Request resolved: https://github.com/pytorch/audio/pull/3249
      
      - Put ptr member private so that it's more secure and subclasses won't mess with it
      - Remove unused `reset` method
      - Do not default construct the managed object
        - Introduce helper function for default allocation.
          (for AVFrame and AVPacket as they are allocated in both reader and writer)
        - for others, allocation logics are moved to where it is used.
      - Remove unused `pHWBufferRef` attribute from `StreamWriter`.
      
      Reviewed By: hwangjeff
      
      Differential Revision: D44775297
      
      fbshipit-source-id: ff6db528152cd54c1ae398191110c30b9c1e238c
      ea78478e
  5. 27 Mar, 2023 1 commit
    • Moto Hira's avatar
      Refactor the initialization of EncodeProcess (#3205) · 4eac61a3
      Moto Hira authored
      Summary:
      Pull Request resolved: https://github.com/pytorch/audio/pull/3205
      
      This commit refactors the initialization of EncodeProcess.
      
      Interface-wise, the signature of the constructor of EncodeProcess
      has made simpler just to take rvalues of its components, and the
      initialization of the components have been moved to helper functions.
      
      Implementat-wise, the order that the components are initialized is
      revised, and the source of initialization parameters is also revised.
      
      For example, the original implementation first creates AVCodecContext,
      and passes it around to create the other components. This relied on
      an assumption that parameters AVCodecContext has (such as image size
      and sample rate) are same as the source data. This is not always right,
      and as we will introduce custom filter graph and allow on-the-fly
      transform of rates and dimensions, it will become even less correct.
      
      The new initialization constructs source AVFrame, TensorConverter and
      FilterGraph from source attributes. This makes it easy to introduce
      on-the-fly transform.
      
      Reviewed By: nateanl
      
      Differential Revision: D44360650
      
      fbshipit-source-id: bf0e77dc1a5a40fc8e9870c50d07339d812762e8
      4eac61a3
  6. 27 Feb, 2023 1 commit