diff options
author | Paul Wilkins <paulwilkins@google.com> | 2011-11-03 16:58:26 +0000 |
---|---|---|
committer | Paul Wilkins <paulwilkins@google.com> | 2011-11-04 10:42:12 +0000 |
commit | a258bba1fb6b93cbaf65b8bf3c892bff9fe9ace2 (patch) | |
tree | 5cffb031ca44a1780187d199112bf59965b5fb39 /vp8/decoder/detokenize.c | |
parent | 2bbde25003f5f67e2d60449712521890cadf7774 (diff) | |
download | libvpx-a258bba1fb6b93cbaf65b8bf3c892bff9fe9ace2.tar libvpx-a258bba1fb6b93cbaf65b8bf3c892bff9fe9ace2.tar.gz libvpx-a258bba1fb6b93cbaf65b8bf3c892bff9fe9ace2.tar.bz2 libvpx-a258bba1fb6b93cbaf65b8bf3c892bff9fe9ace2.zip |
Segment Feature Data Access
No change to functionality or output.
Updates to the segment feature data structure now all done
through functions such as set_segdata() and get_segdata()
in seg_common.c.
The reason for this is to make changing the structures (if needed)
and debug easier.
In addition it provides a single location for subsequent addition
of range and validity checks. For example valid combination of
mode and reference frame.
Change-Id: I2e866505562db4e4cb6f17a472b25b4465f01add
Diffstat (limited to 'vp8/decoder/detokenize.c')
-rw-r--r-- | vp8/decoder/detokenize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/decoder/detokenize.c b/vp8/decoder/detokenize.c index e69a7d34f..f2a5db8f1 100644 --- a/vp8/decoder/detokenize.c +++ b/vp8/decoder/detokenize.c @@ -656,7 +656,7 @@ int vp8_decode_mb_tokens(VP8D_COMP *dx, MACROBLOCKD *xd) if ( segfeature_active( xd, segment_id, SEG_LVL_EOB ) ) { - seg_eob = xd->segment_feature_data[segment_id][SEG_LVL_EOB]; + seg_eob = get_segdata( xd, segment_id, SEG_LVL_EOB ); } type = 3; |