1. 21 Jun, 2018 27 commits
  2. 31 Jan, 2018 1 commit
  3. 18 Jan, 2018 1 commit
  4. 16 Nov, 2017 1 commit
  5. 02 Oct, 2017 1 commit
  6. 28 Dec, 2016 1 commit
  7. 23 Dec, 2016 1 commit
    • Simon Morlat's avatar
      improvements in media codec support. · c675c3b7
      Simon Morlat authored
      This fixes the following (at least):
      - encoder is instanciated first, which is better because there are devices that can't instanciate both hardware encoder and decoder at the same time, the second one be forcibly a software fallback
      - encoder is reset() upon device rotation, because some encoders don't accept a reconfiguration otherwise
      - decoder is reset() only if flush() doesn't work
      - fixes the lack of use of 'offset' parameter in MediaBufferInfo provided by the encoder - could lead in outputing corrupted h264 bitstream.
      - use getInputBuffer() and getOutputBuffer() instead of deprecated getInputBuffers() and getOutputBuffers()
      
      Lots of cleanups and clarification, and new debug logs.
      c675c3b7
  8. 22 Dec, 2016 1 commit
  9. 14 Dec, 2016 1 commit
  10. 12 Dec, 2016 1 commit
    • Simon Morlat's avatar
      Refactoring and fixes in MediaCodec. · e5a2292e
      Simon Morlat authored
      This fixes:
      - broken encoding in 640x480 on moto g2 (image size in bytes wasn't computed correctly)
      - decorelate input and output buffer handling in process methods (improves latency)
      - fixes a bug in the decoder where two or more frames could be agregated by mistake if one of them was corrupted.
      
      This rework also adds better error handling.
      e5a2292e
  11. 24 Nov, 2016 4 commits