1. 21 Jan, 2016 19 commits
  2. 20 Jan, 2016 1 commit
  3. 19 Jan, 2016 7 commits
  4. 18 Jan, 2016 2 commits
  5. 15 Jan, 2016 1 commit
  6. 13 Jan, 2016 4 commits
  7. 12 Jan, 2016 6 commits
    • Anton Khirnov's avatar
      nvenc: generate dts properly · c59fec78
      Anton Khirnov authored
      When there is a non-zero decoding delay due to reordering, the first dts
      should be lower than the first pts (since the first packet fed to the
      decoder does not produce any output).
      
      Use the same scheme used in mpegvideo_enc (which comes from x264
      originally) -- wait for first two timestamps and extrapolate linearly to
      the past to produce the first dts value.
      c59fec78
    • Anton Khirnov's avatar
      nvenc: fix encoding with B-frames · 9d36cab4
      Anton Khirnov authored
      When B-frames are enabled and the encoder returns success, all currently
      pending buffers immediately become valid and can be returned to the
      caller. We can only return one packet at a time, so all the other
      pending buffers should be transferred to a new 'ready' fifo, from where
      they can be returned in subsequent calls (in which the encoder does not
      produce any new output). This bug was hidden by the incorrect testing of
      the encoder return value (the return value was overwritten before it was
      tested).
      9d36cab4
    • Anton Khirnov's avatar
      nvenc: flush the encoder before closing it, as required by the docs · aac7d6b2
      Anton Khirnov authored
      Otherwise, closing the encoder can crash.
      aac7d6b2
    • Anton Khirnov's avatar
      nvenc: rename encoders · ee359c72
      Anton Khirnov authored
      Change 'nvenc_<codec>' to '<codec>_nvenc', which is consistent with
      other similar decoders and encoders (QSV, MMAL).
      ee359c72
    • Anton Khirnov's avatar
      nvenc: better error handling · 39571e86
      Anton Khirnov authored
      Return proper error codes and print more descriptive error messages.
      39571e86
    • Anton Khirnov's avatar
      movenc-test: stop setting the GLOBAL_HEADER codec flag · 9cce011b
      Anton Khirnov authored
      This test does no encoding, setting the flag was done just to silence
      the warning removed in the previous commit.
      9cce011b