diff options
author | Yunqing Wang <yunqingwang@google.com> | 2011-02-03 05:44:57 -0800 |
---|---|---|
committer | Code Review <code-review@webmproject.org> | 2011-02-03 05:44:57 -0800 |
commit | a87031562964e2418e791d40d6736f4d2922d90b (patch) | |
tree | 29f8e1b9dc1beaab7089cf076da6933127b6c7c4 /vp8/encoder/onyx_int.h | |
parent | a5ecaca6a79798008975ce84fd53303721642248 (diff) | |
parent | 385c2a76d151245568b42b3a4efd69fe405a2d01 (diff) | |
download | libvpx-a87031562964e2418e791d40d6736f4d2922d90b.tar libvpx-a87031562964e2418e791d40d6736f4d2922d90b.tar.gz libvpx-a87031562964e2418e791d40d6736f4d2922d90b.tar.bz2 libvpx-a87031562964e2418e791d40d6736f4d2922d90b.zip |
Merge "Improved encoder threading"
Diffstat (limited to 'vp8/encoder/onyx_int.h')
-rw-r--r-- | vp8/encoder/onyx_int.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 7618a0a3d..4d8f3ec61 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -191,11 +191,8 @@ typedef struct typedef struct { MACROBLOCK mb; - int mb_row; - TOKENEXTRA *tp; int segment_counts[MAX_MB_SEGMENTS]; int totalrate; - int current_mb_col; } MB_ROW_COMP; typedef struct @@ -593,7 +590,8 @@ typedef struct signed char *cyclic_refresh_map; // multithread data - int current_mb_col_main; + int * mt_current_mb_col; + int mt_sync_range; int processor_core_count; int b_multi_threaded; int encoding_thread_count; @@ -606,8 +604,8 @@ typedef struct #if CONFIG_MULTITHREAD //events - sem_t *h_event_mbrencoding; - sem_t h_event_main; + sem_t *h_event_start_encoding; + sem_t h_event_end_encoding; #endif TOKENLIST *tplist; |