diff options
author | James Zern <jzern@google.com> | 2013-10-16 16:20:01 +0200 |
---|---|---|
committer | James Zern <jzern@google.com> | 2013-10-18 22:16:56 +0200 |
commit | 7563dd4a8dbb16236802d261c0445ab54afb2d3f (patch) | |
tree | b51925de015b5a831e939deac2a814416ad2ace0 /vp9/decoder/vp9_decodframe.c | |
parent | db1045f2c0879c009d424ea28df3601bad65feb3 (diff) | |
download | libvpx-7563dd4a8dbb16236802d261c0445ab54afb2d3f.tar libvpx-7563dd4a8dbb16236802d261c0445ab54afb2d3f.tar.gz libvpx-7563dd4a8dbb16236802d261c0445ab54afb2d3f.tar.bz2 libvpx-7563dd4a8dbb16236802d261c0445ab54afb2d3f.zip |
vp9 dec/com: only update frame counts when necessary
don't update them when frame_parallel_mode is true
Change-Id: I22ff131a6c6eea238415d10b729f195c7d6dc60d
Diffstat (limited to 'vp9/decoder/vp9_decodframe.c')
-rw-r--r-- | vp9/decoder/vp9_decodframe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c index ec310f4ce..960e6f6e8 100644 --- a/vp9/decoder/vp9_decodframe.c +++ b/vp9/decoder/vp9_decodframe.c @@ -303,7 +303,8 @@ static void decode_modes_sb(VP9D_COMP *pbi, int tile_col, else partition = PARTITION_SPLIT; - cm->counts.partition[pl][partition]++; + if (!cm->frame_parallel_decoding_mode) + ++cm->counts.partition[pl][partition]; } subsize = get_subsize(bsize, partition); |