- 25 Jan, 2017 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 09 Sep, 2016 1 commit
-
-
Michael Niedermayer authored
This is simpler and fixes an out of array read, fixing it with AVBuffers would be more complex Fixes: e00d9e6e50e5495cc93fea41147b97bb/asan_heap-oob_12dcdbb_8798_b32a97ea722dd37bb5066812cc674552.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 17 Jul, 2016 3 commits
-
-
Aman Gupta authored
This ensures that captions are written towards the bottom of the screen when tuning into mid-stream. The row will be reset on the receipt of the next PAC command. Row 10 was chosen as it corresponds to the value of "0" in a PAC (see row_map in handle_pac()). Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Aman Gupta authored
Positioning math is based on the guidelines in https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/608toVTT.html#positioning-in-cea-608Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Aman Gupta authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 28 Jun, 2016 1 commit
-
-
Michael Niedermayer authored
Found-by: ubitux Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Jun, 2016 1 commit
-
-
Aman Gupta authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 02 Apr, 2016 1 commit
-
-
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".
-
- 26 Feb, 2016 2 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- 17 Feb, 2016 2 commits
-
-
Aman Gupta authored
character sets implemented as defined in https://en.wikipedia.org/wiki/EIA-608#Characters
-
Aman Gupta authored
control codes in a cc stream can be repeated, and must be ignored. however, repeated characters must not be ignored. the code attempted to wipe prev_cmd in handle_char to allow repeated characters to be processed, but prev_cmd would previously get reset _after_ handle_char() i also moved the prev_cmd reset out from handle_char() so it can be re-used for special character sets, which _must_ be ignored when repeated.
-
- 19 Jan, 2016 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 14 Jan, 2016 4 commits
-
-
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.
-
Aman Gupta authored
-
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.
-
Aman Gupta authored
-
- 10 Jan, 2016 2 commits
-
-
Clément Bœsch authored
Use monospaced font, and a black box outline.
-
Clément Bœsch authored
-
- 09 Jan, 2016 17 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Aman Gupta authored
-
Aman Gupta authored
-
Aman Gupta authored
-
Aman Gupta authored
unlike reap_screen(), capture_screen() can be used to populate buffer without touching the timestamps. this is useful for upcoming commits which implement a real time caption stream.
-
Aman Gupta authored
-
Aman Gupta authored
-
Aman Gupta authored
-
Aman Gupta authored
-
Aman Gupta authored
-
Aman Gupta authored
Revert "lavc/ccaption_dec: reap_screen() is responsible for clearing output buffer and signaling screen_changed" This reverts commit 53ee84f8.
-
Aman Gupta authored
This reverts commit 26abdd61.
-
Aman Gupta authored
This reverts commit fe225b11.
-
- 08 Jan, 2016 4 commits
-
-
Aman Gupta authored
-
Aman Gupta authored
-
Aman Gupta authored
lavc/ccaption_dec: reap_screen() is responsible for clearing output buffer and signaling screen_changed moves the screen_changed bit and the bprint_clear into reap_screen() so the logic is centralized and callers do not need to touch the bit or the buffer before calling reap_screen()
-
Aman Gupta authored
-