1. 25 Jan, 2017 1 commit
  2. 09 Sep, 2016 1 commit
  3. 17 Jul, 2016 3 commits
  4. 28 Jun, 2016 1 commit
  5. 27 Jun, 2016 1 commit
  6. 02 Apr, 2016 1 commit
    • Clément Bœsch's avatar
      lavc/ccaption_dec: remove usage of avctx->time_base · d8620158
      Clément Bœsch authored
      lavc/utils already rescales avpkt->pts to sub->pts in AV_TIME_BASE_Q
      before calling the decode callback. This prevents from rescaling again
      into the decoder, and avoid the use of avctx->time_base which will
      disappear in the incoming codecpar merge.
      
      This commit also replaces the use of "20 centisecond" (ass time base)
      with "200 ms".
      d8620158
  7. 26 Feb, 2016 2 commits
  8. 17 Feb, 2016 2 commits
  9. 19 Jan, 2016 1 commit
  10. 14 Jan, 2016 4 commits
    • Aman Gupta's avatar
      lavc/ccaption_dec: clear all unused rows during rollup · 3a0e5cfc
      Aman Gupta authored
      Sometimes rollup captions can move around the screen. This fixes "ghost"
      captions from below the current rollup area from continuing to be
      captured when a rollup moves higher up on the screen.
      3a0e5cfc
    • Aman Gupta's avatar
      lavc/ccaption_dec: clean up whitespace · 9027806e
      Aman Gupta authored
      9027806e
    • Aman Gupta's avatar
      lavc/ccaption_dec: implement real_time option · 5c041e2c
      Aman Gupta authored
      This new mode is useful for realtime decoding of closed captions so they
      can be display along with mpeg2 frames.
      
      Closed caption streams contain two major types of captions:
      
      - POPON captions, which are buffered off-screen and displayed
        only after EOC (end of caption, aka display buffer)
      
      - PAINTON/ROLLUP captions, which are written to the display as soon as
        they arrive.
      
      In a typical real-time eia608 decoder, commands like EOC (end of
      caption; display buffer), EDM (erase display memory) and EBM (erase
      buffered memory) perform their expected functions as soon as the
      commands are processed. This is implemented in the real_time branches
      added in this commit.
      
      Before this commit, and in the !real_time branches after this commit,
      the decoder cleverly implements its own version of the decoder which is
      specifically geared towards buffered decoding. It does so by actively
      ignoring commands like EBM (erase buffered memory), and then re-using
      the non-display buffer to hold the previous caption while the new one is
      received. This is the opposite of the real-time decoder, which uses the
      non-display buffer to hold the new caption while the display buffer is
      still showing the current caption.
      
      In addition to ignoring EBM, the buffered decoder also has custom
      implementations for EDM and EOC. An EDM (erase display memory) command
      flushes the existing contents before clearing the screen, and EOC
      similarly always flushes the active buffer (the previous subtitle)
      before flipping buffers.
      5c041e2c
    • Aman Gupta's avatar
      lavc/ccaption_dec: flush context on seek · 260e3687
      Aman Gupta authored
      260e3687
  11. 10 Jan, 2016 2 commits
  12. 09 Jan, 2016 17 commits
  13. 08 Jan, 2016 4 commits