diff options
author | Ritu Baldwa <ritu.baldwa@ittiam.com> | 2019-01-02 11:58:34 +0530 |
---|---|---|
committer | Ritu Baldwa <ritu.baldwa@ittiam.com> | 2019-01-19 10:20:32 +0530 |
commit | 5818014b691c1dc20f3597bbcbf165782b54eacb (patch) | |
tree | d5bbe5ebaebde85b614a467777307260f6ef73a0 /vp9/common | |
parent | 06983668cf41f66765528db044419f954e5a5d64 (diff) | |
download | libvpx-5818014b691c1dc20f3597bbcbf165782b54eacb.tar libvpx-5818014b691c1dc20f3597bbcbf165782b54eacb.tar.gz libvpx-5818014b691c1dc20f3597bbcbf165782b54eacb.tar.bz2 libvpx-5818014b691c1dc20f3597bbcbf165782b54eacb.zip |
Revert "Revert "Add Tile-SB-Row based Multi-threading in Decoder""
This reverts commit 06983668cf41f66765528db044419f954e5a5d64.
Fixes Visual Studio build errors introduced by earlier row mt commit
BUG=webm:1587
Change-Id: I792df86e8254cd6b2a511955b691af619a569cd0
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/vp9_enums.h | 2 | ||||
-rw-r--r-- | vp9/common/vp9_thread_common.c | 6 | ||||
-rw-r--r-- | vp9/common/vp9_thread_common.h | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/vp9/common/vp9_enums.h b/vp9/common/vp9_enums.h index bc665534d..b33a3a297 100644 --- a/vp9/common/vp9_enums.h +++ b/vp9/common/vp9_enums.h @@ -41,6 +41,8 @@ typedef enum BITSTREAM_PROFILE { MAX_PROFILES } BITSTREAM_PROFILE; +typedef enum PARSE_RECON_FLAG { PARSE = 1, RECON = 2 } PARSE_RECON_FLAG; + #define BLOCK_4X4 0 #define BLOCK_4X8 1 #define BLOCK_8X4 2 diff --git a/vp9/common/vp9_thread_common.c b/vp9/common/vp9_thread_common.c index b008ed5cf..00882a5f9 100644 --- a/vp9/common/vp9_thread_common.c +++ b/vp9/common/vp9_thread_common.c @@ -475,6 +475,12 @@ void vp9_set_row(VP9LfSync *lf_sync, int num_tiles, int row, int is_last_row, #endif // CONFIG_MULTITHREAD } +void vp9_loopfilter_job(LFWorkerData *lf_data, VP9LfSync *lf_sync) { + thread_loop_filter_rows(lf_data->frame_buffer, lf_data->cm, lf_data->planes, + lf_data->start, lf_data->stop, lf_data->y_only, + lf_sync); +} + // Accumulate frame counts. void vp9_accumulate_frame_counts(FRAME_COUNTS *accum, const FRAME_COUNTS *counts, int is_dec) { diff --git a/vp9/common/vp9_thread_common.h b/vp9/common/vp9_thread_common.h index b97e9ee13..1a2d79abd 100644 --- a/vp9/common/vp9_thread_common.h +++ b/vp9/common/vp9_thread_common.h @@ -70,7 +70,7 @@ void vp9_loopfilter_rows(LFWorkerData *lf_data, VP9LfSync *lf_sync); void vp9_set_row(VP9LfSync *lf_sync, int num_tiles, int row, int is_last_row, int corrupted); -void vp9_set_last_decoded_row(struct VP9Common *cm, int tile_col, int mi_row); +void vp9_loopfilter_job(LFWorkerData *lf_data, VP9LfSync *lf_sync); void vp9_accumulate_frame_counts(struct FRAME_COUNTS *accum, const struct FRAME_COUNTS *counts, int is_dec); |