diff options
author | Scott LaVarnway <slavarnway@google.com> | 2015-06-16 05:37:54 -0700 |
---|---|---|
committer | Scott LaVarnway <slavarnway@google.com> | 2015-06-16 05:37:54 -0700 |
commit | b2658ec3218950d1089b0147c2489ee286a0571c (patch) | |
tree | 69c2ff4b7a312f85409348dc3d809372fbe39eb9 /vp9/decoder/vp9_decodeframe.c | |
parent | e67d45d4ce92468ba193288b59093fef0a502662 (diff) | |
download | libvpx-b2658ec3218950d1089b0147c2489ee286a0571c.tar libvpx-b2658ec3218950d1089b0147c2489ee286a0571c.tar.gz libvpx-b2658ec3218950d1089b0147c2489ee286a0571c.tar.bz2 libvpx-b2658ec3218950d1089b0147c2489ee286a0571c.zip |
Eliminated frame_type check in get_partition_probs()
Moved the frame_type check to the tile level and stored
the prob ptr in MACROBLOCKD.
Change-Id: I10b5a4abd58213dc7610e3ade1a1583c01526842
Diffstat (limited to 'vp9/decoder/vp9_decodeframe.c')
-rw-r--r-- | vp9/decoder/vp9_decodeframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_decodeframe.c b/vp9/decoder/vp9_decodeframe.c index 30ca2d08a..9e60215f6 100644 --- a/vp9/decoder/vp9_decodeframe.c +++ b/vp9/decoder/vp9_decodeframe.c @@ -425,7 +425,7 @@ static PARTITION_TYPE read_partition(VP9_COMMON *cm, MACROBLOCKD *xd, int mi_row, int mi_col, BLOCK_SIZE bsize, vp9_reader *r) { const int ctx = partition_plane_context(xd, mi_row, mi_col, bsize); - const vp9_prob *const probs = get_partition_probs(cm, ctx); + const vp9_prob *const probs = get_partition_probs(xd, ctx); const int has_rows = (mi_row + hbs) < cm->mi_rows; const int has_cols = (mi_col + hbs) < cm->mi_cols; FRAME_COUNTS *counts = xd->counts; |