summaryrefslogtreecommitdiff
path: root/vp8/encoder/ethreading.c
diff options
context:
space:
mode:
authorSuman Sunkara <sunkaras@google.com>2010-08-31 20:43:14 -0400
committerSuman Sunkara <sunkaras@google.com>2010-09-13 10:01:21 -0400
commitbe7e4e854c82bd9e8b5db0586873ea19156cfeef (patch)
treed6b242603f1fd2452107dc1a18cf93831e8a9cc2 /vp8/encoder/ethreading.c
parentf4020e2338a1786b1db0f67075ceb7d9c01be6a3 (diff)
downloadlibvpx-be7e4e854c82bd9e8b5db0586873ea19156cfeef.tar
libvpx-be7e4e854c82bd9e8b5db0586873ea19156cfeef.tar.gz
libvpx-be7e4e854c82bd9e8b5db0586873ea19156cfeef.tar.bz2
libvpx-be7e4e854c82bd9e8b5db0586873ea19156cfeef.zip
Delta updates to segmentation map using left and above contexts.
-Updates by making use of spatial correlation. -Checks if the segment_id is same as above or left context and encodes only the update to the map instead of updating individual segment_ids. Change-Id: Ib861df97e8aa2b37516219eeddcdbaf552b6a249
Diffstat (limited to 'vp8/encoder/ethreading.c')
-rw-r--r--vp8/encoder/ethreading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/ethreading.c b/vp8/encoder/ethreading.c
index a0b50d2a1..116c5cd20 100644
--- a/vp8/encoder/ethreading.c
+++ b/vp8/encoder/ethreading.c
@@ -86,7 +86,7 @@ THREAD_FUNCTION thread_encoding_proc(void *p_data)
for (mb_col = 0; mb_col < cm->mb_cols; mb_col++)
{
int seg_map_index = (mb_row * cm->mb_cols);
-
+
while (mb_col > (*last_row_current_mb_col - 1) && *last_row_current_mb_col != cm->mb_cols - 1)
{
x86_pause_hint();