History

vp8: fix to address overflow in decoder.

Can't call internal error from the decoder thread. Add vpx_internal_error_info to MACROBLOCKD. When corrupted frame detected, the decoder thread returns to its own context and signal completion of decoding for current frame. The main decoding thread will detect error too and return error code to decoding API call. Each thread will signal end of decoding of the frame. Main thread waits for the signal of all other threads to start decoding next frame. BUG=875626,webm:1496 Change-Id: Icd05fbc558893a4e7d8532c1e7177e7550283a64

Jerome Jiang committed 8 years ago

Commit f3a027a1 parent 97e7da45 files · +55 −11Browse files

Showing the changes to vp8/decoder/decoderthreading.h (1 of 5 files). Show all

Unified · Split

vp8/decoder/decoderthreading.h+1−1
@@ -16,7 +16,7 @@ extern "C" { · 15 unmodified lines
16#endif16#endif
17 17
18#if CONFIG_MULTITHREAD18#if CONFIG_MULTITHREAD
19void vp8mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd);19int vp8mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd);
20void vp8_decoder_remove_threads(VP8D_COMP *pbi);20void vp8_decoder_remove_threads(VP8D_COMP *pbi);
21void vp8_decoder_create_threads(VP8D_COMP *pbi);21void vp8_decoder_create_threads(VP8D_COMP *pbi);
22void vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows);22void vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t