1. 11 Jan, 2017 2 commits
  2. 04 Jan, 2017 3 commits
  3. 02 Jan, 2017 1 commit
  4. 28 Dec, 2016 1 commit
  5. 23 Dec, 2016 2 commits
    • 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
    • Simon Morlat's avatar
  6. 22 Dec, 2016 4 commits
  7. 21 Dec, 2016 2 commits
  8. 20 Dec, 2016 4 commits
  9. 16 Dec, 2016 3 commits
  10. 15 Dec, 2016 4 commits
  11. 14 Dec, 2016 4 commits
  12. 13 Dec, 2016 6 commits
  13. 12 Dec, 2016 2 commits
    • 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
    • François Grisez's avatar
      VideoToolboxH264Decoder: reworking · dde1ce08
      François Grisez authored
      1. Ask for hardware acceleration on decoder initialisation.
      2. Add a debug message to know whether hardware acceleration is enabled.
      3. Freeze the decoder on starting.
      dde1ce08
  14. 09 Dec, 2016 2 commits